diff options
Diffstat (limited to 'ansible_collections/dellemc/os10')
802 files changed, 0 insertions, 85849 deletions
diff --git a/ansible_collections/dellemc/os10/.github/workflows/ansible-test.yml b/ansible_collections/dellemc/os10/.github/workflows/ansible-test.yml deleted file mode 100644 index 2b94f4ccf..000000000 --- a/ansible_collections/dellemc/os10/.github/workflows/ansible-test.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: CI -on: -- pull_request - -jobs: - sanity: - name: Sanity (${{ matrix.ansible }}) - strategy: - matrix: - ansible: - - stable-2.10 - - devel - runs-on: ubuntu-latest - steps: - - - name: Check out code - uses: actions/checkout@v1 - with: - path: ansible_collections/dellemc/os10 - - - name: Set up Python 3.6 - uses: actions/setup-python@v1 - with: - python-version: 3.6 - - - name: Install ansible-base (${{ matrix.ansible }}) - run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check - - - name: Install ansible_collections.ansible.netcommon - run: ansible-galaxy collection install ansible.netcommon -p ../../ - - - name: Run sanity tests - run: ansible-test sanity --docker -v --color --python 3.6 diff --git a/ansible_collections/dellemc/os10/.gitignore b/ansible_collections/dellemc/os10/.gitignore deleted file mode 100644 index c6fc14ad0..000000000 --- a/ansible_collections/dellemc/os10/.gitignore +++ /dev/null @@ -1,387 +0,0 @@ - -# Created by https://www.gitignore.io/api/git,linux,pydev,python,windows,pycharm+all,jupyternotebook,vim,webstorm,emacs,dotenv -# Edit at https://www.gitignore.io/?templates=git,linux,pydev,python,windows,pycharm+all,jupyternotebook,vim,webstorm,emacs,dotenv - -### dotenv ### -.env - -### Emacs ### -# -*- mode: gitignore; -*- -*~ -\#*\# -/.emacs.desktop -/.emacs.desktop.lock -*.elc -auto-save-list -tramp -.\#* - -# Org-mode -.org-id-locations -*_archive - -# flymake-mode -*_flymake.* - -# eshell files -/eshell/history -/eshell/lastdir - -# elpa packages -/elpa/ - -# reftex files -*.rel - -# AUCTeX auto folder -/auto/ - -# cask packages -.cask/ -dist/ - -# Flycheck -flycheck_*.el - -# server auth directory -/server/ - -# projectiles files -.projectile - -# directory configuration -.dir-locals.el - -# network security -/network-security.data - - -### Git ### -# Created by git for backups. To disable backups in Git: -# $ git config --global mergetool.keepBackup false -*.orig - -# Created by git when using merge tools for conflicts -*.BACKUP.* -*.BASE.* -*.LOCAL.* -*.REMOTE.* -*_BACKUP_*.txt -*_BASE_*.txt -*_LOCAL_*.txt -*_REMOTE_*.txt - -#!! ERROR: jupyternotebook is undefined. Use list command to see defined gitignore types !!# - -### Linux ### - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* - -### PyCharm+all ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser - -### PyCharm+all Patch ### -# Ignores the whole .idea folder and all .iml files -# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 - -.idea/ - -# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 - -*.iml -modules.xml -.idea/misc.xml -*.ipr - -# Sonarlint plugin -.idea/sonarlint - -### pydev ### -.pydevproject - -### Python ### -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.mo -*.pot - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# pyenv -.python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# celery beat schedule file -celerybeat-schedule - -# SageMath parsed files -*.sage.py - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# Mr Developer -.mr.developer.cfg -.project - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ - -### Vim ### -# Swap -[._]*.s[a-v][a-z] -[._]*.sw[a-p] -[._]s[a-rt-v][a-z] -[._]ss[a-gi-z] -[._]sw[a-p] - -# Session -Session.vim -Sessionx.vim - -# Temporary -.netrwhist -# Auto-generated tag files -tags -# Persistent undo -[._]*.un~ - -### WebStorm ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff - -# Generated files - -# Sensitive or high-churn files - -# Gradle - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake - -# Mongo Explorer plugin - -# File-based project format - -# IntelliJ - -# mpeltonen/sbt-idea plugin - -# JIRA plugin - -# Cursive Clojure plugin - -# Crashlytics plugin (for Android Studio and IntelliJ) - -# Editor-based Rest Client - -# Android studio 3.1+ serialized cache file - -### WebStorm Patch ### -# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 - -# *.iml -# modules.xml -# .idea/misc.xml -# *.ipr - -# Sonarlint plugin -.idea/**/sonarlint/ - -# SonarQube Plugin -.idea/**/sonarIssues.xml - -# Markdown Navigator plugin -.idea/**/markdown-navigator.xml -.idea/**/markdown-navigator/ - -### Windows ### -# Windows thumbnail cache files -Thumbs.db -Thumbs.db:encryptable -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# End of https://www.gitignore.io/api/git,linux,pydev,python,windows,pycharm+all,jupyternotebook,vim,webstorm,emacs,dotenv diff --git a/ansible_collections/dellemc/os10/FILES.json b/ansible_collections/dellemc/os10/FILES.json deleted file mode 100644 index d695485f4..000000000 --- a/ansible_collections/dellemc/os10/FILES.json +++ /dev/null @@ -1,8951 +0,0 @@ -{ - "files": [ - { - "name": ".", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dee254ee9bf55d8338407f70bb76c3880022002a91e1a804274a4cc733b454de", - "format": 1 - }, - { - "name": "tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/target-prefixes.network", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bd6264633dfbb82b3b2abd95db6a4d24ce7c834747e37628ce9453d6b9d642a9", - "format": 1 - }, - { - "name": "tests/integration/targets", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tests/uplink_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/03_uplink_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7ad4c2834dd2c4c1d2bb9027b0d478a33f790f9e62e58bb63a247963acbd6dad", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1464bb853617218ab9d0cc4f4e9cf80806e79d88944d34f1c4552b5188880ba5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/01_uplink_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d0e26f625d487441753393154f4cd2f714697dc87592f824e4ef3c5e13da1013", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/02_uplink_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f5c5d89caa1a4b04bfd0a1259601946bb23eb8a92c2a9669b0f3ca9569f2d139", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e4c03a49f371e8720181c1fa5ef9022129fa1699fef19edb21bf835d08f5d94e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "03a4a548eb2a047077b132d28616752341b92b8e196890b4fb72f4e1bb22a287", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_uplink_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tests/lldp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/03_lldp_options_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7dcd2f26d1ed6ea1e001dd47cc618e79cd5f0a8fa6b3e36a4d7b72bcd3b85515", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/01_lldp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "038c67cb186cb91c026e8c25d136473e00c866947ac6853296a1d49e2850f82e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bf26c47803f887e09c07bf229230916348fced9ebdcd207e0d0a02e5a6c18a16", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/02_lldp_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "27430a9f600b854e9cc8117c8144f7a85b90e19b2d29bed6842a5540250022e1", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1ae1a076a2505f9bcde827427c97e684c12933712e89b2c24de74f7e731147a9", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lldp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tests/vlt_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/01_vlt_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ac384b363d9d08fa48c87835782dcc96fef3069e56cdbabec327e4f6eed2aa96", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "77602a7e28874df30ea877773c60758a42707cdf1b83907beaac668219dd24f4", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/02_vlt_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f24a87e3c9d4519e41dece5bb9b6ead5c5c05996517a1cdbe81665fd4ab2d5da", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/03_vlt_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2f597f1a6b29c4dd82db6fc25e93a661c9caf161cc985c2c4cf9793317fba2d4", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "12d2266c315abb0949d991954df3a2069b04c8ebe600b5794f1e90323c319291", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "79be2281e710189652a5f6a81289a73b20d971498d7fd1fdf9b699415336765f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlt_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tests/ecmp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/01_ecmp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8f8869617be68b7ff69e659cd1d386f6ecd08b779ae05e41e9ac9648ce03388d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/03_ecmp_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "936cdc70b6bdc97f5f5a3da9c54c2511e5476dae19633dad1230597817a6aaba", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/02_ecmp_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "870430b4d011fb3b33683b31414dd43c25ab506e75dd8699888328c7b45ca47b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "47cd3660628331fe5d34423506c9f99c85774ee9c11e4c4386ee84a4099b5cf2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c5b0d42531d4e746162b097cbf4470738bc35be6081ed6cea196537aee66600d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ecmp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tests/system_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic/steps/01_system_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "36d342ffd6d3f9f2b13f830e5f408dff15fe03da2cfdd3cdf340772e9feb7d53", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic/steps/02_system_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "399caf267b75f67d2c4b7d09144b1e540d5892ba25fe2f3ed4d8c52f6e5abca2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic/steps/03_system_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1461afa655d59defdc17d72a7babef798af905ddc4c1f374bf33ef898cac7978", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/templates/system_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "33c84177089c1e5e5b429b2a021508d1967297115f8c41a46bdfb756af09be9f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e25465fa854c72b6fa28bfd685b745696562ac31f1e41dad623228feefb39d23", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_system_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/toplevel_after.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6fe2efa2aa815cd8e3c5ed5bac0a0bf3e52eecc692477321ff8fa00b6fd6a49b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/sublevel_exact.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c0f818940efa77c7436a40f0ac4b817dbdd823f56ce122c996aacf1ecf107b73", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/toplevel.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "20edcd141fa02b787ffaf488fd5ccbbb32f5f136e0cda2421e20544914d41cfa", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/toplevel_before.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4753a3e2722dc38e608f5bbc92755855d4b6e94e0d1fa3f4c9dcf41d1e4d2d7f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/toplevel_nonidempotent.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "64f0bd4b1e4debdda48f1b2231aa87e66183114bd534b02d601d215bcea6011c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/sublevel_block.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a4f0825966fb1a889b2a1115592859be5d1a00bc5b40fd3891fcb798162ebd8b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/sublevel.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "49bbe36eae4a02c056f03644d5b684d5999d808cd3847d6b4b9c73ed9d5dfc78", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tests/cli/sublevel_strict.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5be8981c069e5d699a7b11f1b6a002882dc6dadae778f2d594f19ec61bab64d0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tasks/cli.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "046c1f590ecbc9ebc6891a7a266dd61ebc350fee85d1d5e1d4eed2ec013f095f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ac196e55bc80cba08a1cadef71a151160e493ce9cb00cb3ae12e88cf83664c47", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_config/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tests/lag_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps/02_lag_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dd124b87cd1413b1d35a8ade7f7d9e8243db707998f13560931fb02c5354623e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps/03_lag_options_reset.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bc48f14b613ede66352421b7b1c0a7a2eeef0f41c174c3de4e3e55f2b02808de", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps/01_lag_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e5f7d115aa8f99c563a03357e21947e12a1040233554d57655bbc9cd7046035c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps/04_lag_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c3fad9175702557fd1f2ad02c973b55ec61c313dfdf19a4684b383aeefa5f092", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/templates/lag_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e73c08ff1c788caf128298f7483d6796194d2bed998af5849ba1920c05d1b5b5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d9ab3e363710d250c9fd7ee5da92bfad54e0712ac687a83a2a71d21fea615190", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_lag_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tests/logging_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/01_logging_enable.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8963a603439108496f3ecfcd6eaffeaf0dd8c2c1571176acb93670bb058596a8", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/04_logging_server_add.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "cd1a483a4fe6caca31a171b7b5cdd8a137469c7589ac1f6da10e9844c380c619", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/02_logging_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a56287580c306b275be51d53e9bee0d46d348e0d6b6897bed9347be5ff2396e5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4453291b55d2727d39fa686c78b7219de9715e5628740856d87ca5bf566f87c5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/03_logging_disable.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6457fe1c0aa31d88098e5501597a708139f0fe656caad2f4f528782809798e4c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/templates/logging_basic/steps/05_logging_server_del.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e1f5a117dd578a05d487d512f0bf7d79b4ad9d89c6c01fdf6ed633b9ce330126", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be824897c97b322e7e95483a7a976f30144bb5c0dd92d784763ccacc7e8e8ef5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_logging_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli/output.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9404404f4797bca49ffca7a124c7c2d05a261b93a4e889bc519963321f747d7e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli/contains.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c64d46fd01e6afdb612effe95fd2fbdb9d169fdd8ffa61bfc8f887b24f6a1c1c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli/timeout.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba6c7a58f08497d49fa11e30c572763d6a4c64fbda0f4b5c7970462ef6c173ad", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli/bad_operator.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "57c45cd1008cda243635c2512d803fd40aff6eab6d48d0f3669d939a6aa1237d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tests/cli/invalid.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3c9ffb27c38e0c69998113c11d06b69534f184ab355b252c100089f998d8c5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tasks/cli.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9ee0b5ac71e5a1585eb464148138380f40e591e6c8365462bc4d54ee40296927", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ac196e55bc80cba08a1cadef71a151160e493ce9cb00cb3ae12e88cf83664c47", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_command/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tests/acl_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/04_acl_suboptions_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "70f29afff510ae18a5cd6b97ecdf75668764347523c15da6c68566ec45d3c6ec", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/03_acl_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "64b4b3d366d4c93405bc376c8876f64e904ac0f4ee50b8252607b44d64d26d29", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/07_acl_stateless.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "94291d22d4b2739c0a3f6722cc00c56a67851411d7f7b720901cbd11227e204d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/05_acl_suboptions_stateless.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8259bf1f41818cbd1b9d6a9ed594b9477507ddaf24a19b215bcaa95020b94339", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/06_acl_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "66730263cd92a99847b1a2c442f018ef44cfd0f54bf32ac7eb5c3212b54a292a", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/02_acl_stage.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "45e939f49ae0073d331b3c194aee32057f2dffc9dd87c005e9893a7306c01043", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/01_acl_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "271e90fed1f6a0d182d068ef9f1380b2954f24a562478dfcd51395421e01030f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/templates/acl_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a76bb998f3b124077f9a276cf43d4a84d9b3e53b470b871cfc9cfced9587ce90", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0890b6de50982637140d3c5ebfd589418877b7ec2365d2e3032536ff05fadac4", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_acl_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tests/interface_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/06_interface_vlan.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b89b57c196502b4db8b96eded2c15962b8262605c0b576567f9aefa2100ac59a", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/03_interface_static_ip.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "89a8788a11b9a1731059404bc4bffb93a9dfc9548597e93bbde4f6a17e8346ca", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/07_interface_range.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b26d1cdacc6e8890a737c338365787b599fd3020b07ea78c07c2beb860818aa", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/05_interface_switchport.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "34507f8d30ed8d6627ac1bda49fe4498ebcbfc9853b7f88566945b0f81ea03a4", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/04_interface_flowcontrol.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bc05af4226f3fb99f4fa76d99fd984bfad995ce4fbbd6a9e15e428271208ef7b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/01_interface_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "25bb95a1293563e7ed1f8cf1897431c31dc20560ad1c4cbc27337db4207c7d3a", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/02_interface_dynamic_ip.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2b03f32aa29954fb19a74f90669d8a77780dcb5e21353f80fd54512d01ffe0f9", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/templates/interface_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b0c8cf327b741e2c8ebaa8794db305463aa1e2bd1e703688c00270782c099443", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1e8d5c87d1efce5c559048284e61b672513a60c885e81fba37781a4a9317988b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_interface_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tests/aaa_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/05_aaa_stateless.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b9776c13eeec76aea6d785ac8302f71bc0a6a51f3d485fcc04ef89f58fc7830", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/04_aaa_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb6d5f9175d1291be9481a1b15573d5d58496c4c6e9d3ed11cf7aee1fd0c61f4", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/01_aaa_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0e18d086b11fe776c0fb3214d8c44b86029cc4754dfdf6d44cf5cafa65579680", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/02_aaa_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f3ee9a76bfcea7eabefde1ebc62545190df51ae77e021897a30d362d4777183c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/03_aaa_empty_string.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f5890a7ed5a38cb9a39822c7ce2508043c0a3ab22652f5a2aec83ac79432a4b0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f40f95d65fc3baee4fa76364b08cebcb8b3d1f8e922fe760b47d5253cea488ab", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fc047a96be30108030f3f11669ef7d444f8992c1f7314ec659be6ca7127cc8cf", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_aaa_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/role_test/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tests/bgp_vrf.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/03_bgp_non_default_vrf_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4cdf73caceefe7198e3aa9d515cb1d782579a383a31a67ddc2639d4e24c5a897", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d3bd502404820f470e59cb02843ca6f4c5dd70d474bdf99ae1f54e26b3aa26f1", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/04_bgp_non_default_vrf_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3990c102131993c5bfcd3375aa0663aaa673e1e08386a12a77a7bd4a9efcf12f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/06_bgp_default_non_default_vrf_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba02d699d915ea12b9060d4aa1cffb6744ace4245ce9cf3da34fd3b68924f730", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/01_bgp_default_vrf_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ab9c96a6bc824e55300b18f849cf38a3af5d64ed782dd7468af4a43d1eea2e8f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/02_bgp_default_vrf_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1ed045f05985fe4a03cfc5d0101eb55a7b9a865841f5b5dc14f81ff2d0aacf11", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "14c77c86c67145581da1148d524a2e417857aed04df4f40ccb2ace9360a755d3", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/05_bgp_default_non_default_vrf_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6713d9ad92f4d351dcb45f4125ad87f6fade7928da824dccfb3bdd906da6061b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8565083e10e769d00d8b324972a505d423dabb85fa95bae0580dbc00ef395dd6", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_bgp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tests/snmp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/02_snmp_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e5cc4372241eb2df4b14f5d4acca951eddce534e4506727c8a923b8da03b89b7", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5083cc81b4bc1e3d57a9d40ce2b7627f183dc713f5da287509c9edc5afc3948b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/01_snmp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "217b588ffda030b76fe4d034748ae9520c5599ab10f4a2408e7694263bf0e517", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/03_snmp_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "031484751006ce7f54eb80cdf76f10aa77caea142ab8584e8f9401cb94dded23", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2d39f9d971d23178c3aea8415b8e3758dc280d0fd6e6c2954d8b76f1d11975bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "30cf1b99dcce1631f708f93b338a5a87ca52a040755529200b99df871f5494e3", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_snmp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tests/vrrp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/04_vrrp_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "41fd286bf325335e0558c55d926c230fb6c88ca184396f7fbce94ac01a645700", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/02_vrrp_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5f9f81b4822104265fba8ddf82705413e4d358f7d3f05316851db6cde31a3129", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "810cc6fb8ef4487a767c4e3761b85a6790bab055883c8bbc96219386cfd1b181", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/03_vrrp_options_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b57bbbda1567a16770400417eea96f1a330c5d84892ed629923b5abbcfaf37bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/01_vrrp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba784953137edd01cb1221d4090234fe9bb7877150397c4d963ed241e5495534", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c9fab029b4805d461a60368e84bbcfde5aada1b7e5f9b225c7801b07759620e6", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "77e81f8cee030414317096006a3fbdf931b560bb9680d496ae9292e54ad1c09d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vrrp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tests/flow_monitor_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "21c67da734056f54f0f661686d32cb70ef1e40462a23c5d1bfda041fa443b47d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/03_flow_monitor_options_default.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "32d91017598fe87187773edc5ec054b3ce252f98772f26a5e438f823c1501c69", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/01_flow_monitor_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1637733203ace9d52bb3e84a800f97f804744559ddac33d40c4324b997826f9f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/02_flow_monitory_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ea0eedfb075fca42a7026b653a9ffee006039de86b0d689efe16aca7f55a90ae", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b44b9d483d108da304de5deba1b3bddf898ea1acf1a53368cf163dbc21044333", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "40e22288d08ed92b3282c053ead73aab881e396a6eefa37f3bb520623107f9f7", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_flow_monitor_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks_old", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks_old/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a1ff989bbc9d899940da328d57ca6a361aae2c0beb1a31eef3e52cb7fc9da0e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tests/users_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates/users_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates/users_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates/users_basic/steps/01_users_add.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "05d4cb24262b361ccf5503e3a851e01ea8e9e749ca4ef9b1f85098c183638ba1", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates/users_basic/steps/02_users_del.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "17fea757e088e8509ec4c02316c74462fef45874ed6f7f40bf342d8dc78dbed8", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/templates/users_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "856c30f658de79f4fd5fa7c97ee33d75572ccb106dc05e546bedb2c9d23fc95d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "22f70a2838c06e331fef2663423ed2d7151dc162903da79d5a031d8daf90c71b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_users_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tests/xstp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/08_xstp_interface_defaults.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6ed3afc848f77dc5bf4645082e764f64e2a46c468e8375905d7df2550f49a4bb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/03_xstp_pvst_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a086d274c7307960594d74bd1343db52aaf5efc732e6df268960f31a8b8ef9a9", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3222eeb3fd8518341ef5ee5f7a487c0788bbe854c92141874826c7327a5f0d25", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/05_xstp_mstp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "513806605be25208e46714482778b8b95e0d87224ecdef69485f92e997ef6a26", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/01_xstp_rstp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f58eb90b9bde477bacb06bde02825150a5db4f1b5155570e99a1f5142eaf9308", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/04_xstp_pvst_defaults.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9c97f697071e92385e9e6830329f2550eae4e5069bdacf55b9c52b3312de803d", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/07_xstp_interface_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3e31a4ea0f664df37e4f6d70fbf845df27f397bfb45383704d6d10ec40419287", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/06_xstp_mstp_defaults.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "453c623503a121c01efc3150a9cf85839e79d940433987b336aa22441d36f64f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8a95acc0962e1c997759874f98f3e8f0c61da997449a74a596d1b64e491563ce", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/02_xstp_rstp_defaults.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8e5f3ea47b47d7c2f3f621420cf8fdb3461965ce6387ea4c08a4278a6df42a2c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bc10529635b27eb3fbb63341bf5d9b601e5077d27fc1a7d9df04c22a49433d6e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_xstp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tests/vlan_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/04_vlan_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "da2cf3e3d67e2d2ee660a478d4de2abb3075d346f83746773e6e644e1894c5d5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/02_vlan_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6f0d54565e30202e99fab5271a25445fd575c5bcf9fa2189adcad456560456f5", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/01_vlan_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c7d018be27caad0ba12b873bea941393124eb882c779a4c2df166739d58fcd59", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/03_vlan_member_port_range.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fc8439541f2b0a111b2261b4dc098c14fc4154534d6d3392bf3f69e39f03a837", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b5843c89738aba44d1ffe89785b1500e0096638583adab6e66191cd4cb6a278c", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e02270afe3b8c27f33e289029e685b17565928ddfc38273bf7af2200c23baf36", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "45e8e08ac1d4dbc419ef2fdff4a2117cb3ee6a1a83e81cca79b99a86657c011b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_vlan_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tests/route_map_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/01_route_map_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e26d9301cc00a368b8ef0ab68fd65bd0eb3876b3c435747772d50f46c21abc14", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/03_route_map_options_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b2503f674bd07f01c1530098917205037b6a07e87a02acaa14a7b629b36fc102", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/02_route_map_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f328017cb2eea83066a992fe86379f12acee5906a14d7f0ff163345d1e5db6c6", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/04_route_map_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3445b062cd7971c48ab9945e5de43d27b78a324797aabdc541a20b72238e0415", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2cb7300c38b7720edfed6beb987fb5545c33923b5886749e72c5413936038207", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7d9f489833fc3c45b9925e75b8d5a1fed9ca67d0a6515bb97e43b5ce6115ffed", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_route_map_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tests/prefix_list_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/03_prefix_list_entry_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9b6614abd2f498fbfaaaab25c150c300d9611ae766db1a97e7538fa54f7b6219", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/04_prefix_list_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a22f6694e88cfb27b23029f8a4afb63449526eaeae292463832df6c7d5efca2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/01_prefix_list_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "278fb587b324a50694295730162e5c811622a28af0391f23497d41efe5b657cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/02_prefix_list_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d7b175087cd7b576713915177cd1c3c28d9ca679f30af7e19cd2965693a486a3", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a22f6694e88cfb27b23029f8a4afb63449526eaeae292463832df6c7d5efca2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0ecb58e50c5fce555b18c49d94fe4fd3dcbd462b0336ec836c66c517b6d10c29", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_prefix_list_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tests/cli", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tests/cli/facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ca0c676c3247ba63fd1a736444d479bbae1132e72e25cb0914510a3febdd03b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tasks/cli.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9ee0b5ac71e5a1585eb464148138380f40e591e6c8365462bc4d54ee40296927", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ac196e55bc80cba08a1cadef71a151160e493ce9cb00cb3ae12e88cf83664c47", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_facts/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tests/qos_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic/steps/01_qos_config.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "25606b78a5f8a7b79e8def63ae12eaff46d736320d09ca635d57def0aea7a1f3", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic/steps/02_qos_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5bfbcb597c7477c68ee508dca873550971e8545cf57afc6120a68d9a521aa0d8", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic/steps/03_qos_unconfig.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f60945c13a7edc8db88fa6f152f97094d3ee6c310566cc15895304903b91497a", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/templates/qos_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dfce41c5684933653d6216ca71bc1ff414126188e973d475d551750c2f89c24f", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "96ec3510b727a3c486a9e29f08ae120bd90bd70f55a5cacb44796ef8eea49bfa", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_qos_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb3b3006684a5349b51efc867c830bb493ca88402b1f02809f3d43464b359ceb", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tests/ntp_basic.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/04_ntp_suboptions_stateless.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1fe912833efabcbf0d06e33c1e13524b0548199f483e274fc1025774826c4ebe", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/02_ntp_update.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0fc716243126e26a45456b49a81aac41405fe6ba2bca6c739b35b497a255bc09", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/03_ntp_suboptions_absent.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c45ca707d76cccebe4198a70c9426cd42847390cae92757aed4fd165f8570f8e", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/01_ntp_configure.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "928ff4f33699b229a59276ceb1f24e5d22446835eb969b58cffe61c009035fc7", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/05_ntp_empty_string.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "de2ae09d153f14f3ee2691e64e441b045e246119169f67b60324b432b6157681", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/setup.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5083cc81b4bc1e3d57a9d40ce2b7627f183dc713f5da287509c9edc5afc3948b", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/teardown.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "778ca7bb8974f2697e4591c0ee0d99e00cc7bba1c7e07a3b54aaffd67ab219ef", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/vars/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0b8378c4f0cb839eb2fc3456cfdf667b1a0856245c9850aee1d2f44a7c8c9d60", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/tests.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4275ab95132034757270704223dfbce8daf66193e54463bf8cb449b360b1bce2", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a2434838959246b514827d405f0f307faff45751efe16078efd3cf605076be88", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/prepare_test_facts.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83aebf2af67b8ad3ab3c60895a86cf0da0dc36ec688aa90bf8734f09bc418919", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/testcase", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_case.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a59bc1b0d37c317d649aec90436db08b5ba30ead32560628dfe4edd9b5aa42a0", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_step.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb7a3f4d7763885ffbc2acdc6ea4fb539ed9980961d8164d68198ae3eb9213bc", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/tasks/testcase/include_os10_role.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ccb3d55f2ffa2f46231b7d698d6fe3be5c1adf9d3d7e987e5f748c4edff655cd", - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/integration/targets/os10_ntp_role/defaults/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032", - "format": 1 - }, - { - "name": "tests/unit", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/unit/modules", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/unit/modules/network", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/os10_module.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e9349583625868b561568aa6b370e5da954e6567baae5206d649fe005b97497b", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/test_os10_facts.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d5adc3e2b16b21d21d73cb8a9cdd0e28eaed0715414ab5d7ffd2cccad3e7bb89", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/test_os10_config.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6c0a64846f3954cea9a644f416bc08b0bf3fde6b097fbf2286aa4c2e4fa65519", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/test_os10_command.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "246875d5c4a286409f2bb523be2f987b7898ef4509fd42a0f11ed32a13274f17", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_system__display-xml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f22f3fe42e53f39403ee015ef68ce551201e6ef6c1a1ae4bc963982c5be7d855", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_version__display-xml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "258f08e34a8dc36e7d5a6c2457526f563172ee3a0ae2f3dd89b93d48d114a883", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_running-config", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e18498e855071e4d4a55d27f71e02cdfc2aee209a9fb1161c0fc260bae9d119c", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_processes_node-id_1__grep_Mem_colon_", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a6dd7743eda61e2a7a4b5baea468a5bd9093790b50004f1d2977db910f65065c", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_version", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "06298058714a4f3e00626004aac888b8cee0e93fc322f78b63902c2ee3daba6e", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/os10_config_config.cfg", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8cfd0377665f893639236d5f87e031a944966b24439fb243962d1c1565069e59", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_lldp_neighbors__display-xml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c4aa2574cf8851166f5d42f53a3c9c4ce4c1c1d42f459d8e4c6f3aa5e8302493", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/show_interface__display-xml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b18e0c951436423f17735b55c4e9db9348402ffd8ec6e384fd929efe88d7386b", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/fixtures/os10_config_src.cfg", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "55739f1fb3c63abe984ffcc2c663d1c66d4c5ad90a05d48ec2bdb2b8da1b8da9", - "format": 1 - }, - { - "name": "tests/unit/modules/network/os10/__init__.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "tests/sanity", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "tests/sanity/requirements.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c8a4ac4bfdef88e75d6e748e35a42fb4915947dfa2b7dd788626fd829600e014", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.11.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb3e67ff678384b46656f54d2d1dac67880f21df825e084da1412582577a6924", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.10.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a36f6c078712863fd489b1811be21c6b23c3f901ad34ad259a93d08985f698a2", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.9.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8ca93887811a83a2df421775191c0b50594520168a8ab9459a43a58b2160a01d", - "format": 1 - }, - { - "name": ".gitignore", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "258e4be3cfda40797fe734b375b6f94c110c9a9bebce196fedce319a457ce720", - "format": 1 - }, - { - "name": "roles", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "563a9cadb1c7ce0ecb1f62f033c3959342805be145dc20f6b1bf81c23b2ed412", - "format": 1 - }, - { - "name": "roles/os10_vrf/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_vrf/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a8d9410432844f8dc85022738544ba585f5913e870a5e01942d96e0e340ed99d", - "format": 1 - }, - { - "name": "roles/os10_vrf/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4b39e5f6d223be657b598c57f645780fc7702ffe172edcc6d54acda11a4897cf", - "format": 1 - }, - { - "name": "roles/os10_vrf/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/templates/os10_vrf.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "efdc1703a845b53bf89516f5c00fdda272125c03826be93f04cf28ced504703e", - "format": 1 - }, - { - "name": "roles/os10_vrf/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "48333a7f4910ad871d4166baf30acc13b4ca8272df8e755cc8ed8d230859ae5e", - "format": 1 - }, - { - "name": "roles/os10_vrf/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "20318378249dcdecd863ac6dbf6e9c974e9405508ef0044fb60a9df87bdfcd6f", - "format": 1 - }, - { - "name": "roles/os10_vrf/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "25b33f208a9b255533b417a2789bc76b7e861b2660d99766a4990c2df201c30a", - "format": 1 - }, - { - "name": "roles/os10_vrf/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "43a4548f4d185e37899418fbd9cb45007f7abd47d9e6c6bd767d5f528e0b7eb2", - "format": 1 - }, - { - "name": "roles/os10_vrf/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_vrf/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrf/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d45c4bfac82a5c80b7b0084b90a3a9c8df9209e02c335987292be4bed9cbd071", - "format": 1 - }, - { - "name": "roles/os10_qos", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "47508b2209d8933ede8aa881d3e42507baf52088fdcf1682dff4cb3dbacd2409", - "format": 1 - }, - { - "name": "roles/os10_qos/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/tests/inventory", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_qos/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6d86ce4aedcadcb72a47078a74734369917f32c3c27c1b6b5e997174fb618bd3", - "format": 1 - }, - { - "name": "roles/os10_qos/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4012c691ed8545d2820f04721035e599d78a0521706aff7fa1d1808627d28d54", - "format": 1 - }, - { - "name": "roles/os10_qos/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/templates/os10_qos.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "04eb355caed6674616fb61d6bd5326a721937c54bdf77a52a90ce0bf69e5b0b5", - "format": 1 - }, - { - "name": "roles/os10_qos/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1af7dfa2b058753cbddd43826c703f09173f4eaa9ba04f7cb4eadcfc5ae0970f", - "format": 1 - }, - { - "name": "roles/os10_qos/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "25451af055cbfa149bbcfb9e931bf6cb33cf3014a2a94e5d7c52cd19f8ba822a", - "format": 1 - }, - { - "name": "roles/os10_qos/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "769984874a273a9eb32760bb64b4cb5da59f4fbe482f24dff3d9f4cb3a6f9a93", - "format": 1 - }, - { - "name": "roles/os10_qos/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f8741408dd745230550168b627a77abfbf367803b5a0e73edf56a337e2a11477", - "format": 1 - }, - { - "name": "roles/os10_qos/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_qos/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_qos/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba51d4193d632320fda2caf2c12cd37c99dd3c2d2b7eb20b802e65caa9c87efa", - "format": 1 - }, - { - "name": "roles/os10_dns", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1d7a878dd74478a8e5a90b8f365f0d158ba08b1044984d6ad9d375314cb25f08", - "format": 1 - }, - { - "name": "roles/os10_dns/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "94f9aebb9791d2731255777fbefe23c60fb22149d6cb6943a4f6929baf4d9689", - "format": 1 - }, - { - "name": "roles/os10_dns/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_dns/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "43934ca8dcf90dbae738eee82b489df8e54d4a897f4f0e3aa7b89512cac2be6f", - "format": 1 - }, - { - "name": "roles/os10_dns/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/templates/os10_dns.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4888c3203fcf4d25339f7d1776d13cc143c516e655af0df26e5d139839d3bb09", - "format": 1 - }, - { - "name": "roles/os10_dns/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a5adc81357a3738e7a94b9e4a6ecd2c784219131ec203bb1bcd305fb472a03ff", - "format": 1 - }, - { - "name": "roles/os10_dns/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "da15b3c7b3ca860fa29c2b18580dad7256546e7fff3d4f60a213050ef38efbd0", - "format": 1 - }, - { - "name": "roles/os10_dns/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "04ee6ff105792050e1812070d4cef75c1e18612e5eab0c7847f1c249598efcc0", - "format": 1 - }, - { - "name": "roles/os10_dns/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "864243055c727f0f5935c1f13bb6f44783890d6762922ea90a88e9eb3ad4a384", - "format": 1 - }, - { - "name": "roles/os10_dns/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_dns/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_dns/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e713093e28077901633582e5023d6f6336be1f394f0b07bdfd484d4539077fdf", - "format": 1 - }, - { - "name": "roles/os10_interface", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "aeddd44f2c7f6d17211606d02555416c6bb3f3319bbff45ea634c665097715fa", - "format": 1 - }, - { - "name": "roles/os10_interface/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_interface/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "13faa3d363b73b65da07280e2d21c0087f8eca07c15491fdacd09c38f2616321", - "format": 1 - }, - { - "name": "roles/os10_interface/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6e8c70ae112f0b6eedd6f7df1ada479e1a35ba8d1b584270dfd2bde6e207fe38", - "format": 1 - }, - { - "name": "roles/os10_interface/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/templates/os10_interface.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0a9feed1029f79dadfa6eb1cc9bcbb39c57bc97190dc82ad61e74ef14ab598ae", - "format": 1 - }, - { - "name": "roles/os10_interface/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d7ac54c9ccb6409b6e8ffd41ffb96db8384a1ff03addf9e25a34e3565fb1fc6d", - "format": 1 - }, - { - "name": "roles/os10_interface/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ecfaae6853318db03899ad122d13731cdb4058ee4e77bb802d64ac0c6ea20824", - "format": 1 - }, - { - "name": "roles/os10_interface/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3e5b8ea5bb8a09389a1eadc1eca701b5e9b0f073f5d748b6f28b4cf1bcf0869c", - "format": 1 - }, - { - "name": "roles/os10_interface/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1db1c2b5ac629c9ea3cc9f1c0fc8d56fa230cc1c8a85a7beb975f01a210aee54", - "format": 1 - }, - { - "name": "roles/os10_interface/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_interface/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_interface/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "75d2a975b644cd7fef6108087c834dd4c144810a9945876f9b979d87fcdb3639", - "format": 1 - }, - { - "name": "roles/os10_prefix_list", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b53872392d389fff12d93f0f89a85893c3a4dff81b7a29cc40072ad487734183", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c5efe4259fe1e8fa9a662aca40abf418b0f48eeeaedf7c59eddd06974f5b1179", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e6e5429b918bcd489a5a07c21f480989d5eb72304eba5f524552b0a899b45fde", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/templates/os10_prefix_list.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7166b7aa4a5eadf5d7036b25ae7e6718b109f909cb768acb963ef6c5346a46bc", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "683ac64d2b9636f2e1469e8d738b88749d6896649b136c62d3c6321512c5a887", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "476f80dc41f83236cc4af3af174451d89d4588cc42ecc1a4e2a3d5b43f63bb3b", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ea5b0afaf9945f59836bedcc4263108995086fd6962443f29658bd8245996c7f", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e9f0a7fc55900b2dd1b724ef42637c401bab31748414f4db0c99c5bc73a1274e", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_prefix_list/meta/.galaxy_install_info", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fff6a8db965bb26187afecc326a56281f74bcde1d5759bedf9874c72aba696fc", - "format": 1 - }, - { - "name": "roles/os10_prefix_list/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a592727b6802b1e47956477d630a6d0f02ac3f38e9ff42e67ff4b00ce553abca", - "format": 1 - }, - { - "name": "roles/os10_system", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c6f9fa3aebc2738e4c3f5f3a49fedfa92575553a0bf93a101a76967bc63954bb", - "format": 1 - }, - { - "name": "roles/os10_system/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_system/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5c174145b3348883c81c119c7e941ad4da952b0d02001f04b80a942108939867", - "format": 1 - }, - { - "name": "roles/os10_system/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "520ed65df1e5f3526bba7d6021312a02df0c259019f0667209d142c2cf43ce67", - "format": 1 - }, - { - "name": "roles/os10_system/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/templates/os10_system.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "57e1e32fffef8663700e790e71277ad0e3b8e263f10d21965bcff7115e56898d", - "format": 1 - }, - { - "name": "roles/os10_system/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "238dcdae07f217c1e64583262f8fe18a6de757c5959172b49784e4183ac44516", - "format": 1 - }, - { - "name": "roles/os10_system/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dff73f186ab1079802c73fef50e8e7d533fcf7aa8517cebb39425d6e2b8a18e4", - "format": 1 - }, - { - "name": "roles/os10_system/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6e1b14922fe9bf4d9ac307185d8dff8eac7d98d2e33c6237a2b08558ced95061", - "format": 1 - }, - { - "name": "roles/os10_system/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "894b1ec35a60fea55d969c548964de6bb89a50cffbb1ac42cbed481768c4f032", - "format": 1 - }, - { - "name": "roles/os10_system/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_system/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_system/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e43a6cce922b7e77005b4331d27fe3cd205617abe34dcbeb34aaf7f0066e1c89", - "format": 1 - }, - { - "name": "roles/os10_template", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9d311ae7470c42f2f31a7d688121e3ba8b240afe5fa917d4ab2b4fe99338055e", - "format": 1 - }, - { - "name": "roles/os10_template/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/tests/group_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/tests/group_vars/all", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b1e93949330f1a344c787df97038cfa6d122285f204fb3a1b6385603c2d248c", - "format": 1 - }, - { - "name": "roles/os10_template/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1c21302855000db5fd5e9f1573fdc03b97a7cbe3392efe3e0013da373dce3596", - "format": 1 - }, - { - "name": "roles/os10_template/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b134978967ac2f8ef1951c1246c196caaba06421ec57bccadb8498514e06c26", - "format": 1 - }, - { - "name": "roles/os10_template/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0e703d610802949e54787230fc461f04ad2a8af5e9e65533c6f53d8ffa19c345", - "format": 1 - }, - { - "name": "roles/os10_template/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_ip_bgp_summary.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6f8b1427d59f64f9f23c9ef60b44e3adc2ad5cdb6af65d169ee3542e3df7a226", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_port-channel_summary.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4be2ecbcaeaf7c87edc4dc1c317b50bc90a11e42f3b06178bd58cf8370f15205", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_spanning_tree_compatibility_mode.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "495588aea4ab674ccef67c158e0688d212af552ae2be73c3133a88cbe138ba1f", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_lldp_neighbors.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "48f9d390a818cb19307f186e715ca09ca0c477666c45e4f95bdc9f00c32d01d7", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_ip_vrf.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bb3661256bf365afd209f1b3cfe63acff96ed605870795452166f0d50359dd3e", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_vlan.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a7b08a9326f7dd8d9a0512cae918f1903a44a55f24e2cf62b8478316fbbc8254", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_vlt_err_disabled_ports.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fb8d12baa8d65787ec6bfe263d8cd67b2b7f8c65332ad49d0ada87e4e7ee1792", - "format": 1 - }, - { - "name": "roles/os10_template/templates/os10_show_ip_interface_brief.template", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "09c504a2eb0e35fe79e85c2d5b9b417b1c5545583a122bd353563fcac6631fc8", - "format": 1 - }, - { - "name": "roles/os10_template/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_vlt_err_disabled_ports.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "943d291b756e2ac2a075a2004a2ddb8caa148f704a632ef75634818e179a7fc6", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_lldp_neighbors.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "65b5436254aaf10a5d77b354cc322a5405cc4c44d7a16fa39aa670b0fabe6afa", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_ip_bgp_summary.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b51a689d0b09d992ad8b492a754d5e7d6af449f9e801c241738362b211438753", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_spanning_tree_compatibility_mode.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1cfbc4e32774b6e1303a25e1a3a56b9eee8bc54daa50bc511d12af3c54985b11", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_ip_vrf.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "72b260949bcfc2535794d50deec940eb04f38f8209a7d965f779d81e582c3ade", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_vlan.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9118d65024264927e657487606ac92a4eaac1a29d14286886f40194053d6d486", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/textfsm.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a76b1f05772eafab2d95e4bc644a314d97a6a727d7ccb85cce45372081e3c98f", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_ip_interface_brief.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3138ce2648d4507a62425dbb76d035083c5bb5310799e619f394b3cc19ff7676", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a25dd113f8bef549d87f0369acf0b80f1dd9dbcb396b1300237f90ba6dcb27fb", - "format": 1 - }, - { - "name": "roles/os10_template/tasks/show_port-channel_summary.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6fc9a394046acaec5d9819cb11311d1d39b11c699313e734748fc802a108b4e4", - "format": 1 - }, - { - "name": "roles/os10_template/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_template/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_template/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be70f3f8008d9eb8f8f6012880e576ab29edd59e1c92698f93109d88d2ecff93", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9d07249dc4347118c841ed0740b1c8eea0351d593f943fdb1922306173842f7e", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2754f0e1d88508b9378acc6c770239fe810d7149765ccde298e9ec2d15359f2e", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8fd54e1550ea6b41b6272e12f8584779ce043ac0e6a4ef2ee44de2136855bbb6", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/host_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/host_vars/site1-spine2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ed1347840622bc1fd1304558157877cfe22064f0e7b697390f14eebf729e002", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/host_vars/site2-spine1", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ed1347840622bc1fd1304558157877cfe22064f0e7b697390f14eebf729e002", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/host_vars/site2-spine2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ed1347840622bc1fd1304558157877cfe22064f0e7b697390f14eebf729e002", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tests/host_vars/site1-spine1", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ed1347840622bc1fd1304558157877cfe22064f0e7b697390f14eebf729e002", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d9a710654050c8ec0ff24355c999cc7d6b472d30059eafacba139853c5e97b6d", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_fabric_summary/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "72f2a96b9a15847e7e948bae69d8318983d42a7e1e14718484d5f060042206cd", - "format": 1 - }, - { - "name": "roles/os10_bfd", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d9155aa75d45da527a150711f44a5d46195a07761fdc2326da9ce389c4f6bac6", - "format": 1 - }, - { - "name": "roles/os10_bfd/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9209c2609e24006f7a95935b3a9c342d776dbe31f537a5f445b9f39c5a7ba8b0", - "format": 1 - }, - { - "name": "roles/os10_bfd/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_bfd/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bae4876627be0da4ae45c11f4e3d14686c98c15ad6ff7c65c95f22a93cbc3998", - "format": 1 - }, - { - "name": "roles/os10_bfd/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/templates/os10_bfd.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8686cc925b9c907512f582c0af0a5e5daff0ea1a9f3818d7f210c2cc3d8b3bc0", - "format": 1 - }, - { - "name": "roles/os10_bfd/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "814fd791e0988bf3397ef69f8f8bd4bf97910fa390f6e9697c2bd8b5cd326457", - "format": 1 - }, - { - "name": "roles/os10_bfd/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "37924af5558f6ca24c1399f212fd0c7de703cbbbe0814cb253cebf09ec03b43c", - "format": 1 - }, - { - "name": "roles/os10_bfd/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dbac54437ce53f90811f0472a8e9f242e17c5cab85fcad5faf818b5e3dc61f8e", - "format": 1 - }, - { - "name": "roles/os10_bfd/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9893b6a378c9bab4d39407e7b9ef878ae7d25ae68134bbc6f4156ed49c682d2c", - "format": 1 - }, - { - "name": "roles/os10_bfd/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_bfd/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bfd/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7f535c91de0a7152f3e8b34e50696e9c5c17b3e0f303e5a0500a7dcf1ad07f1b", - "format": 1 - }, - { - "name": "roles/os10_bgp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3c0330969b4488def090626fd3ca345b0d5fd7d13024b8f7bc5d099a4d61bf5f", - "format": 1 - }, - { - "name": "roles/os10_bgp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_bgp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "11381f54e8ad097f39125218c22a2289cb177f2633a1fd4fe60d877d14075d5a", - "format": 1 - }, - { - "name": "roles/os10_bgp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "829f2f19e06879ef781c9f42fbdac798699b92b0aa4f1fa03c20230707ae63ea", - "format": 1 - }, - { - "name": "roles/os10_bgp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/templates/os10_bgp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "83f1f39f35731290e0c16f9fb4b5f40effc06a6c7148b08d7a18041baa3bc96e", - "format": 1 - }, - { - "name": "roles/os10_bgp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2ce824753ae5e51d5096c4d0330d02c7ba7ee2a4d1e9950557457ede4d51ea79", - "format": 1 - }, - { - "name": "roles/os10_bgp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "554908747a3a38554d8d546ac6df4d952dff072db5e5a6887a0e51d0fe92ffee", - "format": 1 - }, - { - "name": "roles/os10_bgp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d2410d1e75d200951a1a323149e6a4b95cfc6fe198a3f068a20ca9049c353bb0", - "format": 1 - }, - { - "name": "roles/os10_bgp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "18e3284fe021e3ccd315d1ee37fb1e50fff6db3dfb39600d22dd13da0339cad3", - "format": 1 - }, - { - "name": "roles/os10_bgp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_bgp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_bgp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8b2e840c2981c38c49f6c8c729312b412b66b6ca2622bc94e38540d446ccc977", - "format": 1 - }, - { - "name": "roles/os10_vlan", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba6599c1a2ac34d0361638276f081621d8b31823c3fa4d01fe952a469c3a5692", - "format": 1 - }, - { - "name": "roles/os10_vlan/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_vlan/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "90d75c30cf368c94b15f0e67f5dd42bf3be7079727ce68799344fd7fc8f09fed", - "format": 1 - }, - { - "name": "roles/os10_vlan/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a7e6522987551969174daba5973aef288aa6ed91b59855a3406bf2e31ffd6632", - "format": 1 - }, - { - "name": "roles/os10_vlan/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/templates/os10_vlan.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "69a1923fe2d15d97b33d28f5c9dbbe230fc3cf3af741cd98a3ca40410f49c6db", - "format": 1 - }, - { - "name": "roles/os10_vlan/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f6464d917fb54d60e7c03c4f437e12795452246458aa27ea7f674afcdf744c2c", - "format": 1 - }, - { - "name": "roles/os10_vlan/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1e2317f1dad320074b0d71bd2416faefc5007ba40dcd99c196ee79e23cd5ae6c", - "format": 1 - }, - { - "name": "roles/os10_vlan/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5e05831587de755162befd688ae927a8b92504f7d7c4e5cde6ce67cf35f7f980", - "format": 1 - }, - { - "name": "roles/os10_vlan/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fe8c107015a54e155ce06dace6919d89837d025d667cee3dc293ac602b7e9b46", - "format": 1 - }, - { - "name": "roles/os10_vlan/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_vlan/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlan/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8970684379fb0f71b0752e70e3b09791dde1e20117403ff98a06333fce205b3a", - "format": 1 - }, - { - "name": "roles/os10_lag", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "38b04b2c00265af0b32b43f8e0057565e818e088401545600b1476ab6f090fb8", - "format": 1 - }, - { - "name": "roles/os10_lag/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_lag/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fdd9b082fe66bcf825e22a7a2bdb09b5ee000bfca5631a68f97f34bf0dc5e5a9", - "format": 1 - }, - { - "name": "roles/os10_lag/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "42e8ff164312c486ba66a307d8d43c11940ab66a73fda890a316dad2fb49edf9", - "format": 1 - }, - { - "name": "roles/os10_lag/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/templates/os10_lag.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "80d8472ab536a0f16455a593f63ebda55772ee6c9c55ba0f0086f90b79627949", - "format": 1 - }, - { - "name": "roles/os10_lag/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "06492dafca5b9e2d876862aa59bed0855b2a42016f1cf0199846e78d308c90d0", - "format": 1 - }, - { - "name": "roles/os10_lag/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6081a52e02ebdba4b6d50bcf7b939ed072437e0cdbdbf26dbe806e824a03a79", - "format": 1 - }, - { - "name": "roles/os10_lag/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8727a9d0a9b2dfc2123c386c937fa24f137c6f0bad31a0278df0af3eae4b9351", - "format": 1 - }, - { - "name": "roles/os10_lag/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8f80595af9a680584548d1c63a9ec37db0e5d9dc9330824a77640170772ce43c", - "format": 1 - }, - { - "name": "roles/os10_lag/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_lag/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lag/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "596b282692b0c8b54557287c0cac0a30077a34ee1a5f3443cf4e84397750945a", - "format": 1 - }, - { - "name": "roles/os10_ecmp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "48f5c4db66fc2f0b993ee1f4fbd40997a402a2dc43760becb694bee7af60e02e", - "format": 1 - }, - { - "name": "roles/os10_ecmp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_ecmp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "dc8b26d113e94f68344b0a73022ec1b6642bee0fdabbd049400860da31d9b36d", - "format": 1 - }, - { - "name": "roles/os10_ecmp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f5263eac7a34b93e945d4a7703a9fe87f41654453f3b2929583c254c3565967b", - "format": 1 - }, - { - "name": "roles/os10_ecmp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/templates/os10_ecmp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5e8acfc826d6090844b4928084c3710b27fac5075987d2a7647a1bc8210794e3", - "format": 1 - }, - { - "name": "roles/os10_ecmp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ad97aa8409e0c4cf2cc23d2e313e208abf6b21e5eadb23d64f424f64b8307ff0", - "format": 1 - }, - { - "name": "roles/os10_ecmp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "763d31c712a86816eff6be981731088c42da2a5b0852f3f1fe57da56b57d7dc8", - "format": 1 - }, - { - "name": "roles/os10_ecmp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5dac42611a9fa57fa6a0a83cd60637d602055c4ae194635d550fb76f7ebacbb2", - "format": 1 - }, - { - "name": "roles/os10_ecmp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c0321e026416b7fd9c2f88159362e8d1f2b65c41beedb3f168fb92ca45f1b2d0", - "format": 1 - }, - { - "name": "roles/os10_ecmp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_ecmp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ecmp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3e9c053d2bf170109e3fa13aea5ffb03a9db7441584555c8e2c1459027838dc3", - "format": 1 - }, - { - "name": "roles/os10_snmp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8b1ebf6b632207048f02fb33090cd122da7b91f64a0dda9e9ca8d28303dc972c", - "format": 1 - }, - { - "name": "roles/os10_snmp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_snmp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e5d59a283ccc11966a31af2db9d3183d83b78266a28e26b15f976b04c66c3a38", - "format": 1 - }, - { - "name": "roles/os10_snmp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d56b04e4466345436a0cc5a245f7f275ff94faf68fcdad220014a6f92aaffb63", - "format": 1 - }, - { - "name": "roles/os10_snmp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/templates/os10_snmp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "562362465cd1503d084678d505e51c99c039399087f9f5933c9fb1dff5b87a0b", - "format": 1 - }, - { - "name": "roles/os10_snmp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d2ec9577c90e062a77e6462626fbfb81baa3305f5f8626c7361bb8216b02f47c", - "format": 1 - }, - { - "name": "roles/os10_snmp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9c920ee69d360a4c5a573e78c544024df542232ccea968027262ad7158c641ba", - "format": 1 - }, - { - "name": "roles/os10_snmp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c5eb25123570c203b04de08fc2f50a67e1f447b0f91de636915d22948e194732", - "format": 1 - }, - { - "name": "roles/os10_snmp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "49b9ff32e4872ec4027678a862f12bd9f6a78180ba6ad2b5255e60c9521d5beb", - "format": 1 - }, - { - "name": "roles/os10_snmp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_snmp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_snmp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6f3be0e02ccdca4f08555041789a3a607c9fbfefcca1de808ff929d9388bdf10", - "format": 1 - }, - { - "name": "roles/os10_aaa", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7874fbb6486c3ce0f7e13cef3426f5a9941b0017674cc085cef979d511bb31ff", - "format": 1 - }, - { - "name": "roles/os10_aaa/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_aaa/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "66751106dbf88e567300e2b0c835f27fdc1015a2f9da04bb1f22a0c86f4aa41e", - "format": 1 - }, - { - "name": "roles/os10_aaa/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ff5f1b96c5b4ec4a3f9e611de4e239780e7f88b93293fca09ad027129957b22c", - "format": 1 - }, - { - "name": "roles/os10_aaa/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/templates/os10_aaa.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "88e02f764a50d9d5131f21745d8b272717d8036f24b5aba516cee99d60b8138d", - "format": 1 - }, - { - "name": "roles/os10_aaa/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "65d59ffb82e5ebc61e867465058e9d6ae1669f9650498d5d27723dd3b4ae6a62", - "format": 1 - }, - { - "name": "roles/os10_aaa/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7e673f73970ee3ae369f22daa57f0a98574c0068cb8e6c3523dfe633e8be4dd8", - "format": 1 - }, - { - "name": "roles/os10_aaa/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "89cbb0d6f26de9476b2a98ac433755f227dbd7cf1d4458b26f402faafcbb3044", - "format": 1 - }, - { - "name": "roles/os10_aaa/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "873deeb7c99414c615310861f37813e789beb42962a6967c74256cf3a33f15d0", - "format": 1 - }, - { - "name": "roles/os10_aaa/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_aaa/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_aaa/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0370bc97b76c060488b25ad1265ffcad188037ceac6825a22554d9a65cafbb6a", - "format": 1 - }, - { - "name": "roles/os10_logging", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "67358b37eda847a70eca21ede16c1f078989a6ef26bdcb167828592620c06a01", - "format": 1 - }, - { - "name": "roles/os10_logging/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "59b2a3a4d5a95dd0991c773d92efb07e68bdd61da98b63dff97cc50ee751dd6b", - "format": 1 - }, - { - "name": "roles/os10_logging/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4959bb39ef5381cb61c508070e175d9a29649865be616e2557a35591d422a578", - "format": 1 - }, - { - "name": "roles/os10_logging/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9600c0f56aab9908ce0299c93e83503a959564caaf3479c0f28c08323061f511", - "format": 1 - }, - { - "name": "roles/os10_logging/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/templates/os10_logging.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6a49077c07327ca5ce6fe16c4c507b807089af3503aeceb980c7e35ba3e18a18", - "format": 1 - }, - { - "name": "roles/os10_logging/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "cf4eba7564bf3cf20b2a11f28b0829615f2a1b8853ef5f10432e5e9b50b22fe0", - "format": 1 - }, - { - "name": "roles/os10_logging/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b685be74eefc0378442ad4dcd4be13eb1d1549f360ef93d05e2dcd642e6a7fa1", - "format": 1 - }, - { - "name": "roles/os10_logging/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ac88e43708cc564df91c1e8a2ef9f0ee476f891e9a9999cef9896e92bccf3827", - "format": 1 - }, - { - "name": "roles/os10_logging/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5dc2d0ca8bead76638828a9b3b224a4263c4e5d0391990ac876a00d6da638ec2", - "format": 1 - }, - { - "name": "roles/os10_logging/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_logging/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_logging/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "935018e6dd62d4f57fc7e8be1320db76ef26bbb3ab5008bc861c44e50703dc41", - "format": 1 - }, - { - "name": "roles/os10_copy_config", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b7b814ce1af3563e014db3e85d1395bc767682a69f33a6504009cd604d65af5", - "format": 1 - }, - { - "name": "roles/os10_copy_config/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/tests/inventory", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_copy_config/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "16f179b8972b382463445d13f20888fcb5f5980e8b75fea8510d358e7d31355b", - "format": 1 - }, - { - "name": "roles/os10_copy_config/tests/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090", - "format": 1 - }, - { - "name": "roles/os10_copy_config/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/templates/leaf1.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b8eb520d7a9795fe75d13de190e17201d77da82d4f04674e185dd7dfd66ff0d8", - "format": 1 - }, - { - "name": "roles/os10_copy_config/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d8f7b3839a275bb1dda6cc658b7818f060276dbb1297d7ea5927fd33201ef64f", - "format": 1 - }, - { - "name": "roles/os10_copy_config/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "24b3fb3075b12ef503f3c3df760955b01f8fd64d175ca9435c4cff4fc542421d", - "format": 1 - }, - { - "name": "roles/os10_copy_config/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "652608725cb8231e6e56806713e1cd1613fba1240f53702b9bddf31a1aaf1155", - "format": 1 - }, - { - "name": "roles/os10_copy_config/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ee2c451634d02a007d669a1ffaafc9715f4013fcf34efb55c391f1aa76d83b41", - "format": 1 - }, - { - "name": "roles/os10_copy_config/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_copy_config/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_copy_config/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "17a4f025b9e7eda4c229c8b319b2f5e342d00d2314b53fae442b4773ba83f844", - "format": 1 - }, - { - "name": "roles/os10_uplink", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "af218f5633d9ad8970bc83ea4d0112996ea810232a74d35813d31a378d183357", - "format": 1 - }, - { - "name": "roles/os10_uplink/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "174f8113fac66d0c5cb0ea967a222087bb87cbdd53d157ba82224194ed89ebf7", - "format": 1 - }, - { - "name": "roles/os10_uplink/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_uplink/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "606b5622997bdf5ac5a149016a56a7d09d2e1a06ffac37650e683898958e186b", - "format": 1 - }, - { - "name": "roles/os10_uplink/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/templates/os10_uplink.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6a5ef1d9820fe2a91e4bd4b4ae33b436f9e920a5c2354cc38c1c7514cdce7e7f", - "format": 1 - }, - { - "name": "roles/os10_uplink/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8c18562de4e1361b781112f1d25b7085081988ed1c4ef81d4bfc3f7e0de97879", - "format": 1 - }, - { - "name": "roles/os10_uplink/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "70bb18eb36b126dd6d0e08692b8ac60c823da65b388684241d263e966a521adf", - "format": 1 - }, - { - "name": "roles/os10_uplink/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "28fa2ba1a0d18a45d80a2fe56bef42892b653a49c1a9e273a32c66db4b259b10", - "format": 1 - }, - { - "name": "roles/os10_uplink/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a08ced67e2d18f14c3f98a7861e7c1e90676cb98403ff9a194b18841b288632", - "format": 1 - }, - { - "name": "roles/os10_uplink/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_uplink/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_uplink/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e48425fe0a4c069ee2bcd1b326515d3d883156c8c6427ec3acc9145cd194aee0", - "format": 1 - }, - { - "name": "roles/os10_acl", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4902c3d89e393cc4678bbe45f3201578a785441d2e57b71798a4b9169a1035ec", - "format": 1 - }, - { - "name": "roles/os10_acl/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_acl/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "15d359c83967d4c8065ec202d71f08aa9cfb9cb2ea7f8515ab938298cc7176ea", - "format": 1 - }, - { - "name": "roles/os10_acl/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1d1499e88988365d216eea4383d3771a7da6c7808491aedd366a64a2c26b5bd2", - "format": 1 - }, - { - "name": "roles/os10_acl/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/templates/os10_acl.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "82f512798eafa8b85f27f3caeded8da7e66d80c228d9694c9fcbdbb2056b4e87", - "format": 1 - }, - { - "name": "roles/os10_acl/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "32411f8c331dd03641c3843c4e633b9a186917210b3512149a6d67d8bf0ca3ee", - "format": 1 - }, - { - "name": "roles/os10_acl/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7aa31675d890ccb8f2cba267762146a856aa260fa76793226ad6d1018d767706", - "format": 1 - }, - { - "name": "roles/os10_acl/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "62b435c90d0cd1f418a44a14ea7ba9a0e3d6cce0237c404855a09899abbdde78", - "format": 1 - }, - { - "name": "roles/os10_acl/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "600f3b1f85b778b3a28616390bf94bb4cdb87fbf6bd7372680313c6465205450", - "format": 1 - }, - { - "name": "roles/os10_acl/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_acl/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_acl/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "21cc5b51e05746b675b5a608ae85f7995013476dec3e92c2db809665a4aa5441", - "format": 1 - }, - { - "name": "roles/os10_route_map", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6818269013ecdd151788b3dd06bba9bc06123b904efc39f89c9738c0315e14c2", - "format": 1 - }, - { - "name": "roles/os10_route_map/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e94645bfd865f3f6ea64b8444a2a6123d65d6ffe7822eff765531ddf59fe5385", - "format": 1 - }, - { - "name": "roles/os10_route_map/tests/inventory", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_route_map/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8f11741f11a0f817750f2fcf95e5be2131344ee420991fedc314cea9a1e8a044", - "format": 1 - }, - { - "name": "roles/os10_route_map/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/templates/os10_route_map.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "44398b74953c02cc8b8d52f41c6a6d8a00ef3aa5e3a6a4f0944f3eb489570678", - "format": 1 - }, - { - "name": "roles/os10_route_map/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d5202f1d5be26d843f185ad282b2a9c79219f29c3e25bb9142e1c3b6aab7c0d3", - "format": 1 - }, - { - "name": "roles/os10_route_map/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9b5223df0608509782741a0b1b1d620489bfee39a22271879a33be226d563e75", - "format": 1 - }, - { - "name": "roles/os10_route_map/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bc5a3a60138702f492afe0615ad779ada4907a0d291ca6f9cd0db99727d5a835", - "format": 1 - }, - { - "name": "roles/os10_route_map/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "feecce89b8551e332335a6ab8f776b01bbc9a28a1646402ea4df83a78a2e2986", - "format": 1 - }, - { - "name": "roles/os10_route_map/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_route_map/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_route_map/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d27725f7db1d7be5e903da8556375be380be2e292991c95d938dcf4de4dc15fb", - "format": 1 - }, - { - "name": "roles/os10_vlt", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7edcaa0e40c1497e1cec3310108fd578cab638f4d170b06e1c7c94f279e85943", - "format": 1 - }, - { - "name": "roles/os10_vlt/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_vlt/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d0a27dd63de43769b735d5b49bb2c38ff6ceee6044829802eedb26e876c6764d", - "format": 1 - }, - { - "name": "roles/os10_vlt/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f7c495a659acb9a65c70f99751b8c8a93fff3634bab273a9f5fe4a173372884b", - "format": 1 - }, - { - "name": "roles/os10_vlt/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/templates/os10_vlt.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "25e140862387419273a5c85f3c2c28ef342b13d22554027854e6694ab7f676db", - "format": 1 - }, - { - "name": "roles/os10_vlt/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c826942d39bbbe07afa7ce5ec6b25dd1bee3c45973217a9a8f914c61bc15dd1d", - "format": 1 - }, - { - "name": "roles/os10_vlt/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0c99502dbf1431a5fa3b9f6c33bd479eca09dc7c718747b50745904118afff4b", - "format": 1 - }, - { - "name": "roles/os10_vlt/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7084e3f87a0be344172701e0fa030f9739ebb915b6c29e6782044f64b7742348", - "format": 1 - }, - { - "name": "roles/os10_vlt/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "637efe3f2b6ae54f972d9d684751267071fef192150794156b1cf900eb9dd4ba", - "format": 1 - }, - { - "name": "roles/os10_vlt/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_vlt/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vlt/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c086a03ccf6da3e70cb9405ba5fe964a211bcbfc2ebd711ec88fa1de71d76339", - "format": 1 - }, - { - "name": "roles/os10_lldp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a7b3ecc8fb44b6654f82f849ca81d35f554aae9c9d1a668d795b0b697bd1181", - "format": 1 - }, - { - "name": "roles/os10_lldp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_lldp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "67910b8f7cdd4a708e661f8e9a91ef97535ee5bd2361770a356b87a2a441af36", - "format": 1 - }, - { - "name": "roles/os10_lldp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "84a67763842eb34ce0679295153beed4257949d0a4a2b3591eea13e1b640be41", - "format": 1 - }, - { - "name": "roles/os10_lldp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/templates/os10_lldp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1dd15229ab1883772f6bd6e65a9fa564d88b54d3bfd979c937b11ef9e3b22190", - "format": 1 - }, - { - "name": "roles/os10_lldp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c93bc619c8c0fecf9be10e8738df37455d98ce6ea8f99fb5b4866be24075f5b0", - "format": 1 - }, - { - "name": "roles/os10_lldp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0555b321eefc8953cf1654c41798524e402ad24bfe4e55a3ae5f93a6cca95889", - "format": 1 - }, - { - "name": "roles/os10_lldp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a914d650108a7d69cfba2c389021498b44a53e9c963e0d4e2e4f8863f5477a3c", - "format": 1 - }, - { - "name": "roles/os10_lldp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c931d17e150116110599ed116b9e981dcdeaa25c836b8efa7f45f084b770fecb", - "format": 1 - }, - { - "name": "roles/os10_lldp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_lldp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_lldp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "096051fa88a0f1150e45bee7378a41b58710ee89aec049e7368282325db779b1", - "format": 1 - }, - { - "name": "roles/os10_vrrp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8a7753705b354037b6b52c76d086328a60cf18b120f54d509e01a9c7ea4f2431", - "format": 1 - }, - { - "name": "roles/os10_vrrp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_vrrp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "37bcf358ae65745173b3e91dd31f63b92e3180bd680546149c50a24ccfefdfb9", - "format": 1 - }, - { - "name": "roles/os10_vrrp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0e0c9f92417513f3c21cb535c11e39a91156a37b676e9ae02639b54f5bcb9d3b", - "format": 1 - }, - { - "name": "roles/os10_vrrp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/templates/os10_vrrp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ea569e3efbe5591cee54852a1c4e93bdaa54e9affd4126a2c37dcdd228584e48", - "format": 1 - }, - { - "name": "roles/os10_vrrp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f89da38e4c4c6dc6f4fdc65d71e0c326b53e53ab28a342e6d0c4838ecb5a0e14", - "format": 1 - }, - { - "name": "roles/os10_vrrp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1ab26d1ff9cb52daa1da7d36ab72fbd9031c0cee28a4a9f2cd402e3ac61ff9f3", - "format": 1 - }, - { - "name": "roles/os10_vrrp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c31a893d2de4391bab63960327186e0030eb3b50d0d454a202b9ad32bf8c1605", - "format": 1 - }, - { - "name": "roles/os10_vrrp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d7c3d38e722d0113e681e5bf451fdbf787b772038dab654419eab455874e6490", - "format": 1 - }, - { - "name": "roles/os10_vrrp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_vrrp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vrrp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bc6092e9bba6056bce1edf31b3b1d8ddd50562b4595a05b4714364a289fc3f54", - "format": 1 - }, - { - "name": "roles/os10_network_validation", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "de7a336064a9cc726f30e55aa0c8f93426a7a30976ec9f8993268ad433c815d1", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/group_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/group_vars/all", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9783ff2c833041285b826cdd8818ff86e2dd4a036936057c2b786f90c5d94cfd", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "495543a435f037536ce83135c1c057b29dad18496dcec544d3d0d575412f8e57", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "42f12cce1d2096bd6704d0bded92f0f424f20f6f8fb6bfd43f512ea167a3d535", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/host_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/host_vars/site1-spine2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/host_vars/site2-spine1", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/host_vars/site2-spine2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tests/host_vars/site1-spine1", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "be466b34cc9022a3ac02ae77d8b801efc3609a7cb04f1883a4f3ff4f4469fb1f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks/wiring_validation.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "30189cda8538ba54cce476840c54dbd7b65bae20b81fbe38b5cdd490d267121a", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c93acda8436ce1b6b8ae69b6e0856172c1d4442c95ad26510f6b091511463030", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks/mtu_validation.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e88ffb1bdbc1d5111fd4dbcaef9d05122d130f3d92686bc1476cfe8b92d6ed88", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks/bgp_validation.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3f231237fccf6b555cb5d603fa5ecb9a2520046052102546d0a49745c322516f", - "format": 1 - }, - { - "name": "roles/os10_network_validation/tasks/vlt_validation.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fc2caadd4b8c67806553d9a09767879e2705cb87b14561821761170b04aae114", - "format": 1 - }, - { - "name": "roles/os10_network_validation/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_network_validation/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_network_validation/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "15dd45f3c6b3ef0b9a18068409f2fa06e7658ffa36fc536c61272f60cee19e6a", - "format": 1 - }, - { - "name": "roles/os10_xstp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1aa9f3f4225408e0224d825d03529cbf75a5aa95cdb9e2d48fff649122a4d488", - "format": 1 - }, - { - "name": "roles/os10_xstp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "11dc4d3a7f27c9457cb1926ffb4b6941a5698b00693270702b83007f9e6be475", - "format": 1 - }, - { - "name": "roles/os10_xstp/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_xstp/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "cbb0ce314389f1a1c62bd36eed69284476da8bdc35ca9f166e524da51a81bab1", - "format": 1 - }, - { - "name": "roles/os10_xstp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/templates/os10_xstp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "91106569ca0f82c69b3987666f2c0988e065ba8c72e6619f1eea38024d7bb459", - "format": 1 - }, - { - "name": "roles/os10_xstp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d104c9a45496afdc6fc6b1b6d0598bc7ba3fa9490bbbb0729aea0721ad6d9ed1", - "format": 1 - }, - { - "name": "roles/os10_xstp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "93faab9ab389ce95078149d446f7393e2f51b15ae26e4bc9e375b18e8f785ae3", - "format": 1 - }, - { - "name": "roles/os10_xstp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "de9efdcd059596d2c0022a19a60bda4e148339b8903195327c22898b690851bf", - "format": 1 - }, - { - "name": "roles/os10_xstp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3bdd9427e1adf15da19c43299ee9e0a80cb614aa975bda7d26c45d87f3853bfc", - "format": 1 - }, - { - "name": "roles/os10_xstp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_xstp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_xstp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a5ac22166270a0ff74c299d9fc58db9a5775da1c050b2750e21db38e7688f573", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c9fc5caa466c30af8e20e94c890166472ad45e241e5a6c5e5cd8fb8e91789ab5", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tests/inventory", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6acee5a1485b2936d50918c4eeeaf19e935b16a71eb313966613d5f7474af1d6", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tests/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d5cc592c390f2fdb1b4d2522bd9d3ea1ef44c70f3c93b8f21dcccda6dacf8886", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3e87e5811ae377b12e4ab55e05748fd9d633d451d50ddb27b944d35b3391030f", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fae119a8a8b829c96158bb18b129995bbd81bb1f4ce2816a56ebab6e5046dd7b", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0f0fa971f5e8f6afc6354c45a243da50223bc28a3bd23544da6029d0ccf379b0", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f4a1807cbb9bfb1bf7d5236ead8df960f56b308a96c7d427bf9c751f2d59189d", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_image_upgrade/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "600ddfdb6ea8958552d6f3c4883ff14e03a03c5baa74fed28c824c69853a630a", - "format": 1 - }, - { - "name": "roles/os10_vxlan", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d3215dc7ae719682ff7edbfe9ee0dfcabf348cd9a47d59303abb23fa15ac48db", - "format": 1 - }, - { - "name": "roles/os10_vxlan/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "93ecaaa721e06f9dfe6714065578aab69faf978ec3d0a052a65dd42bbe45375d", - "format": 1 - }, - { - "name": "roles/os10_vxlan/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f488468fc00c1ebbcd411bccfb79c4c3f969cb4798f545ff04bed1ff9f060295", - "format": 1 - }, - { - "name": "roles/os10_vxlan/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_vxlan/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/templates/os10_vxlan.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b8c620c88dad78855c1d75470657add6b6945ae5033e7e365f6ca61eabf85cfe", - "format": 1 - }, - { - "name": "roles/os10_vxlan/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7b18d0a5d4f4eb08afb13a90bef216e62f14084a7c15c6fd57b2571d2202c11c", - "format": 1 - }, - { - "name": "roles/os10_vxlan/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "86f729a523490d39e8de987c937683b579d9fc5e2c02aad682fd5144d8da243f", - "format": 1 - }, - { - "name": "roles/os10_vxlan/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2b05d46988f0fe03752627f491afbfaf43beb317b498dbfcc186fd51cf9f116b", - "format": 1 - }, - { - "name": "roles/os10_vxlan/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "04323331ccbbbd6f0ed18972b31c11feef04c2fc82f73c276cf49b4c52bba17d", - "format": 1 - }, - { - "name": "roles/os10_vxlan/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_vxlan/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_vxlan/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "08bd15c1af2e5b93adb0c287cd8dbfb89a99c104330532596905cefd633378a7", - "format": 1 - }, - { - "name": "roles/os10_users", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bdd33c3a3d4970f86670be7d55ae6e36afe1940c2bede9f7a3c3d64f16fb84ff", - "format": 1 - }, - { - "name": "roles/os10_users/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_users/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3cad1a913d91373fb343a45090749edccff3e614d29fc20b2be5dd62f1416839", - "format": 1 - }, - { - "name": "roles/os10_users/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "45cb5340cf0daeaa88ce3ef96d6b2f729a9587614b4f2da6d018c01c7007ed05", - "format": 1 - }, - { - "name": "roles/os10_users/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/templates/os10_users.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2a49fd0f145f2397a5320999f4fd2653d123355bd09b7f7f9fc7b08491530d7f", - "format": 1 - }, - { - "name": "roles/os10_users/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "54960fc84fea4a3ca7b680da71f0caf5673ed6cbfe2848b6896e1e09d80daf78", - "format": 1 - }, - { - "name": "roles/os10_users/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5143d119661a1b293a965db175a3e495924ba56ae668293c393f79803987a9ad", - "format": 1 - }, - { - "name": "roles/os10_users/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d7ab0972fa0d373e24e87fd2a37bf2d364a35d608c968a8ba3855775c96f7025", - "format": 1 - }, - { - "name": "roles/os10_users/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e757c050d438aa41fd3489ca030b2505af98aa7fa58efcb2af15af9e49f86679", - "format": 1 - }, - { - "name": "roles/os10_users/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_users/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_users/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "51e8bbd65c9e3c0392c9cb365413149869fae597d2ed0d2d1f12b87e39f6ed91", - "format": 1 - }, - { - "name": "roles/os10_ntp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c2cbcf9c9aa3c627804600ca4c6c09b75ab55111fac01ecbc3b108690f0f9d8e", - "format": 1 - }, - { - "name": "roles/os10_ntp/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/tests/inventory", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_ntp/tests/test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8a8f0e26fd497d4af28b1f97246262a24e8e890e0b37c6e5045a7e59a75b1027", - "format": 1 - }, - { - "name": "roles/os10_ntp/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bca5f97127de4c4fc5386d8a971e8ce5942b6e1e615eb074a85f84ae3922e2fa", - "format": 1 - }, - { - "name": "roles/os10_ntp/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/templates/os10_ntp.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7b01e6bab24ab07001d0041aec39b960adb7f5ae3380576cbdb4d8c5ead17615", - "format": 1 - }, - { - "name": "roles/os10_ntp/templates/os10_ntp_vrf.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "02bacaed5bb5d10ec65bf0ea092aa908d390c2aed8f33965f3ba5aa534fae551", - "format": 1 - }, - { - "name": "roles/os10_ntp/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b6968045572c03408c0ae667b3e3d4bd618d7e44ef3569dc6afbb2f64c8aed3b", - "format": 1 - }, - { - "name": "roles/os10_ntp/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5e30177d599fcae1cd2a5ae7dbe5edb7ae61b54fe8abc8a4a291f7cb2e99cb04", - "format": 1 - }, - { - "name": "roles/os10_ntp/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7e8c0b69d2ba07f1e7036c37c35e9450cb1a1713f5bf06e67ae55049a47f498e", - "format": 1 - }, - { - "name": "roles/os10_ntp/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba28cab4f617eea38d6a9572d6600b035bf3b0aa6a9ea1f16b89c3bca0bd5fef", - "format": 1 - }, - { - "name": "roles/os10_ntp/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_ntp/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_ntp/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "119e95d884e66b8699ce7cfb245ef9a295d0ad74f611e91bde10b8de1bf6b6c6", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "30e96ae0283581b1dc3af2c83de6d1f3ef986c352b0f1aa30b3bcd84f3e0e82f", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tests/main.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f9521ae72a98e24c998e5ca8b57b37b6387fb46ea98bce475c300f7a998f5713", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e587cf6a0634eb27ebaa0d2b09186c2ab9c218b8691d5343d11a2aff7cb4e806", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f522718931e7b47c3e6d7f02a4c31981aa93f71729415a5a9226b098211fd167", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/templates/os10_flow_monitor.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ce701f3f7435a76af19d25fb2c0aef0629baea31f100fca4ffb2d715fa330cdc", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "da543209c815eaf6a292b7e3ba6b251d12218c7ac85973eeb5f347fc23f38d82", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5c69bd67ade82f83cb462931176842e1c15d45d254ed2867937539fde9240056", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5c4fb0eb22d434434842ef2e9f7a66cd480485a13ddedb7cbe4736776ee2660d", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d75f9ff91119f5b2c00a015c32634aef88d63f56446b8a49611baa94950a7109", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_flow_monitor/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "262699aa3cc3f5ca73c44807c385bafe6ace198d295ae0f4d8174c8432d27a30", - "format": 1 - }, - { - "name": "roles/os10_raguard", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6083750b9289d4ab598aef8b07e4e2460b7c5c1c17e15196fa1389a8346e33a8", - "format": 1 - }, - { - "name": "roles/os10_raguard/tests", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/tests/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2af66e1e4a6ac23b147f9221e9c52e0c1b0756cd9d0acd33ebc6273e94cdcd3f", - "format": 1 - }, - { - "name": "roles/os10_raguard/tests/main.os10.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4249ee5e0837a3608674e0ddf5fe786819ff406046561c36d37faf53835a3c15", - "format": 1 - }, - { - "name": "roles/os10_raguard/tests/test.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "897b50f07fd83fdc9d4af3d1f95736df7de6587ecee7eb99656e896f11e57673", - "format": 1 - }, - { - "name": "roles/os10_raguard/templates", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/templates/os10_raguard.j2", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "45b2a163a3a6f4ed91a04eaf1eaf163744dc521e68bcc652f5b9204c8680ccff", - "format": 1 - }, - { - "name": "roles/os10_raguard/vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/vars/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3d6921abe30008182bc51398fb297b2e3513e74192f97e5425270f274ee10a72", - "format": 1 - }, - { - "name": "roles/os10_raguard/handlers", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/handlers/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5f107b00d4f91ef0488f02bad76bcabf32e37d36ac7dc4b3e13eacd93d7a2ddf", - "format": 1 - }, - { - "name": "roles/os10_raguard/tasks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/tasks/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5076cf62b3808abcd72b0591f6dd79a0edfa2e24506c3c24a54ebeac0b52fc46", - "format": 1 - }, - { - "name": "roles/os10_raguard/defaults", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/defaults/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba3c9242ffb63fbdee8e94263256c4607963147bc30edb716dbbd19760e3a000", - "format": 1 - }, - { - "name": "roles/os10_raguard/LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "roles/os10_raguard/meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "roles/os10_raguard/meta/main.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a865bdbfcce0522277b74b9312d4264b3ed3b692d22a6bffd740a8c8cc021fa4", - "format": 1 - }, - { - "name": "docs", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "docs/os10_bgp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3c0330969b4488def090626fd3ca345b0d5fd7d13024b8f7bc5d099a4d61bf5f", - "format": 1 - }, - { - "name": "docs/os10_image_upgrade.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c9fc5caa466c30af8e20e94c890166472ad45e241e5a6c5e5cd8fb8e91789ab5", - "format": 1 - }, - { - "name": "docs/os10_vrrp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8a7753705b354037b6b52c76d086328a60cf18b120f54d509e01a9c7ea4f2431", - "format": 1 - }, - { - "name": "docs/os10_qos.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "47508b2209d8933ede8aa881d3e42507baf52088fdcf1682dff4cb3dbacd2409", - "format": 1 - }, - { - "name": "docs/os10_logging.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "67358b37eda847a70eca21ede16c1f078989a6ef26bdcb167828592620c06a01", - "format": 1 - }, - { - "name": "docs/os10_vxlan.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d3215dc7ae719682ff7edbfe9ee0dfcabf348cd9a47d59303abb23fa15ac48db", - "format": 1 - }, - { - "name": "docs/os10_uplink.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "af218f5633d9ad8970bc83ea4d0112996ea810232a74d35813d31a378d183357", - "format": 1 - }, - { - "name": "docs/roles.rst", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9f91d993dbc32b3691c9e2f79d51d67eda1493d0f0cea841a3cc2816fe1ca724", - "format": 1 - }, - { - "name": "docs/os10_vlan.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "ba6599c1a2ac34d0361638276f081621d8b31823c3fa4d01fe952a469c3a5692", - "format": 1 - }, - { - "name": "docs/os10_prefix_list.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b53872392d389fff12d93f0f89a85893c3a4dff81b7a29cc40072ad487734183", - "format": 1 - }, - { - "name": "docs/os10_system.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c6f9fa3aebc2738e4c3f5f3a49fedfa92575553a0bf93a101a76967bc63954bb", - "format": 1 - }, - { - "name": "docs/os10_interface.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "aeddd44f2c7f6d17211606d02555416c6bb3f3319bbff45ea634c665097715fa", - "format": 1 - }, - { - "name": "docs/os10_ntp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c2cbcf9c9aa3c627804600ca4c6c09b75ab55111fac01ecbc3b108690f0f9d8e", - "format": 1 - }, - { - "name": "docs/os10_ecmp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "48f5c4db66fc2f0b993ee1f4fbd40997a402a2dc43760becb694bee7af60e02e", - "format": 1 - }, - { - "name": "docs/os10_bfd.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d9155aa75d45da527a150711f44a5d46195a07761fdc2326da9ce389c4f6bac6", - "format": 1 - }, - { - "name": "docs/os10_fabric_summary.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9d07249dc4347118c841ed0740b1c8eea0351d593f943fdb1922306173842f7e", - "format": 1 - }, - { - "name": "docs/os10_vlt.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7edcaa0e40c1497e1cec3310108fd578cab638f4d170b06e1c7c94f279e85943", - "format": 1 - }, - { - "name": "docs/os10_flow_monitor.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "30e96ae0283581b1dc3af2c83de6d1f3ef986c352b0f1aa30b3bcd84f3e0e82f", - "format": 1 - }, - { - "name": "docs/os10_vrf.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "563a9cadb1c7ce0ecb1f62f033c3959342805be145dc20f6b1bf81c23b2ed412", - "format": 1 - }, - { - "name": "docs/os10_xstp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1aa9f3f4225408e0224d825d03529cbf75a5aa95cdb9e2d48fff649122a4d488", - "format": 1 - }, - { - "name": "docs/os10_template.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9d311ae7470c42f2f31a7d688121e3ba8b240afe5fa917d4ab2b4fe99338055e", - "format": 1 - }, - { - "name": "docs/os10_lag.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "38b04b2c00265af0b32b43f8e0057565e818e088401545600b1476ab6f090fb8", - "format": 1 - }, - { - "name": "docs/os10_dns.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1d7a878dd74478a8e5a90b8f365f0d158ba08b1044984d6ad9d375314cb25f08", - "format": 1 - }, - { - "name": "docs/dellemc.os10.os10_config_module.rst", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a6267acb8f9cfb15edcc55f99507216be10e2e434a03c3427f4a5e1aad2b522c", - "format": 1 - }, - { - "name": "docs/os10_snmp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8b1ebf6b632207048f02fb33090cd122da7b91f64a0dda9e9ca8d28303dc972c", - "format": 1 - }, - { - "name": "docs/os10_acl.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4902c3d89e393cc4678bbe45f3201578a785441d2e57b71798a4b9169a1035ec", - "format": 1 - }, - { - "name": "docs/os10_users.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "bdd33c3a3d4970f86670be7d55ae6e36afe1940c2bede9f7a3c3d64f16fb84ff", - "format": 1 - }, - { - "name": "docs/os10_network_validation.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "de7a336064a9cc726f30e55aa0c8f93426a7a30976ec9f8993268ad433c815d1", - "format": 1 - }, - { - "name": "docs/os10_copy_config.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3b7b814ce1af3563e014db3e85d1395bc767682a69f33a6504009cd604d65af5", - "format": 1 - }, - { - "name": "docs/os10_route_map.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6818269013ecdd151788b3dd06bba9bc06123b904efc39f89c9738c0315e14c2", - "format": 1 - }, - { - "name": "docs/dellemc.os10.os10_command_module.rst", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "29c5d8db29a5ff5c8008dc598adca8e4c9d242fddfd9c94ac20bf1c166174dea", - "format": 1 - }, - { - "name": "docs/os10_aaa.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7874fbb6486c3ce0f7e13cef3426f5a9941b0017674cc085cef979d511bb31ff", - "format": 1 - }, - { - "name": "docs/dellemc.os10.os10_facts_module.rst", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8c5627d7d019b5a96cd19c3b494538b54c8571a30678dbe29b1baa53040326bb", - "format": 1 - }, - { - "name": "docs/os10_lldp.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3a7b3ecc8fb44b6654f82f849ca81d35f554aae9c9d1a668d795b0b697bd1181", - "format": 1 - }, - { - "name": "docs/os10_raguard.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "6083750b9289d4ab598aef8b07e4e2460b7c5c1c17e15196fa1389a8346e33a8", - "format": 1 - }, - { - "name": "changelogs", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "changelogs/CHANGELOG.rst", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "96780e8d019276e8fa9c7d937c88a841028c21adb67a02e0e0b239f26c870ace", - "format": 1 - }, - { - "name": "changelogs/config.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b5dbc7f223c6b79feee444ffa052b620913771b52077a69bbe78a93c002ccf67", - "format": 1 - }, - { - "name": "changelogs/changelog.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "573c974da3352bb7318029687993489295ce119ca08138a99d7c1add75f698f4", - "format": 1 - }, - { - "name": ".github", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": ".github/workflows", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": ".github/workflows/ansible-test.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "372cc6f489143cc505aa1b52c38cd04bc4b6487c3ce5bf613e4b3d4e32a053fc", - "format": 1 - }, - { - "name": "plugins", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/doc_fragments", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/doc_fragments/os10.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9cd210947b85bbb3c3270a239d73c3e6fe6a5f0e16bc77326eb179a9486593e8", - "format": 1 - }, - { - "name": "plugins/action", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/action/os10.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8d13cba843ee5563bec94849b9255cab43db98ee3369f553bc360ec3d9070513", - "format": 1 - }, - { - "name": "plugins/action/textfsm_parser.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8e229a5a0eac4493c04425e825ab50945d7eda4a6bee56a3485dea640f7d209b", - "format": 1 - }, - { - "name": "plugins/cliconf", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/cliconf/os10.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2fde5ba9d659d487322a300ecb3a433a5a522c4ec2a5383be1c6a661797ea033", - "format": 1 - }, - { - "name": "plugins/terminal", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/terminal/os10.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9633af38e10311856b00de1aee3be7c95c986fb25e6d20cd7827eaa2614d4974", - "format": 1 - }, - { - "name": "plugins/modules", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/modules/vlt_validate.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a31a1b1341a6cfb695af05233b5d29ef1cef8cc35c945e24b716a7d1445101a2", - "format": 1 - }, - { - "name": "plugins/modules/base_xml_to_dict.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "8ce7d403e2dc3e0090faed6853efcf0c3a7de4ff866d140e51839cf54b80efcf", - "format": 1 - }, - { - "name": "plugins/modules/wiring_validate.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "60306438476482dbf7df288c76a2c5a61a478c4f8e0b99ee2b6218f775153648", - "format": 1 - }, - { - "name": "plugins/modules/os10_command.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "7ee1bda2f8719396ced20d4fae9d3c15536ed0467190260e8870f256926c0454", - "format": 1 - }, - { - "name": "plugins/modules/os10_facts.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5cd81545aafbd4dc8eb8c08f6067c64059385f14521fad36000b755ff54c9089", - "format": 1 - }, - { - "name": "plugins/modules/mtu_validate.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2e8d0d7bceb4b16c36793c20304cb828274c34e82dcbc00eea80feeabb16fc73", - "format": 1 - }, - { - "name": "plugins/modules/show_system_network_summary.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "eb4c713221503a9a726f74a8d2b54b248b345f554bbe271ef513a32c38b4f56a", - "format": 1 - }, - { - "name": "plugins/modules/bgp_validate.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "cae91228b6226f4c6fa5e00b9dba14942075250061f8011ee144a207bb9bddd4", - "format": 1 - }, - { - "name": "plugins/modules/__init__.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "plugins/modules/os10_config.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0693b1edece924d6c8d055acc94e6cc5cb65fcd8b9ea96175fab3257fbbc9c99", - "format": 1 - }, - { - "name": "plugins/module_utils", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/module_utils/network", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "plugins/module_utils/network/os10.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a0827b94850fda014c103f0c9cd3e2e80bab71bce2dfdef7c2224d62f2a1d60d", - "format": 1 - }, - { - "name": "plugins/module_utils/network/base_network_show.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "0f0291c93d3829d2e1c78e1bca681691332e48ca6fb0fabcf1ae35ad378ea89e", - "format": 1 - }, - { - "name": "plugins/module_utils/network/__init__.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "format": 1 - }, - { - "name": "playbooks", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/group_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/group_vars/all", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "602987ea665844bebae77f58df9682a1e015edb5d18b7ea9259a8209dd08994f", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/group_vars/spine.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "9410c561579c34b35fc5239aab55350e3472d93aa0d0cef5dd4438b4b5ced91d", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/datacenter.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "2627623980960381195863f4fee460eec8d778be76a096b54857a06e97df23bd", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d8d7d7db2043af3d64bc829dc8fdb9b6c59826ccf0d75c1de55efc48260c89bb", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1dd91b341f01a3a4f397ef739ca40c87c824d07a39038d8ecf293bed2a2d9b8c", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/leaf4.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "50e9c43b204e412be5cba64f520bbb8bc1d6badfd418729149992494b78cb2ad", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/leaf3.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f749957a827032a0c6077a83d1f709af736596e68ee9e6e33c5ce2abd928db91", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/leaf2.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d8696e7b5d612c1f16cc7a0bdbed960a6258baaade83ff7e6cfa55f2fc100e49", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/spine2.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "f795b650bb0a1b6360bef9a63be4ff553cf0ca4496ccfc5d2783247853ee218a", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/spine1.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "86b4b5ae09553480001d5c459bbbc0c8f188029dfb5f88afdf3e3be6c7466304", - "format": 1 - }, - { - "name": "playbooks/clos_fabric_ebgp/host_vars/leaf1.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "acb008b56cdc437f69f9f95c4cfee68999e573fa6238f91d28597725f7f6f5be", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/datacenter.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "01512d9b68a28d1f437b669edeaa3139209fc605f137b80d9b70c38eda29bf8d", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/README.md", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a4171c46c9d8296384d9f2d944195e4bea20be0eb9d84c759490bf4dfe40ce3c", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/vxlan_evpn_topology.png", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1eb1121f60229ce9d7ffde2625a6d10b3d5bae314f888172bef932a8f1a1713a", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/inventory.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4d7aa907659dffc2df8f9788f353f04081c1853ff959378c4facc618ac1f686c", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/prim-vtep1.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1e581cc10cd5569e8e188acbdee765b32a143f3c517540cbe314c1f99092f8d5", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/sec-vtep1.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e86083141c836c8ea7bc9643cd7f47c5e7241fff2288efa9bac68f24b9d9a53f", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/spine2.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4cb8ed1a4f629eac44ae9577abcf284b918d531b958338fd04a2a42f40488339", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/prim-vtep2.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a1193c59b99f6954c1fe0098d2c31191802bf4ee697d1b3b4c0e240a45e42d9d", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/spine1.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "a6516ef2547d0aaced10ec03e730bebe67f2432f43797d4c2037dbc912544b96", - "format": 1 - }, - { - "name": "playbooks/vxlan_evpn/host_vars/sec-vtep2.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "fe94c0a6f1b5657c1a24373f117a6d71300dfdd2b3b2fcc513df934318e1ff4a", - "format": 1 - }, - { - "name": "LICENSE", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5883eb4c7ece1931e1b25a9071bcbe50c1eaab7b9a38d2515e1b4be29e630fb3", - "format": 1 - }, - { - "name": "meta", - "ftype": "dir", - "chksum_type": null, - "chksum_sha256": null, - "format": 1 - }, - { - "name": "meta/runtime.yml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e89e29376e2d83040beda97f813eadab01df7697a7e9594ca89537d54f95214c", - "format": 1 - } - ], - "format": 1 -}
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/LICENSE b/ansible_collections/dellemc/os10/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/MANIFEST.json b/ansible_collections/dellemc/os10/MANIFEST.json deleted file mode 100644 index 6bed5d7ad..000000000 --- a/ansible_collections/dellemc/os10/MANIFEST.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "collection_info": { - "namespace": "dellemc", - "name": "os10", - "version": "1.1.1", - "authors": [ - "Parameswaran Krishnamurthy <Parameswaran_Krishna@Dell.com>", - "Senthil Ganesan Ganesan <Senthil_Kumar_Ganesa@Dell.com>", - "Shreeja R <Shreeja_R@Dell.com>" - ], - "readme": "README.md", - "tags": [ - "dell", - "dellemc", - "os10", - "emc", - "networking" - ], - "description": "Ansible Network Collection for Dell EMC SmartFabric OS10", - "license": [], - "license_file": "LICENSE", - "dependencies": { - "ansible.netcommon": ">=1.0.0" - }, - "repository": "https://github.com/ansible-collections/dellemc.os10", - "documentation": "https://github.com/ansible-collections/dellemc.os10/tree/master/docs", - "homepage": "https://github.com/ansible-collections/dellemc.os10", - "issues": "https://github.com/ansible-collections/dellemc.os10/issues" - }, - "file_manifest_file": { - "name": "FILES.json", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "afa56fa2200f773fcafd6a3cd52df1affca39c600c356d3bccb09fcc1b92bdfd", - "format": 1 - }, - "format": 1 -}
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/README.md b/ansible_collections/dellemc/os10/README.md deleted file mode 100644 index 942dda9c5..000000000 --- a/ansible_collections/dellemc/os10/README.md +++ /dev/null @@ -1,93 +0,0 @@ -# Ansible Network Collection for Dell EMC SmartFabric OS10 - -### Collection contents -This collection includes Ansible modules, plugins and roles needed to provision and manage Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. Sample playbooks and documentation are also included to show how the collection can be used. - -### Collection core modules - -Name | Description ---- | --- -[os10_command](https://github.com/ansible-collections/dellemc.os10/blob/master/docs/dellemc.os10.os10_command_module.rst)| Run commands on devices running OS10 -[os10_config](https://github.com/ansible-collections/dellemc.os10/blob/master/docs/dellemc.os10.os10_config_module.rst)| Manage configuration on devices running OS10 -[os10_facts](https://github.com/ansible-collections/dellemc.os10/blob/master/docs/dellemc.os10.os10_facts_module.rst)| Collect facts from devices running OS10 - -### Collection roles -These roles facilitate the provisioning and administration of devices running SmartFabric OS10. There are over 30 roles available that provide a comprehensive coverage of most OS10 resources, including *os10_interface*, *os10_acl*, *os10_bgp*, and *os10_vxlan*. The documentation for each role is located at [OS10 roles](https://github.com/ansible-collections/dellemc.os10/blob/master/docs/roles.rst). - -### Sample use case playbooks -This collection includes these sample playbooks that illustrate end-to-end use cases. - -- [CLOS fabric](https://github.com/ansible-collections/dellemc.os10/blob/master/playbooks/clos_fabric_ebgp/README.md) — Example playbook to build a Layer 3 leaf-spine fabric - -- [VXLAN EVPN](https://github.com/ansible-collections/dellemc.os10/blob/master/playbooks/vxlan_evpn/README.md) — Example playbook to build a scale-out leaf-spine topology using VxLAN, BGP EVPN, and symmetric-IRB - -## Installation -Use this command to install the latest version of the OS10 collection from Ansible Galaxy. - - ansible-galaxy collection install dellemc.os10 - -To install a specific version, a version range identifier must be specified. For example, to install the most recent version that is greater than or equal to 1.0.0 and less than 2.0.0. - - ansible-galaxy collection install 'dellemc.os10:>=1.0.0,<2.0.0' - -## Version compatibility -* Ansible version 2.9 or later. -* Python 3.5 or higher, or Python 2.7 - -### Using in Ansible version 2.9 -> **NOTE**: This step is not required for Ansible version 2.10 or later. - -To use this collection in Ansible version 2.9 it is required to set the below environment variable while running the playbook. - - ANSIBLE_NETWORK_GROUP_MODULES=os10 - -It can be set permanently in *ansible.cfg* with variable *network_group_modules* under the *defaults* section. - -**ansible.cfg** - - [defaults] - network_group_modules=os10 - -> **NOTE**: For Ansible versions lower than 2.9, use the legacy [dellos10 modules](https://ansible-dellos-docs.readthedocs.io/en/latest/modules.html#os10-modules) and [dellos roles](https://ansible-dellos-docs.readthedocs.io/en/latest/roles.html). - -## Sample playbook - -**playbook.yaml** - - - hosts: os10_switches - connection: network_cli - collections: - - dellemc.os10 - roles: - - os10_vlan - -**host_vars/os10_sw1.yaml** - - hostname: os10_sw1 - # Parameters for connection type network_cli - ansible_ssh_user: xxxx - ansible_ssh_pass: xxxx - ansible_network_os: dellemc.os10.os10 - - # Create vlan100 and delete vlan888 - os10_vlan: - vlan 100: - description: "Blue" - state: present - vlan 888: - state: absent - -**inventory.yaml** - - [os10_sw1] - os10_sw1 ansible_host=100.104.28.119 - - [os10_sw2] - os10_sw2 ansible_host=100.104.28.120 - - [os10_switches:children] - os10_sw1 - os10_sw2 - - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/changelogs/CHANGELOG.rst b/ansible_collections/dellemc/os10/changelogs/CHANGELOG.rst deleted file mode 100644 index 367cb5856..000000000 --- a/ansible_collections/dellemc/os10/changelogs/CHANGELOG.rst +++ /dev/null @@ -1,116 +0,0 @@ -====================================================================== -Ansible Network Collection for Dell EMC SmartFabric OS10 Release Notes -====================================================================== - -.. contents:: Topics - - -v1.1.1 -====== - -Minor Changes -------------- - -- Adding support for Ansible version 2.9 (https://github.com/ansible-collections/dellemc.os10/pull/58) - -v1.1.0 -====== - -Major Changes -------------- - -- os10_bgp - Enhanced router bgp keyword support for non-default vrf which are supported for default vrf and additional keyword to support both default and non-default vrf -- os10_snmp role - Added support for snmp V3 features in community, group, host, engineID - -Minor Changes -------------- - -- Enhanced os10_bgp role to support internal BGP redistribution under address-family for V4 and V6 -- Enhanced os10_bgp role to support maximum-prefix configuration under BGP peer and peer-group. -- os10_ntp role - Added support for vrf and sha1 and sha2-256 authentication-key types -- os10_snmp role - Added support for source-interface and vrf -- os10_template - add template for show spanning tree compatibility mode -- os10_template - add template for show vlt error disabled ports -- os10_uplink role - Added support for downstream disable-links and auto-recover - -Breaking Changes / Porting Guide --------------------------------- - -- os10_bgp - Changed "subnet" key as list format instead of dictionary format under "listen" key to support multiple neighbor prefix for listen command -- os10_bgp - Changed "vrf" key as list format instead of dictionary format to supprot multiple VRF in router BGP and changed the "vrf" key name to "vrfs" - -Bugfixes --------- - -- Fixed issue in using interface range in os10_vlan members. (https://github.com/ansible-collections/dellemc.os10/issues/53) - -v1.0.2 -====== - -Bugfixes --------- - -- Fix issue in using ip_and_mask along with members in os10_vlan role (https://github.com/ansible-collections/dellemc.os10/issues/42) -- Fix issue in using list of strings for `commands` argument for `os10_command` module (https://github.com/ansible-collections/dellemc.os10/issues/43) -- Fixed os10_vlan role idempotency issue with description and members (https://github.com/ansible-collections/dellemc.os10/issues/46) - -v1.0.1 -====== - -Release Summary ---------------- - -Added changelog. - -v1.0.0 -====== - -Major Changes -------------- - -- New role os10_aaa - Facilitates the configuration of Authentication Authorization and Accounting (AAA), TACACS and RADIUS server. -- New role os10_acl - Facilitates the configuration of Access Control lists. -- New role os10_bfd - Facilitates the configuration of BFD global attributes. -- New role os10_bgp - Facilitates the configuration of border gateway protocol (BGP) attributes. -- New role os10_copy_config - This role pushes the backup running configuration into a OS10 device. -- New role os10_dns - Facilitates the configuration of domain name service (DNS). -- New role os10_ecmp - Facilitates the configuration of equal cost multi-path (ECMP) for IPv4. -- New role os10_fabric_summary Facilitates to get show system information of all the OS10 switches in the fabric. -- New role os10_flow_monitor Facilitates the configuration of ACL flow-based monitoring attributes. -- New role os10_image_upgrade Facilitates installation of OS10 software images. -- New role os10_interface Facilitates the configuration of interface attributes. -- New role os10_lag Facilitates the configuration of link aggregation group (LAG) attributes. -- New role os10_lldp Facilitates the configuration of link layer discovery protocol (LLDP) attributes at global and interface level. -- New role os10_logging Facilitates the configuration of global logging attributes and logging servers. -- New role os10_network_validation Facilitates validation of wiring connection, BGP neighbors, MTU between neighbors and VLT pair. -- New role os10_ntp Facilitates the configuration of network time protocol (NTP) attributes. -- New role os10_prefix_list Facilitates the configuration of IP prefix-list. -- New role os10_qos Facilitates the configuration of quality of service attributes including policy-map and class-map. -- New role os10_raguard Facilitates the configuration of IPv6 RA Guard attributes. -- New role os10_route_map Facilitates the configuration of route-map attributes. -- New role os10_snmp Facilitates the configuration of global SNMP attributes. -- New role os10_system Facilitates the configuration of hostname and hashing algorithm. -- New role os10_template The role takes the raw string input from the CLI of OS10 device, and returns a structured text in the form of a Python dictionary. -- New role os10_uplink Facilitates the configuration of uplink attributes like uplink-state group. -- New role os10_users Facilitates the configuration of global system user attributes. -- New role os10_vlan Facilitates the configuration of virtual LAN (VLAN) attributes. -- New role os10_vlt Facilitates the configuration of virtual link trunking (VLT). -- New role os10_vrf Facilitates the configuration of virtual routing and forwarding (VRF). -- New role os10_vrrp Facilitates the configuration of virtual router redundancy protocol (VRRP) attributes. -- New role os10_vxlan Facilitates the configuration of virtual extensible LAN (VXLAN) attributes. -- New role os10_xstp Facilitates the configuration of xSTP attributes. - -New Plugins ------------ - -Cliconf -~~~~~~~ - -- os10 - Use OS10 cliconf to run commands on Dell EMC PowerSwitch devices. - -New Modules ------------ - -- os10_command - Run commands on devices running Dell EMC SmartFabric OS1O. -- os10_config - Manage configuration on devices running OS10. -- os10_facts - Collect facts from devices running OS10. diff --git a/ansible_collections/dellemc/os10/changelogs/changelog.yaml b/ansible_collections/dellemc/os10/changelogs/changelog.yaml deleted file mode 100644 index 334a1e5f1..000000000 --- a/ansible_collections/dellemc/os10/changelogs/changelog.yaml +++ /dev/null @@ -1,124 +0,0 @@ -ancestor: null -releases: - 1.0.0: - changes: - major_changes: - - New role os10_aaa - Facilitates the configuration of Authentication Authorization - and Accounting (AAA), TACACS and RADIUS server. - - New role os10_acl - Facilitates the configuration of Access Control lists. - - New role os10_bfd - Facilitates the configuration of BFD global attributes. - - New role os10_bgp - Facilitates the configuration of border gateway protocol - (BGP) attributes. - - New role os10_copy_config - This role pushes the backup running configuration - into a OS10 device. - - New role os10_dns - Facilitates the configuration of domain name service (DNS). - - New role os10_ecmp - Facilitates the configuration of equal cost multi-path - (ECMP) for IPv4. - - New role os10_fabric_summary Facilitates to get show system information of - all the OS10 switches in the fabric. - - New role os10_flow_monitor Facilitates the configuration of ACL flow-based - monitoring attributes. - - New role os10_image_upgrade Facilitates installation of OS10 software images. - - New role os10_interface Facilitates the configuration of interface attributes. - - New role os10_lag Facilitates the configuration of link aggregation group - (LAG) attributes. - - New role os10_lldp Facilitates the configuration of link layer discovery protocol - (LLDP) attributes at global and interface level. - - New role os10_logging Facilitates the configuration of global logging attributes - and logging servers. - - New role os10_network_validation Facilitates validation of wiring connection, - BGP neighbors, MTU between neighbors and VLT pair. - - New role os10_ntp Facilitates the configuration of network time protocol (NTP) - attributes. - - New role os10_prefix_list Facilitates the configuration of IP prefix-list. - - New role os10_qos Facilitates the configuration of quality of service attributes - including policy-map and class-map. - - New role os10_raguard Facilitates the configuration of IPv6 RA Guard attributes. - - New role os10_route_map Facilitates the configuration of route-map attributes. - - New role os10_snmp Facilitates the configuration of global SNMP attributes. - - New role os10_system Facilitates the configuration of hostname and hashing - algorithm. - - New role os10_template The role takes the raw string input from the CLI of - OS10 device, and returns a structured text in the form of a Python dictionary. - - New role os10_uplink Facilitates the configuration of uplink attributes like - uplink-state group. - - New role os10_users Facilitates the configuration of global system user attributes. - - New role os10_vlan Facilitates the configuration of virtual LAN (VLAN) attributes. - - New role os10_vlt Facilitates the configuration of virtual link trunking (VLT). - - New role os10_vrf Facilitates the configuration of virtual routing and forwarding - (VRF). - - New role os10_vrrp Facilitates the configuration of virtual router redundancy - protocol (VRRP) attributes. - - New role os10_vxlan Facilitates the configuration of virtual extensible LAN - (VXLAN) attributes. - - New role os10_xstp Facilitates the configuration of xSTP attributes. - modules: - - description: Run commands on devices running Dell EMC SmartFabric OS1O. - name: os10_command - namespace: '' - - description: Manage configuration on devices running OS10. - name: os10_config - namespace: '' - - description: Collect facts from devices running OS10. - name: os10_facts - namespace: '' - plugins: - cliconf: - - description: Use OS10 cliconf to run commands on Dell EMC PowerSwitch devices. - name: os10 - namespace: null - release_date: '2020-07-31' - 1.0.1: - changes: - release_summary: Added changelog. - fragments: - - 1.0.1.yaml - release_date: '2020-08-14' - 1.0.2: - changes: - bugfixes: - - Fix issue in using ip_and_mask along with members in os10_vlan role (https://github.com/ansible-collections/dellemc.os10/issues/42) - - Fix issue in using list of strings for `commands` argument for `os10_command` - module (https://github.com/ansible-collections/dellemc.os10/issues/43) - - Fixed os10_vlan role idempotency issue with description and members (https://github.com/ansible-collections/dellemc.os10/issues/46) - fragments: - - 1.0.2.yaml - - 46-vlan-idempotency-desc-and-members.yaml - release_date: '2020-10-28' - 1.1.0: - changes: - breaking_changes: - - os10_bgp - Changed "subnet" key as list format instead of dictionary format - under "listen" key to support multiple neighbor prefix for listen command - - os10_bgp - Changed "vrf" key as list format instead of dictionary format to - supprot multiple VRF in router BGP and changed the "vrf" key name to "vrfs" - bugfixes: - - Fixed issue in using interface range in os10_vlan members. (https://github.com/ansible-collections/dellemc.os10/issues/53) - major_changes: - - os10_bgp - Enhanced router bgp keyword support for non-default vrf which are - supported for default vrf and additional keyword to support both default and - non-default vrf - - os10_snmp role - Added support for snmp V3 features in community, group, host, - engineID - minor_changes: - - Enhanced os10_bgp role to support internal BGP redistribution under address-family - for V4 and V6 - - Enhanced os10_bgp role to support maximum-prefix configuration under BGP peer - and peer-group. - - os10_ntp role - Added support for vrf and sha1 and sha2-256 authentication-key - types - - os10_snmp role - Added support for source-interface and vrf - - os10_template - add template for show spanning tree compatibility mode - - os10_template - add template for show vlt error disabled ports - - os10_uplink role - Added support for downstream disable-links and auto-recover - fragments: - - 53-vlan-member-port-range.yaml - - R9.yaml - release_date: '2020-12-02' - 1.1.1: - changes: - minor_changes: - - Adding support for Ansible version 2.9 (https://github.com/ansible-collections/dellemc.os10/pull/58) - fragments: - - 58-support-for-ansible-version-2.9.yaml - release_date: '2020-12-11' diff --git a/ansible_collections/dellemc/os10/changelogs/config.yaml b/ansible_collections/dellemc/os10/changelogs/config.yaml deleted file mode 100644 index 953ad20a2..000000000 --- a/ansible_collections/dellemc/os10/changelogs/config.yaml +++ /dev/null @@ -1,30 +0,0 @@ -changelog_filename_template: CHANGELOG.rst -changelog_filename_version_depth: 0 -changes_file: changelog.yaml -changes_format: combined -keep_fragments: false -mention_ancestor: true -new_plugins_after_name: removed_features -notesdir: fragments -prelude_section_name: release_summary -prelude_section_title: Release Summary -flatmap: true -sections: -- - major_changes - - Major Changes -- - minor_changes - - Minor Changes -- - breaking_changes - - Breaking Changes / Porting Guide -- - deprecated_features - - Deprecated Features -- - removed_features - - Removed Features (previously deprecated) -- - security_fixes - - Security Fixes -- - bugfixes - - Bugfixes -- - known_issues - - Known Issues -title: Ansible Network Collection for Dell EMC SmartFabric OS10 -trivial_section_name: trivial diff --git a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_command_module.rst b/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_command_module.rst deleted file mode 100644 index 4bec5b231..000000000 --- a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_command_module.rst +++ /dev/null @@ -1,446 +0,0 @@ -.. Document meta - - -.. Anchors - -.. _ansible_collections.dellemc.os10.os10_command_module: - -.. Anchors: short name for ansible.builtin - -.. Anchors: aliases - - - -.. Title - -dellemc.os10.os10_command -- Run commands on devices running Dell EMC SmartFabric OS10 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -.. Collection note - -.. note:: - This plugin is part of the `dellemc.os10 collection <https://galaxy.ansible.com/dellemc/os10>`_. - - To install it use: :code:`ansible-galaxy collection install dellemc.os10`. - - To use it in a playbook, specify: :code:`dellemc.os10.os10_command`. - -.. version_added - - -.. contents:: - :local: - :depth: 1 - -.. Deprecated - - -Synopsis --------- - -.. Description - -- Sends arbitrary commands to a OS10 device and returns the results read from the device. This module includes an argument that will cause the module to wait for a specific condition before returning or timing out if the condition is not met. -- This module does not support running commands in configuration mode. Please use `dellemc.os10.os10_config <dellemc.os10.os10_config_module.rst>`_ to configure OS10 devices. - - -.. Aliases - - -.. Requirements - - -.. Options - -Parameters ----------- - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="2">Parameter</th> - <th>Choices/<font color="blue">Defaults</font></th> - <th width="100%">Comments</th> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-commands"></div> - <b>commands</b> - <a class="ansibleOptionLink" href="#parameter-commands" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> / <span style="color: red">required</span> </div> - </td> - <td> - </td> - <td> - <div>List of commands to send to the remote OS10 device over the configured provider. The resulting output from the command is returned. If the <em>wait_for</em> argument is provided, the module is not returned until the condition is satisfied or the number of retries has expired.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-interval"></div> - <b>interval</b> - <a class="ansibleOptionLink" href="#parameter-interval" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - <b>Default:</b><br/><div style="color: blue">1</div> - </td> - <td> - <div>Configures the interval in seconds to wait between retries of the command. If the command does not pass the specified conditions, the interval indicates how long to wait before trying the command again.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-match"></div> - <b>match</b> - <a class="ansibleOptionLink" href="#parameter-match" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>all</b> ←</div></li> - <li>any</li> - </ul> - </td> - <td> - <div>The <em>match</em> argument is used in conjunction with the <em>wait_for</em> argument to specify the match policy. Valid values are <code>all</code> or <code>any</code>. If the value is set to <code>all</code> then all conditionals in the wait_for must be satisfied. If the value is set to <code>any</code> then only one of the values must be satisfied.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-provider"></div> - <b>provider</b> - <a class="ansibleOptionLink" href="#parameter-provider" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td> - </td> - <td> - <div>A dict object containing connection details.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/auth_pass"></div> - <b>auth_pass</b> - <a class="ansibleOptionLink" href="#parameter-provider/auth_pass" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the password to use if required to enter privileged mode on the remote device. If <em>authorize</em> is false, then this argument does nothing. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTH_PASS</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/authorize"></div> - <b>authorize</b> - <a class="ansibleOptionLink" href="#parameter-provider/authorize" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>no</b> ←</div></li> - <li>yes</li> - </ul> - </td> - <td> - <div>Instructs the module to enter privileged mode on the remote device before sending any commands. If not specified, the device will attempt to execute all commands in non-privileged mode. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTHORIZE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/host"></div> - <b>host</b> - <a class="ansibleOptionLink" href="#parameter-provider/host" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/password"></div> - <b>password</b> - <a class="ansibleOptionLink" href="#parameter-provider/password" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Password to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/port"></div> - <b>port</b> - <a class="ansibleOptionLink" href="#parameter-provider/port" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the port to use when building the connection to the remote device.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/ssh_keyfile"></div> - <b>ssh_keyfile</b> - <a class="ansibleOptionLink" href="#parameter-provider/ssh_keyfile" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">path</span> - </div> - </td> - <td> - </td> - <td> - <div>Path to an ssh key used to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_SSH_KEYFILE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/timeout"></div> - <b>timeout</b> - <a class="ansibleOptionLink" href="#parameter-provider/timeout" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies idle timeout (in seconds) for the connection. Useful if the console freezes before continuing. For example when saving configurations.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/username"></div> - <b>username</b> - <a class="ansibleOptionLink" href="#parameter-provider/username" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>User to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> - </td> - </tr> - - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-retries"></div> - <b>retries</b> - <a class="ansibleOptionLink" href="#parameter-retries" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - <b>Default:</b><br/><div style="color: blue">10</div> - </td> - <td> - <div>Specifies the number of retries a command should be tried before it is considered failed. The command is run on the target device every retry and evaluated against the <em>wait_for</em> conditions.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-wait_for"></div> - <b>wait_for</b> - <a class="ansibleOptionLink" href="#parameter-wait_for" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - </td> - <td> - <div>List of conditions to evaluate against the output of the command. The task will wait for each condition to be true before moving forward. If the conditional is not true within the configured number of <em>retries</em>, the task fails. See examples.</div> - </td> - </tr> - </table> - <br/> - -.. Notes - -Notes ------ - -.. note:: - - For more information on using Ansible to manage Dell EMC Network devices see https://www.ansible.com/ansible-dell-networking. - -.. Seealso - - -.. Examples - -Examples --------- - -.. code-block:: yaml+jinja - - - tasks: - - name: run show version on remote devices - os10_command: - commands: show version - - - name: run show version and check to see if output contains OS10 - os10_command: - commands: show version - wait_for: result[0] contains OS10 - - - name: run multiple commands on remote nodes - os10_command: - commands: - - show version - - show interface - - - name: run multiple commands and evaluate the output - os10_command: - commands: - - show version - - show interface - wait_for: - - result[0] contains OS10 - - result[1] contains Ethernet - - - - -.. Facts - - -.. Return values - -Return Values -------------- -Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="1">Key</th> - <th>Returned</th> - <th width="100%">Description</th> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-failed_conditions"></div> - <b>failed_conditions</b> - <a class="ansibleOptionLink" href="#return-failed_conditions" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>failed</td> - <td> - <div>The list of conditionals that have failed</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['...', '...']</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-stdout"></div> - <b>stdout</b> - <a class="ansibleOptionLink" href="#return-stdout" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always apart from low level errors (such as action plugin)</td> - <td> - <div>The set of responses from the commands</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['...', '...']</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-stdout_lines"></div> - <b>stdout_lines</b> - <a class="ansibleOptionLink" href="#return-stdout_lines" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always apart from low level errors (such as action plugin)</td> - <td> - <div>The value of stdout split into a list</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[['...', '...'], ['...'], ['...']]</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-warnings"></div> - <b>warnings</b> - <a class="ansibleOptionLink" href="#return-warnings" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always</td> - <td> - <div>The list of warnings (if any) generated by module based on arguments</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['...', '...']</div> - </td> - </tr> - </table> - <br/><br/> - -.. Status (Presently only deprecated) - - -.. Authors - -Authors -~~~~~~~ - -- Senthil Kumar Ganesan (@skg-net) - - - -.. Parsing errors - diff --git a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_config_module.rst b/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_config_module.rst deleted file mode 100644 index 737478087..000000000 --- a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_config_module.rst +++ /dev/null @@ -1,606 +0,0 @@ -.. Document meta - - -.. Anchors - -.. _ansible_collections.dellemc.os10.os10_config_module: - -.. Anchors: short name for ansible.builtin - -.. Anchors: aliases - - - -.. Title - -dellemc.os10.os10_config -- Manage Dell EMC SmartFabric OS10 configuration sections -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -.. Collection note - -.. note:: - This plugin is part of the `dellemc.os10 collection <https://galaxy.ansible.com/dellemc/os10>`_. - - To install it use: :code:`ansible-galaxy collection install dellemc.os10`. - - To use it in a playbook, specify: :code:`dellemc.os10.os10_config`. - -.. version_added - - -.. contents:: - :local: - :depth: 1 - -.. Deprecated - - -Synopsis --------- - -.. Description - -- OS10 configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with OS10 configuration sections in a deterministic way. - - -.. Aliases - - -.. Requirements - - -.. Options - -Parameters ----------- - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="2">Parameter</th> - <th>Choices/<font color="blue">Defaults</font></th> - <th width="100%">Comments</th> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-after"></div> - <b>after</b> - <a class="ansibleOptionLink" href="#parameter-after" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - </td> - <td> - <div>The ordered set of commands to append to the end of the command stack if a change needs to be made. Just like with <em>before</em> this allows the playbook designer to append a set of commands to be executed after the command set.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-backup"></div> - <b>backup</b> - <a class="ansibleOptionLink" href="#parameter-backup" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>no</b> ←</div></li> - <li>yes</li> - </ul> - </td> - <td> - <div>This argument will cause the module to create a full backup of the current <code>running-config</code> from the remote device before any changes are made. If the <code>backup_options</code> value is not given, the backup file is written to the <code>backup</code> folder in the playbook root directory. If the directory does not exist, it is created.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-backup_options"></div> - <b>backup_options</b> - <a class="ansibleOptionLink" href="#parameter-backup_options" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td> - </td> - <td> - <div>This is a dict object containing configurable options related to backup file path. The value of this option is read only when <code>backup</code> is set to <em>yes</em>, if <code>backup</code> is set to <em>no</em> this option will be silently ignored.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-backup_options/dir_path"></div> - <b>dir_path</b> - <a class="ansibleOptionLink" href="#parameter-backup_options/dir_path" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">path</span> - </div> - </td> - <td> - </td> - <td> - <div>This option provides the path ending with directory name in which the backup configuration file will be stored. If the directory does not exist it will be first created and the filename is either the value of <code>filename</code> or default filename as described in <code>filename</code> options description. If the path value is not given in that case a <em>backup</em> directory will be created in the current working directory and backup configuration will be copied in <code>filename</code> within <em>backup</em> directory.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-backup_options/filename"></div> - <b>filename</b> - <a class="ansibleOptionLink" href="#parameter-backup_options/filename" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>The filename to be used to store the backup configuration. If the the filename is not given it will be generated based on the hostname, current time and date in format defined by <hostname>_config.<current-date>@<current-time></div> - </td> - </tr> - - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-before"></div> - <b>before</b> - <a class="ansibleOptionLink" href="#parameter-before" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - </td> - <td> - <div>The ordered set of commands to push on to the command stack if a change needs to be made. This allows the playbook designer the opportunity to perform configuration commands prior to pushing any changes without affecting how the set of commands are matched against the system.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-config"></div> - <b>config</b> - <a class="ansibleOptionLink" href="#parameter-config" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>The module, by default, will connect to the remote device and retrieve the current running-config to use as a base for comparing against the contents of source. There are times when it is not desirable to have the task get the current running-config for every task in a playbook. The <em>config</em> argument allows the implementer to pass in the configuration to use as the base config for comparison.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-lines"></div> - <b>lines</b> - <a class="ansibleOptionLink" href="#parameter-lines" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - </td> - <td> - <div>The ordered set of commands that should be configured in the section. The commands must be the exact same commands as found in the device running-config. Be sure to note the configuration command syntax as some commands are automatically modified by the device config parser. This argument is mutually exclusive with <em>src</em>.</div> - <div style="font-size: small; color: darkgreen"><br/>aliases: commands</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-match"></div> - <b>match</b> - <a class="ansibleOptionLink" href="#parameter-match" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>line</b> ←</div></li> - <li>strict</li> - <li>exact</li> - <li>none</li> - </ul> - </td> - <td> - <div>Instructs the module on the way to perform the matching of the set of commands against the current device config. If match is set to <em>line</em>, commands are matched line by line. If match is set to <em>strict</em>, command lines are matched with respect to position. If match is set to <em>exact</em>, command lines must be an equal match. Finally, if match is set to <em>none</em>, the module will not attempt to compare the source configuration with the running configuration on the remote device.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-parents"></div> - <b>parents</b> - <a class="ansibleOptionLink" href="#parameter-parents" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - </td> - <td> - <div>The ordered set of parents that uniquely identify the section or hierarchy the commands should be checked against. If the parents argument is omitted, the commands are checked against the set of top level or global commands.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-provider"></div> - <b>provider</b> - <a class="ansibleOptionLink" href="#parameter-provider" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td> - </td> - <td> - <div>A dict object containing connection details.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/auth_pass"></div> - <b>auth_pass</b> - <a class="ansibleOptionLink" href="#parameter-provider/auth_pass" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the password to use if required to enter privileged mode on the remote device. If <em>authorize</em> is false, then this argument does nothing. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTH_PASS</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/authorize"></div> - <b>authorize</b> - <a class="ansibleOptionLink" href="#parameter-provider/authorize" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>no</b> ←</div></li> - <li>yes</li> - </ul> - </td> - <td> - <div>Instructs the module to enter privileged mode on the remote device before sending any commands. If not specified, the device will attempt to execute all commands in non-privileged mode. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTHORIZE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/host"></div> - <b>host</b> - <a class="ansibleOptionLink" href="#parameter-provider/host" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/password"></div> - <b>password</b> - <a class="ansibleOptionLink" href="#parameter-provider/password" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Password to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/port"></div> - <b>port</b> - <a class="ansibleOptionLink" href="#parameter-provider/port" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the port to use when building the connection to the remote device.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/ssh_keyfile"></div> - <b>ssh_keyfile</b> - <a class="ansibleOptionLink" href="#parameter-provider/ssh_keyfile" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">path</span> - </div> - </td> - <td> - </td> - <td> - <div>Path to an ssh key used to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_SSH_KEYFILE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/timeout"></div> - <b>timeout</b> - <a class="ansibleOptionLink" href="#parameter-provider/timeout" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies idle timeout (in seconds) for the connection. Useful if the console freezes before continuing. For example when saving configurations.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/username"></div> - <b>username</b> - <a class="ansibleOptionLink" href="#parameter-provider/username" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>User to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> - </td> - </tr> - - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-replace"></div> - <b>replace</b> - <a class="ansibleOptionLink" href="#parameter-replace" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>line</b> ←</div></li> - <li>block</li> - </ul> - </td> - <td> - <div>Instructs the module on the way to perform the configuration on the device. If the replace argument is set to <em>line</em> then the modified lines are pushed to the device in configuration mode. If the replace argument is set to <em>block</em> then the entire command block is pushed to the device in configuration mode if any line is not correct.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-save"></div> - <b>save</b> - <a class="ansibleOptionLink" href="#parameter-save" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>no</b> ←</div></li> - <li>yes</li> - </ul> - </td> - <td> - <div>The <code>save</code> argument instructs the module to save the running- config to the startup-config at the conclusion of the module running. If check mode is specified, this argument is ignored.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-src"></div> - <b>src</b> - <a class="ansibleOptionLink" href="#parameter-src" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">path</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the source path to the file that contains the configuration or configuration template to load. The path to the source file can either be the full path on the Ansible control host or a relative path from the playbook or role root directory. This argument is mutually exclusive with <em>lines</em>.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-update"></div> - <b>update</b> - <a class="ansibleOptionLink" href="#parameter-update" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>merge</b> ←</div></li> - <li>check</li> - </ul> - </td> - <td> - <div>The <em>update</em> argument controls how the configuration statements are processed on the remote device. Valid choices for the <em>update</em> argument are <em>merge</em> and <em>check</em>. When you set this argument to <em>merge</em>, the configuration changes merge with the current device running configuration. When you set this argument to <em>check</em> the configuration updates are determined but not actually configured on the remote device.</div> - </td> - </tr> - </table> - <br/> - -.. Notes - -Notes ------ - -.. note:: - - For more information on using Ansible to manage Dell EMC Network devices see https://www.ansible.com/ansible-dell-networking. - -.. Seealso - - -.. Examples - -Examples --------- - -.. code-block:: yaml+jinja - - - - os10_config: - lines: ['hostname {{ inventory_hostname }}'] - - - os10_config: - lines: - - 10 permit ip host 1.1.1.1 any log - - 20 permit ip host 2.2.2.2 any log - - 30 permit ip host 3.3.3.3 any log - - 40 permit ip host 4.4.4.4 any log - - 50 permit ip host 5.5.5.5 any log - parents: ['ip access-list test'] - before: ['no ip access-list test'] - match: exact - - - os10_config: - lines: - - 10 permit ip host 1.1.1.1 any log - - 20 permit ip host 2.2.2.2 any log - - 30 permit ip host 3.3.3.3 any log - - 40 permit ip host 4.4.4.4 any log - parents: ['ip access-list test'] - before: ['no ip access-list test'] - replace: block - - - os10_config: - lines: ['hostname {{ inventory_hostname }}'] - backup: yes - backup_options: - filename: backup.cfg - dir_path: /home/user - - - - -.. Facts - - -.. Return values - -Return Values -------------- -Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="1">Key</th> - <th>Returned</th> - <th width="100%">Description</th> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-backup_path"></div> - <b>backup_path</b> - <a class="ansibleOptionLink" href="#return-backup_path" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>when backup is yes</td> - <td> - <div>The full path to the backup file</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">/playbooks/ansible/backup/os10_config.2016-07-16@22:28:34</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-commands"></div> - <b>commands</b> - <a class="ansibleOptionLink" href="#return-commands" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always</td> - <td> - <div>The set of commands that will be pushed to the remote device</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['hostname foo', 'router bgp 1', 'router-id 1.1.1.1']</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-saved"></div> - <b>saved</b> - <a class="ansibleOptionLink" href="#return-saved" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td>When not check_mode.</td> - <td> - <div>Returns whether the configuration is saved to the startup configuration or not.</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">True</div> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-updates"></div> - <b>updates</b> - <a class="ansibleOptionLink" href="#return-updates" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always</td> - <td> - <div>The set of commands that will be pushed to the remote device.</div> - <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['hostname foo', 'router bgp 1', 'router-id 1.1.1.1']</div> - </td> - </tr> - </table> - <br/><br/> - -.. Status (Presently only deprecated) - - -.. Authors - -Authors -~~~~~~~ - -- Senthil Kumar Ganesan (@skg-net) - - - -.. Parsing errors - diff --git a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_facts_module.rst b/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_facts_module.rst deleted file mode 100644 index 658a3d9da..000000000 --- a/ansible_collections/dellemc/os10/docs/dellemc.os10.os10_facts_module.rst +++ /dev/null @@ -1,511 +0,0 @@ -.. Document meta - - -.. Anchors - -.. _ansible_collections.dellemc.os10.os10_facts_module: - -.. Anchors: short name for ansible.builtin - -.. Anchors: aliases - - - -.. Title - -dellemc.os10.os10_facts -- Collect facts from devices running Dell EMC SmartFabric OS10 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -.. Collection note - -.. note:: - This plugin is part of the `dellemc.os10 collection <https://galaxy.ansible.com/dellemc/os10>`_. - - To install it use: :code:`ansible-galaxy collection install dellemc.os10`. - - To use it in a playbook, specify: :code:`dellemc.os10.os10_facts`. - -.. version_added - - -.. contents:: - :local: - :depth: 1 - -.. Deprecated - - -Synopsis --------- - -.. Description - -- Collects a base set of device facts from a remote device that is running OS10. This module prepends all of the base network fact keys with ``ansible_net_<fact>``. The facts module will always collect a base set of facts from the device and can enable or disable collection of additional facts. - - -.. Aliases - - -.. Requirements - - -.. Options - -Parameters ----------- - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="2">Parameter</th> - <th>Choices/<font color="blue">Defaults</font></th> - <th width="100%">Comments</th> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-gather_subset"></div> - <b>gather_subset</b> - <a class="ansibleOptionLink" href="#parameter-gather_subset" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td> - <b>Default:</b><br/><div style="color: blue">["!config"]</div> - </td> - <td> - <div>When supplied, this argument will restrict the facts collected to a given subset. Possible values for this argument include all, hardware, config, and interfaces. Can specify a list of values to include a larger subset. Values can also be used with an initial <code><span class='module'>!</span></code> to specify that a specific subset should not be collected.</div> - </td> - </tr> - <tr> - <td colspan="2"> - <div class="ansibleOptionAnchor" id="parameter-provider"></div> - <b>provider</b> - <a class="ansibleOptionLink" href="#parameter-provider" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td> - </td> - <td> - <div>A dict object containing connection details.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/auth_pass"></div> - <b>auth_pass</b> - <a class="ansibleOptionLink" href="#parameter-provider/auth_pass" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the password to use if required to enter privileged mode on the remote device. If <em>authorize</em> is false, then this argument does nothing. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTH_PASS</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/authorize"></div> - <b>authorize</b> - <a class="ansibleOptionLink" href="#parameter-provider/authorize" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">boolean</span> - </div> - </td> - <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li><div style="color: blue"><b>no</b> ←</div></li> - <li>yes</li> - </ul> - </td> - <td> - <div>Instructs the module to enter privileged mode on the remote device before sending any commands. If not specified, the device will attempt to execute all commands in non-privileged mode. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_AUTHORIZE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/host"></div> - <b>host</b> - <a class="ansibleOptionLink" href="#parameter-provider/host" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/password"></div> - <b>password</b> - <a class="ansibleOptionLink" href="#parameter-provider/password" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>Password to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_PASSWORD</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/port"></div> - <b>port</b> - <a class="ansibleOptionLink" href="#parameter-provider/port" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies the port to use when building the connection to the remote device.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/ssh_keyfile"></div> - <b>ssh_keyfile</b> - <a class="ansibleOptionLink" href="#parameter-provider/ssh_keyfile" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">path</span> - </div> - </td> - <td> - </td> - <td> - <div>Path to an ssh key used to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_SSH_KEYFILE</code> will be used instead.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/timeout"></div> - <b>timeout</b> - <a class="ansibleOptionLink" href="#parameter-provider/timeout" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td> - </td> - <td> - <div>Specifies idle timeout (in seconds) for the connection. Useful if the console freezes before continuing. For example when saving configurations.</div> - </td> - </tr> - <tr> - <td class="elbow-placeholder"></td> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="parameter-provider/username"></div> - <b>username</b> - <a class="ansibleOptionLink" href="#parameter-provider/username" title="Permalink to this option"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td> - </td> - <td> - <div>User to authenticate the SSH session to the remote device. If the value is not specified in the task, the value of environment variable <code>ANSIBLE_NET_USERNAME</code> will be used instead.</div> - </td> - </tr> - - </table> - <br/> - -.. Notes - -Notes ------ - -.. note:: - - For more information on using Ansible to manage Dell EMC Network devices see https://www.ansible.com/ansible-dell-networking. - -.. Seealso - - -.. Examples - -Examples --------- - -.. code-block:: yaml+jinja - - - # Collect all facts from the device - - os10_facts: - gather_subset: all - - # Collect only the config and default facts - - os10_facts: - gather_subset: - - config - - # Do not collect hardware facts - - os10_facts: - gather_subset: - - "!hardware" - - - - -.. Facts - - -.. Return values - -Return Values -------------- -Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: - -.. raw:: html - - <table border=0 cellpadding=0 class="documentation-table"> - <tr> - <th colspan="1">Key</th> - <th>Returned</th> - <th width="100%">Description</th> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_all_ipv4_addresses"></div> - <b>ansible_net_all_ipv4_addresses</b> - <a class="ansibleOptionLink" href="#return-ansible_net_all_ipv4_addresses" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>when interfaces is configured</td> - <td> - <div>All IPv4 addresses configured on the device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_all_ipv6_addresses"></div> - <b>ansible_net_all_ipv6_addresses</b> - <a class="ansibleOptionLink" href="#return-ansible_net_all_ipv6_addresses" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>when interfaces is configured</td> - <td> - <div>All IPv6 addresses configured on the device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_config"></div> - <b>ansible_net_config</b> - <a class="ansibleOptionLink" href="#return-ansible_net_config" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>when config is configured</td> - <td> - <div>The current active config from the device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_cpu_arch"></div> - <b>ansible_net_cpu_arch</b> - <a class="ansibleOptionLink" href="#return-ansible_net_cpu_arch" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>when hardware is configured</td> - <td> - <div>CPU Architecture of the remote device.</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_gather_subset"></div> - <b>ansible_net_gather_subset</b> - <a class="ansibleOptionLink" href="#return-ansible_net_gather_subset" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">list</span> - / <span style="color: purple">elements=string</span> </div> - </td> - <td>always</td> - <td> - <div>The list of fact subsets collected from the device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_hostname"></div> - <b>ansible_net_hostname</b> - <a class="ansibleOptionLink" href="#return-ansible_net_hostname" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>always</td> - <td> - <div>The configured hostname of the device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_interfaces"></div> - <b>ansible_net_interfaces</b> - <a class="ansibleOptionLink" href="#return-ansible_net_interfaces" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td>when interfaces is configured</td> - <td> - <div>A hash of all interfaces running on the system</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_memfree_mb"></div> - <b>ansible_net_memfree_mb</b> - <a class="ansibleOptionLink" href="#return-ansible_net_memfree_mb" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td>when hardware is configured</td> - <td> - <div>The available free memory on the remote device in Mb</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_memtotal_mb"></div> - <b>ansible_net_memtotal_mb</b> - <a class="ansibleOptionLink" href="#return-ansible_net_memtotal_mb" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">integer</span> - </div> - </td> - <td>when hardware is configured</td> - <td> - <div>The total memory on the remote device in Mb</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_model"></div> - <b>ansible_net_model</b> - <a class="ansibleOptionLink" href="#return-ansible_net_model" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>always</td> - <td> - <div>The model name returned from the device.</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_name"></div> - <b>ansible_net_name</b> - <a class="ansibleOptionLink" href="#return-ansible_net_name" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>Always.</td> - <td> - <div>The name of the OS that is running.</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_neighbors"></div> - <b>ansible_net_neighbors</b> - <a class="ansibleOptionLink" href="#return-ansible_net_neighbors" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">dictionary</span> - </div> - </td> - <td>when interfaces is configured</td> - <td> - <div>The list of LLDP neighbors from the remote device</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_servicetag"></div> - <b>ansible_net_servicetag</b> - <a class="ansibleOptionLink" href="#return-ansible_net_servicetag" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>always</td> - <td> - <div>The service tag number of the remote device.</div> - <br/> - </td> - </tr> - <tr> - <td colspan="1"> - <div class="ansibleOptionAnchor" id="return-ansible_net_version"></div> - <b>ansible_net_version</b> - <a class="ansibleOptionLink" href="#return-ansible_net_version" title="Permalink to this return value"></a> - <div style="font-size: small"> - <span style="color: purple">string</span> - </div> - </td> - <td>always</td> - <td> - <div>The operating system version running on the remote device</div> - <br/> - </td> - </tr> - </table> - <br/><br/> - -.. Status (Presently only deprecated) - - -.. Authors - -Authors -~~~~~~~ - -- Senthil Kumar Ganesan (@skg-net) - - - -.. Parsing errors - diff --git a/ansible_collections/dellemc/os10/docs/os10_aaa.md b/ansible_collections/dellemc/os10/docs/os10_aaa.md deleted file mode 100644 index cabee7ea9..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_aaa.md +++ /dev/null @@ -1,136 +0,0 @@ -AAA role -======== - -This role facilitates the configuration of authentication, authorization, and acccounting (AAA). It supports the configuration of RADIUS server, TACACS server, and AAA. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The AAA role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_aaa keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``radius_server`` | dictionary | Configures the RADIUS server (see ``radius_server.*``) | os10 | -| ``radius_server.retransmit`` | integer | Configures the number of retransmissions | os10 | -| ``radius_server.timeout`` | integer | Configures the timeout for retransmissions | os10 | -| ``radius_server.host`` | dictionary | Configures the RADIUS server host (see ``host.*``) | os10 | -| ``host.ip`` | string | Configures the RADIUS server host address | os10 | -| ``host.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``host.auth_port`` | integer | Configures the authentication port (0 to 65535) | os10 | -| ``host.state`` | string: present,absent | Removes the RADIUS server host if set to absent | os10 | -| ``auth.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``tacacs_server`` | dictionary | Configures the TACACS server (see ``tacacs_server.*``) | os10 | -| ``tacacs_server.timeout`` | integer | Configures the timeout for retransmissions | os10 | -| ``tacacs_server.host`` | dictionary | Configures the TACACS server host (see ``host.*``) | os10 | -| ``host.ip`` | string | Configures the TACACS server host address | os10 | -| ``host.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``host.auth_port`` | integer | Configures the authentication port (0 to 65535) | os10 | -| ``host.state`` | string: present,absent | Removes the TACACS server host if set to absent | os10 | -| ``auth.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``aaa_accounting`` | dictionary | Configures accounting parameters (see ``aaa_accounting.*``) | os10 | -| ``aaa_accounting.accounting.accounting_type`` | dictionary | Configures accounting type | os10 | -| ``aaa_accounting.accounting.connection_type`` | dictionary | Configures accounting connection type | os10 | -| ``aaa_accounting.accounting.account_mode`` | dictionary | Configures accounting mode | os10 | -| ``aaa_accounting.accounting.server_group`` | dictionary | Configures accounting server group | os10 | -| ``aaa_accounting.accounting.state`` | string: present,absent | Configures/unconfigures accounting parameters | os10 | -| ``aaa_authentication`` | dictionary | Configures authentication parameters (see ``aaa_authentication.*``) | os10 | -| ``aaa_authentication.login`` | dictionary | Configures authentication login (see ``aaa_authentication.login.*``)| os10 | -| ``aaa_authentication.login.console`` | dictionary | Configures authentication method for console login | os10 | -| ``aaa_authentication.login.state`` | string: present,absent | Unconfigures authentication login if set to absent | os10 | -| ``aaa_authentication.login.type`` | dictionary | Configures authentication type | os10 | -| ``aaa_authentication.re_authenticate`` | boolean | Configures re-authenticate by enable if set to true | os10 | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_aaa* role to configure AAA for radius and TACACS servers. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in the *build_dir* path. By default, it is set to false and it writes a simple playbook that only references the *os10_aaa* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_aaa: - radius_server: - retransmit: 5 - timeout: 10 - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - tacacs_server: - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - timeout: 6 - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: true - aaa_accounting: - accounting: - - accounting_type: commands - connection_type: console - account_mode: start-stop - server_group: group tacacs+ - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_aaa - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_acl.md b/ansible_collections/dellemc/os10/docs/os10_acl.md deleted file mode 100644 index 14a1fe2a5..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_acl.md +++ /dev/null @@ -1,130 +0,0 @@ -ACL role -======== - -This role facilitates the configuration of an access-control list (ACL). It supports the configuration of different types of ACLs (standard and extended) for both IPv4 and IPv6, and assigns the access-class to the line terminals. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ACL role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_acl keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string (required): ipv4, ipv6, mac | Configures the L3 (IPv4/IPv6) or L2 (MAC) access-control list | os10 | -| ``name`` | string (required) | Configures the name of the access-control list | os10 | -| ``description`` | string | Configures the description about the access-control list | os10 | -| ``remark`` | list | Configures the ACL remark (see ``remark.*``) | os10| -| ``remark.number`` | integer (required) | Configures the remark sequence number | os10 | -| ``remark.description`` | string | Configures the remark description | os10 | -| ``remark.state`` | string: absent,present\* | Deletes the configured remark for an ACL entry if set to absent | os10 | -| ``entries`` | list | Configures ACL rules (see ``seqlist.*``) | os10 | -| ``entries.number`` | integer (required) | Specifies the sequence number of the ACL rule | os10 | -| ``entries.permit`` | boolean (required): true,false | Specifies the rule to permit packets if set to true; specifies to reject packets if set to false | os10 | -| ``entries.protocol`` | string (required) | Specifies the type of protocol or the protocol number to filter | os10 | -| ``entries.source`` | string (required) | Specifies the source address to match in the packets | os10 | -| ``entries.src_condition`` | string | Specifies the condition to filter packets from the source address; ignored if MAC | os10 | -| ``entries.destination`` | string (required) | Specifies the destination address to match in the packets | os10 | -| ``entries.dest_condition`` | string | Specifies the condition to filter packets to the destination address | os10 | -| ``entries.other_options`` | string | Specifies the other options applied on packets (count, log, order, monitor, and so on) | os10 | -| ``entries.state`` | string: absent,present\* | Deletes the rule from the ACL if set to absent | os10 | -| ``stage_ingress`` | list | Configures ingress ACL to the interface (see ``stage_ingress.*``) | os10 | -| ``stage_ingress.name`` | string (required) | Configures the ingress ACL filter to the interface with this interface name | os10 | -| ``stage_ingress.state`` | string: absent,present\* | Deletes the configured ACL from the interface if set to absent | os10 | -| ``stage_egress`` | list | Configures egress ACL to the interface (see ``stage_egress.*``) | os10 | -| ``stage_egress.name`` | string (required) | Configures the egress ACL filter to the interface with this interface name | os10 | -| ``stage_egress.state`` | string: absent,present\* | Deletes the configured egress ACL from the interface if set to absent | os10 | -| ``lineterminal`` | list | Configures the terminal to apply the ACL (see ``lineterminal.*``) | os10 | -| ``lineterminal.state`` | string: absent,present\* | Deletes the access-class from line terminal if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the ACL if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOM`E environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_acl* role to configure different types of ACLs (standard and extended) for both IPv4 and IPv6 and assigns the access-class to the line terminals. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, it generates the configuration commands as a .part file in the *build_dir* path. By default it is set to false. It writes a simple playbook that only references the *os10_acl* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_acl: - - name: ssh - type: ipv4 - description: acl - remark: - - description: 1 - number: 3 - state: absent - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: absent - - name: ethernet 1/1/2 - state: absent - stage_egress: - - name: ethernet 1/1/3 - state: absent - lineterminal: - state: absent - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_acl - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_bfd.md b/ansible_collections/dellemc/os10/docs/os10_bfd.md deleted file mode 100644 index c69079924..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_bfd.md +++ /dev/null @@ -1,89 +0,0 @@ -BFD role -=========== - -This role facilitates the configuration of bidirectional forwarding detection (BFD) global attributes. It specifically enables configuration of BFD interval, min_rx, multiplier, and role. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The BFD role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_bfd keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``bfd`` | dictionary | Configures global BFD parameters (see ``bfd.*``) | os10 | -| ``bfd.interval`` | integer | Configures the time interval in ms (100 to 1000) | os10 | -| ``bfd.min_rx`` | integer | Configures maximum waiting time for receiving control packets from BFD peers in ms (100 to 1000)| os10 | -| ``bfd.multiplier`` | integer | Configures the maximum number of consecutive packets that are not received from BFD peers before session state changes to Down (3 to 50) | os10 | -| ``bfd.role`` | string: passive,active\* | Configures the BFD role | os10 | -| ``bfd.state`` | string: absent,present\* | Removes the global BFD if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables -******************** - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_bfd role* to completely set the global BFD attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The bfd role writes a simple playbook that only references the *os10_bfd* role. By including the role, you automatically get access to all of the tasks to configure BFD feature. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_bfd: - bfd: - interval: 100 - min_rx: 100 - multiplier: 3 - role: "active" - state: "present" - -**Simple playbook to setup bfd — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_bfd - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_bgp.md b/ansible_collections/dellemc/os10/docs/os10_bgp.md deleted file mode 100644 index e4e7c94e1..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_bgp.md +++ /dev/null @@ -1,729 +0,0 @@ -BGP role -======== - -This role facilitates the configuration of border gateway protocol (BGP) attributes. It supports the configuration of router ID, networks, neighbors, and maximum paths. This role is abstracted for Dell EMC PowerSwitch platforms running SmartFabric OS10. - -The BGP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_bgp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``asn`` | string (required) | Configures the autonomous system (AS) number of the local BGP instance | os10 | -| ``router_id`` | string | Configures the IP address of the local BGP router instance | os10 | -| ``graceful_restart`` | boolean | Configures graceful restart capability | os10 | -| ``maxpath_ibgp`` | integer | Configures the maximum number of paths to forward packets through iBGP (1 to 64; default 1) | os10 | -| ``maxpath_ebgp`` | integer | Configures the maximum number of paths to forward packets through eBGP (1 to 64; default 1) | os10 | -| ``log_neighbor_changes`` | boolean | Configures log neighbors up/down | os10 | -| ``fast_ext_fallover`` | boolean | Configures a reset session if a link to a directly connected external peer goes down | os10 | -| ``always_compare_med`` | boolean | Configures comparing MED from different neighbors | os10 | -| ``default_loc_pref`` | integer | Configures the default local preference value | os10 | -| ``as_notation`` | string | Configures AS number notation format | os10 | -| ``enforce_first_as`` | boolean | Configures the first AS for eBGP routes | os10 | -| ``non_deterministic_med`` | boolean | Configures nondeterministic path selection algorithm | os10 | -| ``outbound_optimization`` | boolean | Configures outbound optimization for iBGP peer-group members | os10 | -| ``confederation`` | dictionary | Configures AS confederation parameters (see ``confederation.*``) | os10 | -| ``confederation.identifier`` | integer | Configures the routing domain confederation AS | os10 | -| ``confederation.peers`` | string | Configures the peer AS in BGP confederation | os10 | -| ``confederation.peers_state`` | string: absent,present\* | Deletes the peer AS in BGP confederation if set to absent | os10 | -| ``route_reflector`` | dictionary | Configures route reflection parameters (see ``route_reflector.*``) | os10 | -| ``route_reflector.client_to_client`` | boolean | Configures client-to-client route reflection | os10 | -| ``route_reflector.cluster_id`` | string | Configures the route reflector cluster-id | os10 | -| ``address_family_ipv4`` | dictionary | Configures IPv4 address family parameters (see ``address_family_ipv4.*``) | os10 | -| ``address_family_ipv4.aggregate_addr`` | list | Configures IPv4 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv4 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv4.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv4.ibgp_redist_internal`` | dictionary | Configures internal BGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the internal BGP redistribution for an IPv4 address family | os10 | -| ``address_family_ipv4.default_metric`` | integer | Configures the metric of redistributed routes for IPv4 address family | os10 | -| ``address_family_ipv4.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPv4 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``address_family_ipv6`` | dictionary | Configures IPv6 address family parameters (see ``address_family_ipv6.*``) | os10 | -| ``address_family_ipv6.aggregate_addr`` | list | Configures IPv6 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv6 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv6.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv6.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for an IPv6 address family | os10 | -| ``address_family_ipv6.default_metric`` | integer | Configures the metric of redistributed routes for IPv6 address family | os10 | -| ``address_family_ipv6.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for an IPv6 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``best_path`` | list | Configures the default best-path selection (see ``best_path.*``) | os10 | -| ``best_path.as_path`` | string (required): ignore,multipath-relax | Configures the AS path used for the best-path computation | os10 | -| ``best_path.as_path_state`` | string: absent,present\* | Deletes the AS path configuration if set to absent | os10 | -| ``best_path.ignore_router_id`` | boolean: true,false | Ignores the router identifier in best-path computation if set to true | os10 | -| ``best_path.med`` | list | Configures the MED attribute (see ``med.*``) | os10 | -| ``med.attribute`` | string (required): confed,missing-as-best | Configures the MED attribute used for the best-path computation | os10 | -| ``med.state`` | string: absent,present\* | Deletes the MED attribute if set to absent | os10 | -| ``ipv4_network`` | list | Configures an IPv4 BGP networks (see ``ipv4_network.*``) | os10 | -| ``ipv4_network.address`` | string (required) | Configures the IPv4 address of the BGP network (A.B.C.D/E format) | os10 | -| ``ipv4_network.state`` | string: absent,present\* | Deletes an IPv4 BGP network if set to absent | os10 | -| ``ipv6_network`` | list | Configures an IPv6 BGP network (see ``ipv6_network.*``) | os10 | -| ``ipv6_network.address`` | string (required) | Configures the IPv6 address of the BGP network (2001:4898:5808:ffa2::1/126 format) | os10 | -| ``ipv6_network.state`` | string: absent,present\* | Deletes an IPv6 BGP network if set to absent | os10 | -| ``neighbor`` | list | Configures IPv4 BGP neighbors (see ``neighbor.*``) | os10 | -| ``neighbor.ip`` | string (required) | Configures the IPv4 address of the BGP neighbor (10.1.1.1) | os10 | -| ``neighbor.interface`` | string | Configures the BGP neighbor interface details | os10 | -| ``neighbor.name`` | string (required) | Configures the BGP peer-group with this name; supported only when the neighbor is a peer group; mutually exclusive with *neighbor.ip* | os10 | -| ``neighbor.type`` | string (required): ipv4,ipv6,peergroup | Specifies the BGP neighbor type | os10 | -| ``neighbor.auto_peer`` |string: unnumbered-auto | Enables auto discovery of neighbors | os10 | -| ``neighbor.password`` | string | Configures the BGP neighbor password | os10 | -| ``neighbor.peergroup_type`` | string (ibgp, ebgp) | Configures the BGP neighbor peer-group type| os10 | -| ``neighbor.ebgp_peergroup`` | string | Configures the peer-group to all auto-discovered external neighbors | os10 | -| ``neighbor.ebgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered external neighbors | os10 | -| ``neighbor.ibgp_peergroup`` | string | Configures the peer-group to all auto-discovered internal neighbors | os10 | -| ``neighbor.ibgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered internal neighbors | os10 | -| ``neighbor.route_reflector_client`` | boolean | Configures router reflector client on the BGP neighbor | os10 | -| ``neighbor.local_as`` | integer | Configures the local AS for the BGP peer | os10 | -| ``neighbor.weight`` | integer | Configures the default weight for routes from the neighbor interface | os10 | -| ``neighbor.send_community`` | list | Configures the send community attribute to the BGP neighbor (see ``send_community.*``) | os10 | -| ``send_community.type`` | string (required) | Configures the send community attribute to the BGP neighbor | os10 | -| ``send_community.state`` | string: absent,present\* | Deletes the send community attribute of the BGP neighbor if set to absent | os10 | -| ``neighbor.address_family`` | list | Configures address family commands on the BGP neighbor (see ``address_family.*``)| os10 | -| ``address_family.type`` | string (required): ipv4,ipv6,l2vpn | Configures IPv4/IPv6/EVPN address family command mode on the BGP neighbor | os10 | -| ``address_family.activate`` | boolean | Configures activation/deactivation of IPv4/IPv6 address family command mode on the BGP neighbor | os10 | -| ``address_family.sender_loop_detect`` | boolean | Enables/disables the sender-side loop detection process for a BGP neighbor of IPv4/IPv6/l2vpn address family | os10 | -| ``address_family.allow_as_in`` | integer | Configures the local AS number in the as-path | os10 | -| ``address_family.next_hop_self`` | boolean | Configures disabling the next-hop calculation for the neighbor | os10 | -| ``address_family.soft_reconf`` | boolean | Configures per neighbor soft reconfiguration | os10 | -| ``address_family.add_path`` | string | Configures send or receive multiple paths (value can be 'both <no of paths>', 'send <no of paths>', 'receive')| os10 | -| ``address_family.route_map`` | list | Configures the route-map on the BGP neighbor (see ``route_map.*``) | os10 | -| ``route_map.name`` | string | Configures the name of the route-map for the BGP neighbor | os10 | -| ``route_map.filter`` | string | Configures the filter for routing updates | os10 | -| ``route_map.state`` | string, choices: absent,present\* | Deletes the route-map of the BGP neighbor if set to absent | os10 | -| ``address_family.max_prefix`` | dictionary | Configures maximum-prefix parameters (see ``max_prefix.\*``) | os10 | -| ``max_prefix.count`` | integer | Configures maximum number of prefix accepted from the peer | os10 | -| ``max_prefix.state`` | string: absent,present | Deletes maximum prefix configured for the peer | os10 | -| ``max_prefix.threshold`` | integer | Configures threshold percentage at which warning log is thrown | os10 | -| ``max_prefix.warning``| boolean | Configures a warning without dropping the session when maximum limit exceeds if set to true | os10| -| ``address_family.default_originate`` | dictionary | Configures default-originate parameters (see ``default_originate.\*``) | os10 | -| ``default_originate.route_map`` | string | Configures the name of the route-map to specify criteria to originate default | os10 | -| ``default_originate.state`` | string, choices: absent,present\* | Deletes the default-originate if set to absent | os10 | -| ``address_family.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``address_family.state`` | string: absent,present\* | Deletes the address family command mode of the BGP neighbor if set to absent | os10 | -| ``neighbor.remote_asn`` | string (required) | Configures the remote AS number of the BGP neighbor | os10 | -| ``neighbor.remote_asn_state`` | string: absent,present\* | Deletes the remote AS number from the peer group if set to absent; supported only when *neighbor.type* is "peergroup" | os10 | -| ``neighbor.timer`` | string | Configures neighbor timers; 5 10, where 5 is the keepalive interval and 10 is the holdtime | os10 | -| ``neighbor.peergroup`` | string | Configures neighbor to BGP peer-group (configured peer-group name) | os10 | -| ``neighbor.peergroup_state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor from the peer-group if set to absent | os10 | -| ``neighbor.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``neighbor.admin`` | string: up,down | Configures the administrative state of the neighbor | os10 | -| ``neighbor.adv_interval`` | integer | Configures the advertisement interval of the neighbor | os10 | -| ``neighbor.adv_start`` | integer | Set the advertisement start of the neighbor | os10 | -| ``neighbor.adv_start_state`` | string: absent,present\* | Configures or unconfigures the advertisement start of a neighbor | os10 | -| ``neighbor.conn_retry_timer`` | integer | Configures the peer connection retry timer | os10 | -| ``neighbor.remove_pri_as`` | string: absent,present | Configures the remove private AS number from outbound updates | os10 | -| ``neighbor.fall_over`` | string: absent,present | Configures the session fall on peer-route loss | os10 | -| ``neighbor.sender_loop_detect`` | boolean: true,false | Enables or disables the sender-side loop detect for neighbors | os10 | -| ``neighbor.src_loopback`` | integer | Configures the source loopback interface for routing packets | os10 | -| ``neighbor.ebgp_multihop`` | integer | Configures the maximum-hop count value allowed in eBGP neighbors that are not directly connected (default 255) | os10 | -| ``neighbor.listen`` | list | Configures listen commands on the BGP template (see ``listen.*``)| os10 | -| ``listen.subnet`` | string (required) | Configures the passive BGP neighbor IPv4/IPv6 to this subnet | os10 | -| ``listen.subnet_state`` | string: absent,present\* | Deletes the subnet range set for dynamic IPv4/IPv6 BGP neighbor if set to absent | os10 | -| ``listen.limit`` | integer | Configures maximum dynamic peers count (key is required together with ``neighbor.subnet``) | os10 | -| ``neighbor.bfd`` | boolean | Enables BFD for neighbor | os10 | -| ``neighbor.description`` | string | Configures neighbor description | os10 | -| ``neighbor.state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor if set to absent | os10 | -| ``redistribute`` | list | Configures the redistribute list to get information from other routing protocols (see ``redistribute.*``) | os10 | -| ``redistribute.route_type`` | string (required): static,connected,imported_bgp,l2vpn,ospf | Configures the name of the routing protocol to redistribute | os10 | -| ``redistribute.route_map_name`` | string | Configures the route-map to redistribute | os10 | -| ``redistribute.imported_bgp_vrf_name`` | string | Configures the redistribute imported BGP VRF name | os10 | -| ``redistribute.ospf_id`` | string | Configures the redistribute OSPF | os10 | -| ``redistribute.address_type`` | string (required): ipv4,ipv6 | Configures the address type of IPv4 or IPv6 routes | os10 | -| ``redistribute.state`` | string: absent,present\* | Deletes the redistribution information if set to absent | os10 | -| ``bfd_all_neighbors`` | dictionary | Enables BFD for all BGP neighbors | os10 | -| ``bfd_all_neighbors.interval`` | integer: 100 to 1000 | Configures time interval for sending control packets to BFD peers in ms| os10 | -| ``bfd_all_neighbors.min_rx`` | integer: 100 to 1000 | Configures maximum waiting time for receiving control packets from BFD peers in ms| os10 | -| ``bfd_all_neighbors.multiplier`` | integer: 3 to 50 | Configures maximum number of consecutive packets that are not received from BFD peers before session state changes to Down| os10 | -| ``bfd_all_neighbors.role``| string: active, passive | Configures BFD role | os10 | -| ``bfd_all_neighbors.state`` |string: absent,present\* | Deletes BFD for all neighbors if set to absent | os10 | -| ``vrfs`` | list | Enables VRF under BGP | os10 | -| ``vrf.name`` | string (Required)| Configures VRF name | os10 | -| ``vrf.router_id`` | string | Configures the IP address of the local BGP router instance in VRF | os10 | -| ``vrf.graceful_restart`` | boolean | Configures graceful restart capability in VRF | os10 | -| ``vrf.maxpath_ibgp`` | integer | Configures the maximum number of paths to forward packets through iBGP (1 to 64; default 1) in VRF | os10 | -| ``vrf.maxpath_ebgp`` | integer | Configures the maximum number of paths to forward packets through eBGP (1 to 64; default 1) in VRF | os10 | -| ``vrf.log_neighbor_changes`` | boolean | Configures log neighbors up/down in VRF | os10 | -| ``vrf.fast_ext_fallover`` | boolean | Configures a reset session if a link to a directly connected external peer goes down in VRF | os10 | -| ``vrf.always_compare_med`` | boolean | Configures comparing MED from different neighbors in VRF | os10 | -| ``vrf.default_loc_pref`` | integer | Configures the default local preference value in VRF | os10 | -| ``vrf.as_notation`` | string | Changes the AS number notation format in VRF | os10 | -| ``vrf.enforce_first_as`` | boolean | Configures the first AS for eBGP routes in VRF | os10 | -| ``vrf.non_deterministic_med`` | boolean | Configures nondeterministic path selection algorithm in VRF | os10 | -| ``vrf.outbound_optimization`` | boolean | Configures outbound optimization for iBGP peer-group members in VRF | os10 | -| ``vrf.route_reflector`` | dictionary | Configures route reflection parameters (see ``route_reflector.*``) in VRF | os10 | -| ``vrf.route_reflector.client_to_client`` | boolean | Configures client-to-client route reflection in VRF | os10 | -| ``vrf.route_reflector.cluster_id`` | string | Configures the route-reflector cluster-id in VRF | os10 | -| ``vrf.address_family_ipv4`` | dictionary | Configures IPv4 address family parameters in VRF (see ``address_family_ipv4.*``) in VRF | os10 | -| ``address_family_ipv4.aggregate_addr`` | list | Configures IPv4 BGP aggregate entries (see ``aggregate_addr.*``) in VRF | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv4 BGP aggregate address in VRF | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true in VRF | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv4 BGP aggregate entry if set to absent in VRF | os10 | -| ``address_family_ipv4.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv4.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for a IPV4 address family | os10 | -| ``address_family_ipv4.default_metric`` | integer | Configures the metric of redistributed routes for IPV4 address family | os10 | -| ``address_family_ipv4.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPV4 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``vrf.address_family_ipv6`` | dictionary | Configures IPv6 address family parameters in VRF (see ``address_family_ipv6.*``) | os10 | -| ``address_family_ipv6.aggregate_addr`` | list | Configures IPv6 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv6 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv6.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv6.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for a IPv6 address family | os10 | -| ``address_family_ipv6.default_metric`` | integer | Configures the metric of redistributed routes for IPv6 address family | os10 | -| ``address_family_ipv6.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPv6 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``vrf.best_path`` | list | Configures the default best-path selection in VRF (see ``best_path.*``) | os10 | -| ``best_path.as_path`` | string (required): ignore,multipath-relax | Configures the AS path used for the best-path computation | os10 | -| ``best_path.as_path_state`` | string: absent,present\* | Deletes the AS path configuration if set to absent | os10 | -| ``best_path.ignore_router_id`` | boolean: true,false | Ignores the router identifier in best-path computation if set to true | os10 | -| ``best_path.med`` | list | Configures the MED attribute (see ``med.*``) | os10 | -| ``med.attribute`` | string (required): confed,missing-as-best | Configures the MED attribute used for the best-path computation | os10 | -| ``med.state`` | string: absent,present\* | Deletes the MED attribute if set to absent | os10 | -| ``vrf.ipv4_network`` | list | Configures an IPv4 BGP networks (see ``ipv4_network.*``) | os10 | -| ``ipv4_network.address`` | string (required) | Configures the IPv4 address of the BGP network (A.B.C.D/E format) | os10 | -| ``ipv4_network.state`` | string: absent,present\* | Deletes an IPv4 BGP network if set to absent | os10 | -| ``vrf.ipv6_network`` | list | Configures an IPv6 BGP network (see ``ipv6_network.*``) | os10 | -| ``ipv6_network.address`` | string (required) | Configures the IPv6 address of the BGP network (2001:4898:5808:ffa2::1/126 format) | os10 | -| ``ipv6_network.state`` | string: absent,present\* | Deletes an IPv6 BGP network if set to absent | os10 | -| ``vrf.neighbor`` | list | Configures IPv4 BGP neighbors in VRF (see ``neighbor.*``) | os10 | -| ``neighbor.ip`` | string (required) | Configures the IPv4 address of the BGP neighbor (10.1.1.1) | os10 | -| ``neighbor.interface`` | string | Configures the BGP neighbor interface details | os10 | -| ``neighbor.name`` | string (required) | Configures the BGP peer-group with this name; supported only when the neighbor is a peer group; mutually exclusive with *neighbor.ip* | os10 | -| ``neighbor.type`` | string (required): ipv4,ipv6,peergroup | Specifies the BGP neighbor type | os10 | -| ``neighbor.auto_peer`` |string: unnumbered-auto | Enable auto-discovery of neighbors | os10 | -| ``neighbor.password`` | string | Configures the BGP neighbor password | os10 | -| ``neighbor.peergroup_type`` | string (ibgp, ebgp) | Configures the BGP neighbor peer-group type| os10 | -| ``neighbor.ebgp_peergroup`` | string | Configures the peer-group to all auto-discovered external neighbors | os10 | -| ``neighbor.ebgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered external neighbors | os10 | -| ``neighbor.ibgp_peergroup`` | string | Configures the peer-group to all auto-discovered internal neighbors | os10 | -| ``neighbor.ibgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered internal neighbors | os10 | -| ``neighbor.route_reflector_client`` | boolean | Configures router reflector client on the BGP neighbor | os10 | -| ``neighbor.local_as`` | integer | Configures the local AS for the BGP peer | os10 | -| ``neighbor.weight`` | integer | Configures the default weight for routes from the neighbor interface | os10 | -| ``neighbor.send_community`` | list | Configures the send community attribute to the BGP neighbor (see ``send_community.*``) | os10 | -| ``send_community.type`` | string (required) | Configures the send community attribute to the BGP neighbor | os10 | -| ``send_community.state`` | string: absent,present\* | Deletes the send community attribute of the BGP neighbor if set to absent | os10 | -| ``neighbor.address_family`` | list | Configures address family commands on the BGP neighbor (see ``address_family.*``)| os10 | -| ``address_family.type`` | string (required): ipv4,ipv6,l2vpn | Configures IPv4/IPv6 EVPN address family command mode on the BGP neighbor | os10 | -| ``address_family.activate`` | boolean | Configures activation or deactivation of IPv4/IPv6 address family command mode on the BGP neighbor | os10 | -| ``address_family.sender_loop_detect`` | boolean | Enables or disables the sender-side loop detection process for a BGP neighbor of IPv4/IPv6 l2vpn address family | os10 | -| ``address_family.allow_as_in`` | integer | Configures the local AS number in the as-path | os10 | -| ``address_family.next_hop_self`` | boolean | Configures disabling the next-hop calculation for the neighbor | os10 | -| ``address_family.soft_reconf`` | boolean | Configures per neighbor soft reconfiguration | os10 | -| ``address_family.add_path`` | string | Configures send or receive multiple paths (value can be 'both <no of paths>', 'send <no of paths>', 'receive')| os10 | -| ``address_family.route_map`` | list | Configures the route-map on the BGP neighbor (see ``route_map.*``) | os10 | -| ``route_map.name`` | string | Configures the name of the route-map for the BGP neighbor | os10 | -| ``route_map.filter`` | string | Configures the filter for routing updates | os10 | -| ``route_map.state`` | string, choices: absent,present* | Deletes the route-map of the BGP neighbor if set to absent | os10 | -| ``address_family.max_prefix`` | dictionary | Configures maximum-prefix parameters (see ``max_prefix.*``) | os10 | -| ``max_prefix.count`` | integer | Configures maximum number of prefix accepted from the peer | os10 | -| ``max_prefix.state`` | string: absent,present | Deletes maximum prefix configured for the peer | os10 | -| ``max_prefix.threshold`` | integer | Configures threshold percentage at which warning log is thrown | os10 | -| ``max_prefix.warning``| boolean | Configures a warning without dropping session when maximum limit exceeds if set to true | os10| -| ``address_family.default_originate`` | dictionary | Configures default-originate parameters (see ``default_originate.\*``) | os10 | -| ``default_originate.route_map`` | string | Configures the name of the route-map to specify criteria to originate default | os10 | -| ``default_originate.state`` | string, choices: absent,present\* | Deletes the default-originate if set to absent | os10 | -| ``address_family.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``address_family.state`` | string: absent,present\* | Deletes the address family command mode of the BGP neighbor if set to absent | os10 | -| ``neighbor.remote_asn`` | string (required) | Configures the remote AS number of the BGP neighbor | os10 | -| ``neighbor.remote_asn_state`` | string: absent,present\* | Deletes the remote AS number from the peer-group if set to absent; supported only when *neighbor.type* is "peergroup" | os10 | -| ``neighbor.timer`` | string | Configures neighbor timers; 5 10, where 5 is the keepalive interval and 10 is the holdtime | os10 | -| ``neighbor.peergroup`` | string | Configures neighbor to BGP peer-group (configured peer-group name) | os10 | -| ``neighbor.peergroup_state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor from the peer-group if set to absent | os10 | -| ``neighbor.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``neighbor.admin`` | string: up,down | Configures the administrative state of the neighbor | os10 | -| ``neighbor.adv_interval`` | integer | Configures the advertisement interval of the neighbor | os10 | -| ``neighbor.adv_start`` | integer | Set the advertisement start of the neighbor | os10 | -| ``neighbor.adv_start_state`` | string: absent,present\* | Configures or unconfigures the advertisement start of the neighbor | os10 | -| ``neighbor.conn_retry_timer`` | integer | Configures the peer connection retry timer | os10 | -| ``neighbor.remove_pri_as`` | string: absent,present | Removes private AS number from outbound updates | os10 | -| ``neighbor.fall_over`` | string: absent,present | Configures the session fall on peer-route loss | os10 | -| ``neighbor.sender_loop_detect`` | boolean: true,false | Enables or disables the sender-side loop detect for neighbors | os10 | -| ``neighbor.src_loopback`` | integer | Configures the source loopback interface for routing packets | os10 | -| ``neighbor.ebgp_multihop`` | integer | Configures the maximum-hop count value allowed in eBGP neighbors that are not directly connected (default 255) | os10 | -| ``neighbor.listen`` | list | Configures listen commands on the BGP template (see ``listen.*``)| os10 | -| ``listen.subnet`` | string (required) | Configures the passive BGP neighbor IPv4/IPv6 to this subnet | os10 | -| ``listen.subnet_state`` | string: absent,present\* | Deletes the subnet range set for dynamic IPv4/IPv6 BGP neighbor if set to absent | os10 | -| ``listen.limit`` | integer | Configures maximum dynamic peers count (key is required together with ``neighbor.subnet``) | os10 | -| ``neighbor.bfd`` | boolean | Enables BFD for neighbor | os10 | -| ``neighbor.description`` | string | Configures neighbor description | os10 | -| ``neighbor.state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor if set to absent | os10 | -| ``vrf.redistribute`` | list | Configures the redistribute list to get information from other routing protocols in VRF (see ``redistribute.*``) | os10 | -| ``redistribute.route_type`` | string (required): static,connected,imported_bgp | Configures the name of the routing protocol to redistribute | os10 | -| ``redistribute.route_map_name`` | string | Configures the route-map to redistribute | os10 | -| ``redistribute.imported_bgp_vrf_name`` | string | Configures the redistribute imported BGP VRF name | os10 | -| ``redistribute.ospf_id`` | string | Configures the redistribute ospf | os10 | -| ``redistribute.address_type`` | string (required): ipv4,ipv6 | Configures the address type of IPv4 or IPv6 routes | os10 | -| ``redistribute.state`` | string: absent,present\* | Deletes the redistribution information if set to absent | os10 | -| ``vrf.bfd_all_neighbors`` | dictionary | Enables BFD for all BGP neighbors in VRF ((see ``bfd_all_neighbors.*``))| os10 | -| ``bfd_all_neighbors.interval`` | integer: 100 to 1000 | Configures time interval for sending control packets to BFD peers in ms| os10 | -| ``bfd_all_neighbors.min_rx`` | integer: 100 to 1000 | Configures maximum waiting time for receiving control packets from BFD peers in ms| os10 | -| ``bfd_all_neighbors.multiplier`` | integer: 3 to 50 | Configures maximum number of consecutive packets that are not received from BFD peers before session state changes to Down| os10 | -| ``bfd_all_neighbors.role``| string: active, passive | Configures BFD role | os10 | -| ``bfd_all_neighbors.state`` |string: absent,present\* | Deletes BFD for all neighbors if set to absent | os10 | -| ``vrf.state`` | string: absent,present\* | Deletes the VRF instance under router BGP if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the local router BGP instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_bgp* role to configure the BGP network and neighbors. It creates a *hosts* file with the switch details, a *host_vars* file with connection variables and the corresponding role variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. This example writes a simple playbook that only references the *os10_bgp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - as_notation: asdot - enforce_first_as: false - non_deterministic_med: true - outbound_optimization: true - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - client_to_client: false - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - activate: false - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 20::/64 - limit: 4 - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - src_loopback: 0 - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 10 - threshold: 40 - warning: true - state: present - default_originate: - route_map: aa - state: present - distribute_list: - in: XX - in_state: present - out: YY - out_state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: absent - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: false - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs: - - name: "GREEN" - router_id: 50.1.1.1 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: false - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - client_to_client: false - cluster_id: 1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - description: U_site2 vlan - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - src_loopback: 0 - address_family: - - type: ipv4 - activate: false - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - activate: false - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: present - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - activate: false - sender_loop_detect: false - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - - route_type: imported_bgp - imported_bgp_vrf_name: test6 - route_map_name: dd - address_type: ipv4 - state: present - - route_type: ospf - ospf_id: 12 - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present - state: present - - -**Simple playbook to configure BGP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_bgp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_copy_config.md b/ansible_collections/dellemc/os10/docs/os10_copy_config.md deleted file mode 100644 index eadefecb0..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_copy_config.md +++ /dev/null @@ -1,131 +0,0 @@ -Copy-config role -================ - -This role is used to push the backup running configuration into a Dell EMC PowerSwitch platform running Dell EMC SmartFabric OS10, and merges the configuration in the template file with the running configuration of the device. - -The copy-config role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- No predefined variables are part of this role -- Use *host_vars* or *group_vars* as part of the template file -- Configuration file is host-specific -- Copy the host-specific configuration to the respective file under the template directory in *<host_name>.j2* format -- Variables and values are case-sensitive - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_copy_config* role to push the configuration file into the device. It creates a *hosts* file with the switch details and corresponding variables. It writes a simple playbook that only references the *os10_copy_config* role. By including the role, you automatically get access to all of the tasks to push configuration file. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - - # This variable shall be applied in the below jinja template for each host by defining here - os10_bgp - asn: 64801 - -**Sample roles/os10_copy_config/templates/leaf1.j2** - - ! Leaf1 BGP profile on Dell OS10 switch - snmp-server community public ro - hash-algorithm ecmp crc - ! - interface ethernet1/1/1:1 - no switchport - ip address 100.1.1.2/24 - ipv6 address 2001:100:1:1::2/64 - mtu 9216 - no shutdown - ! - interface ethernet1/1/9:1 - no switchport - ip address 100.2.1.2/24 - ipv6 address 2001:100:2:1::2/64 - mtu 9216 - no shutdown - ! - router bgp {{ os10_bgp.asn }} - bestpath as-path multipath-relax - bestpath med missing-as-worst - router-id 100.0.2.1 - ! - address-family ipv4 unicast - ! - address-family ipv6 unicast - ! - neighbor 100.1.1.1 - remote-as 64901 - no shutdown - ! - neighbor 100.2.1.1 - remote-as 64901 - no shutdown - ! - neighbor 2001:100:1:1::1 - remote-as 64901 - no shutdown - ! - address-family ipv4 unicast - no activate - exit - ! - address-family ipv6 unicast - activate - exit - ! - neighbor 2001:100:2:1::1 - remote-as 64901 - no shutdown - ! - address-family ipv4 unicast - no activate - exit - ! - address-family ipv6 unicast - activate - exit - ! - -**Simple playbook to setup to push configuration file into device — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_copy_config - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_dns.md b/ansible_collections/dellemc/os10/docs/os10_dns.md deleted file mode 100644 index b65d7622a..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_dns.md +++ /dev/null @@ -1,125 +0,0 @@ -DNS role -======== - -This role facilitates the configuration of the domain name service (DNS). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The DNS role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_dns keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``name_server`` | list | Configures DNS (see ``name_server.*``) | os10 | -| ``name_server.ip`` | list | Configures the name server IP | os10 | -| ``name_server.vrf`` | list | Configures VRF for each IP | os10 | -| ``name_server.state`` | string: absent,present\* | Deletes the name server IP if set to absent | os10 | -| ``domain_list`` | list | Configures domain-list (see ``domain_list.*``) | os10 | -| ``domain_list.name`` | list | Configures the domain-list name | os10 | -| ``domain_list.vrf`` | list | Configures VRF for each domain-list name | os10 | -| ``domain_list.state`` | string: absent,present\* | Deletes the domain-list if set to absent | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_dns* role to completely set up the DNS server configuration. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. It writes a simple playbook that only references the *os10_dns* role. By including the role, you automatically get access to all of the tasks to configure DNS. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_dns: - domain_lookup: true - name_server: - - ip: - - 3.1.1.1 - - 3.1.1.2 - vrf: - - test - - test1 - - ip: - - 3.1.1.2 - vrf: - - test1 - state: absent - - ip: - - 2.2.2.2 - - ip: - - 3.3.2.2 - state: absent - domain_list: - - name: - - dname7 - - dname8 - vrf: - - test - - test1 - - name: - - dname7 - vrf: - - test - - test1 - state: absent - - name: - - dname3 - - dname4 - - name: - - dname5 - - dname6 - state: absent - -> **NOTE**: vrf should be present which can be configured using os10_vrf role - -**Simple playbook to setup DNS — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_dns - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_ecmp.md b/ansible_collections/dellemc/os10/docs/os10_ecmp.md deleted file mode 100644 index 6932fdf6f..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_ecmp.md +++ /dev/null @@ -1,78 +0,0 @@ -ECMP role -========= - -This role facilitates the configuration of equal cost multi-path (ECMP), and it supports the configuration of ECMP for IPv4. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ECMP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_ecmp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``ecmp_group_max_paths`` | integer | Configures the number of maximum paths per ECMP group | os10 | -| ``trigger_threshold`` | integer | Configures the number of link bundle utilization trigger threshold | os10 | - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_ecmp* role to configure ECMP for IPv4. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The example writes a simple playbook that only references the *os10_ecmp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_ecmp: - ecmp_group_max_paths: 3 - trigger_threshold: 50 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_ecmp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_fabric_summary.md b/ansible_collections/dellemc/os10/docs/os10_fabric_summary.md deleted file mode 100644 index 0ff99bf2f..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_fabric_summary.md +++ /dev/null @@ -1,119 +0,0 @@ -os10_fabric_summary -===================================== -This role is used to get show system information of all devices in the fabric. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Fabric summary role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``os10_cli_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the default value is used | -| ``os10_cli_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Dependencies ------------- - -- *xmltodict* library should be installed to get show command output in dict format from XML -- To install the package use the *pip install xmltodict* command - -Example playbook ----------------- - -This example uses the *os10_fabric_summary* role to completely get the show attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the ansible_network_os variable with the corresponding Dell EMC OS10 name. - -The *os10_fabric_summary* role has a simple playbook that only references the *os10_fabric_summary* role. - -**Sample hosts file** - - site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine1 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine2 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - [spine] - site1-spine1 - site1-spine2 - site2-spine1 - site2-spine2 - [LeafAndSpineSwitch:children] - spine - -**Sample host_vars/site1-spine1** - - - cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - os10_cli_user: xxxx - os10_cli_pass: xxxx - ansible_network_os: dellemc.os10.os10 - -**Simple playbook to setup fabric summary — provision.yaml** - - --- - - name: show system summary command - hosts: localhost - gather_facts: False - connection: local - roles: - - os10_fabric_summary - -**Run** - - ansible-playbook -i hosts provision.yaml - -**Samaple Output** - - "results": [ - { - "device type": "S6010-ON", - "host": "10.11.180.21", - "hostname": "host3", - "inv_name": "site1-spine1", - "node-mac": "e4:f0:04:9b:e5:dc", - "service-tag": "D33FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.22", - "hostname": "host22", - "inv_name": "site1-spine2", - "node-mac": "e4:f0:04:9b:eb:dc", - "service-tag": "J33FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.24", - "hostname": "site2-spine1", - "inv_name": "site2-spine1", - "node-mac": "e4:f0:04:9b:ee:dc", - "service-tag": "343FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.23", - "hostname": "site2-spine2", - "inv_name": "site2-spine2", - "node-mac": "e4:f0:04:9b:f1:dc", - "service-tag": "543FXC2", - "software-version": "10.4.9999EX" - } - ] - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_flow_monitor.md b/ansible_collections/dellemc/os10/docs/os10_flow_monitor.md deleted file mode 100644 index dd98aa956..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_flow_monitor.md +++ /dev/null @@ -1,152 +0,0 @@ -ACL flow-based monitor role -=========================== - -This role facilitates configuring ACL flow-based monitoring attributes. Flow-based mirroring is a mirroring session in which traffic matches specified policies that are mirrored to a destination port. Port-based mirroring maintains a database that contains all monitoring sessions (including port monitor sessions). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ACL flow-based role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take the `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_flow_monitor` (dictionary) with session ID key (in *session <ID>* format; 1 to 18) -- Variables and values are case-sensitive - -**session ID keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``session_type`` | string: local_*_,rspan-source,erspan-source | Configures the monitoring session type | os10 | -| ``description`` | string | Configures the monitor session description | os10 | -| ``port_match`` | list | Displays a list of interfaces with location source and destination | os10 | -| ``port_match.interface_name`` | string | Configures the interface | os10 | -| ``port_match.location`` | string: source,destination | Configures the source/destination of an interface | os10 | -| ``port_match.state`` | string: absent,present\* | Deletes the interface if set to absent | os10 | -| ``flow_based`` | boolean | Enables flow-based monitoring | os10 | -| ``shutdown`` | string: up,down\* | Enable/disables the monitoring session | os10 | -| ``state`` | string: absent,present\* | Deletes the monitoring session corresponding to the session ID if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_flow_monitor* role to configure session monitor configuration. It creates a *hosts* file with the switch details and corresponding variables. The hosts file defines the `anisble_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in the *build_dir* path. By default, the variable is set to false. -It writes a simple playbook that only references the *os10_flow_monitor* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: ethernet 1/1/4 - location: source - state: present - - interface_name: ethernet 1/1/3 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 2: - session_type: local - description: "Discription of session goes here" - port_match: - - interface_name: ethernet 1/1/6 - location: source - state: present - - interface_name: ethernet 1/1/7 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 3: - state: absent - os10_acl: - - name: testflow - type: ipv4 - description: testflow description - extended: true - entries: - - number: 5 - permit: true - protocol: icmp - source: any - destination: any - other_options: capture session 1 count - state: present - - number: 10 - permit: true - protocol: ip - source: 102.1.1.0/24 - destination: any - other_option: capture session 1 count byte - state: present - - number: 15 - permit: false - protocol: udp - source: any - destination: any - other_options: capture session 2 count byte - state: present - - number: 20 - permit: false - protocol: tcp - source: any - destination: any - other_options: capture session 2 count byte - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: present - -> **NOTE**: Destination port should not be an L2/L3 port which can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_flow_monitor - - dellemc.os10.os10_acl - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_image_upgrade.md b/ansible_collections/dellemc/os10/docs/os10_image_upgrade.md deleted file mode 100644 index 9ae8f731c..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_image_upgrade.md +++ /dev/null @@ -1,73 +0,0 @@ -Image upgrade role -=================================== - -This role facilitates upgrades or installation of a software image. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Image upgrade role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_image_upgrade keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``operation_type`` | string: cancel,install | Displays the type of image operation | os10 | -| ``software_image_url`` | string | Configures the URL path to the image file | os10 | -| ``software_version`` | string | Displays the software version of the image file | os10 | -| ``number_of_retries`` | int | Configures the numbe of retries to check the status of image install process | os10 | - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_image_upgrade* role to upgrade/install software image. It creates a *hosts* file with the switch details, corresponding *host_vars* file, and a simple playbook that references the *os10_image_upgrade* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - os10_image_upgrade: - operation_type: install - software_image_url: tftp://10.16.148.8/PKGS_OS10-Enterprise-10.2.9999E.5790-installer-x86_64.bin - software_version: 10.2.9999E - number_of_retries: 50 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_image_upgrade - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_interface.md b/ansible_collections/dellemc/os10/docs/os10_interface.md deleted file mode 100644 index bbb4f8ee6..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_interface.md +++ /dev/null @@ -1,178 +0,0 @@ -Interface role -============== - -This role facilitates the configuration of interface attributes. It supports the configuration of admin state, description, MTU, IP address, IP helper, suppress_ra, and port mode. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Interface role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_interface` (dictionary) holds a dictionary with the interface name; interface name can correspond to any of the valid OS interfaces with the unique interface identifier name -- For physical interfaces, the interface name must be in *<interfacename> <tuple>* format; for logical interfaces, the interface must be in *<logical_interfacename> <id>* format; physical interface name can be *ethernet 1/1/32* -- For interface ranges, the interface name must be in *range <interface_type> <node/slot/port[:subport]-node/slot/port[:subport]>* format; *range ethernet 1/1/1-1/1/4* -- Logical interface names can be *vlan 1* or *port-channel 1* -- Variables and values are case-sensitive - -> **NOTE**: Only define supported variables for the interface type, and do not define the *switchport* variable for a logical interface. - -**interface name keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``desc`` | string | Configures a single line interface description | os10 | -| ``portmode`` | string | Configures port-mode according to the device type | os10 | -| ``switchport`` | boolean: true,false\* | Configures an interface in L2 mode | os10 | -| ``admin`` | string: up,down\* | Configures the administrative state for the interface; configuring the value as administratively "up" enables the interface; configuring the value as administratively "down" disables the interface | os10 | -| ``mtu`` | integer | Configures the MTU size for L2 and L3 interfaces (1280 to 65535) | os10 | -| ``fanout`` | string:dual, single; string:10g-4x, 40g-1x, 25g-4x, 100g-1x, 50g-2x (os10) | Configures fanout to the appropriate value | os10 | -| ``suppress_ra`` | string; present,absent | Configures IPv6 router advertisements if set to present | os10 | -| ``ip_type_dynamic`` | boolean: true,false | Configures IP address DHCP if set to true (*ip_and_mask* is ignored if set to true) | os10 | -| ``ipv6_type_dynamic`` | boolean: true,false | Configures an IPv6 address for DHCP if set to true (*ipv6_and_mask* is ignored if set to true) | os10 | -| ``ipv6_autoconfig`` | boolean: true,false | Configures stateless configuration of IPv6 addresses if set to true (*ipv6_and_mask* is ignored if set to true) | os10 | -| ``vrf`` | string | Configures the specified VRF to be associated to the interface | os10 | -| ``min_ra`` | string | Configures RA minimum interval time period | os10 | -| ``max_ra`` | string | Configures RA maximum interval time period | os10 | -| ``ip_and_mask`` | string | Configures the specified IP address to the interface | os10 | -| ``ipv6_and_mask`` | string | Configures a specified IPv6 address to the interface | os10 | -| ``virtual_gateway_ip`` | string | Configures an anycast gateway IP address for a VxLAN virtual network as well as VLAN interfaces| os10 | -| ``virtual_gateway_ipv6`` | string | Configures an anycast gateway IPv6 address for VLAN interfaces| os10 | -| ``state_ipv6`` | string: absent,present\* | Deletes the IPV6 address if set to absent | os10 | -| ``ip_helper`` | list | Configures DHCP server address objects (see ``ip_helper.*``) | os10 | -| ``ip_helper.ip`` | string (required) | Configures the IPv4 address of the DHCP server (A.B.C.D format) | os10 | -| ``ip_helper.state`` | string: absent,present\* | Deletes the IP helper address if set to absent | os10 | -| ``flowcontrol`` | dictionary | Configures the flowcontrol attribute (see ``flowcontrol.*``) | os10 | -| ``flowcontrol.mode`` | string: receive,transmit | Configures the flowcontrol mode | os10 | -| ``flowcontrol.enable`` | string: on,off | Configures the flowcontrol mode on | os10 | -| ``flowcontrol.state`` | string: absent,present\* | Deletes the flowcontrol if set to absent | os10 | -| ``ipv6_bgp_unnum`` | dictionary | Configures the IPv6 BGP unnum attributes (see ``ipv6_bgp_unnum.*``) below | os10 | -| ``ipv6_bgp_unnum.state`` | string: absent,present\* | Disables auto discovery of BGP unnumbered peer if set to absent | os10 | -| ``ipv6_bgp_unnum.peergroup_type`` | string: ebgp,ibgp | Specifies the type of template to inherit from | os10 | - -| ``stp_rpvst_default_behaviour`` | boolean: false,true | Configures RPVST default behaviour of BPDU's when set to True which is default | os10 | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_interface* role to set up description, MTU, admin status, port mode, and switchport details for an interface. The example creates a *hosts* file with the switch details and orresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, this variable is set to false. The example writes a simple playbook that only references the *os10_interface* role. - -**Sample hosts file** - - leaf3 ansible_host= <ip_address> - -**Sample host_vars/leaf3** - - hostname: "leaf3" - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_interface: - ethernet 1/1/32: - desc: "Connected to Core 2" - mtu: 2500 - stp_rpvst_default_behaviour: False - portmode: - admin: up - switchport: False - ip_and_mask: - ip_type_dynamic: True - ipv6_type_dynamic: True - ethernet 1/1/12: - desc: "ipv6 auto config" - switchport: False - mtu: 2500 - admin: up - ipv6_autoconfig: True - ethernet 1/1/14: - fanout: 10g-4x - ethernet 1/1/13: - desc: "set ipv6 address" - switchport: False - admin: up - ipv6_and_mask: 2001:4898:5809:faa2::10/126 - state_ipv6: present - ethernet 1/1/1: - desc: "Connected to Leaf1" - portmode: "trunk" - switchport: True - suppress_ra: present - admin: up - stp_rpvst_default_behaviour: False - ethernet 1/1/3: - desc: site2-spine2 - ip_and_mask: 10.9.0.4/31 - mtu: 9216 - switchport: False - admin: up - flowcontrol: - mode: "receive" - enable: "on" - state: "present" - - vlan 100: - ip_and_mask: - ipv6_and_mask: 2001:4898:5808:ffaf::1/64 - state_ipv6: present - ip_helper: - - ip: 10.0.0.33 - state: present - admin: up - range ethernet 1/1/1-1/1/32: - mtu: 2500 - port-channel 10: - admin: up - switchport: False - suppress_ra: - stp_rpvst_default_behaviour: True - ipv6_bgp_unnum: - state: present - peergroup_type: ebgp - vlan 10: - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - admin: up - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf3 - roles: - - dellemc.os10.os10_interface - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_lag.md b/ansible_collections/dellemc/os10/docs/os10_lag.md deleted file mode 100644 index eb679dcff..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_lag.md +++ /dev/null @@ -1,103 +0,0 @@ -LAG role -======== - -This role facilitates the configuration of link aggregation group (LAG) attributes, and supports the creation and deletion of a LAG and its member ports. It also supports the configuration of an interface type as a static or dynamic LAG and minimum required link. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The LAG role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Object drives the tasks in this role -- `os10_lag` (dictionary) contains the hostname (dictionary) -- Hostname is the value of the *hostname* variable that corresponds to the name of the OS device -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value to any variable negates the corresponding configuration -- `os10_lag` (dictionary) holds a dictionary with the port-channel ID key in `Po <ID>` format (1 to 128) -- Variables and values are case-sensitive - -**port-channel ID keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string: static,dynamic | Configures the interface either as a static or dynamic LAG | os10 | -| ``min_links`` | integer | Configures the minimum number of links in the LAG that must be in *operup* status (1 to 32) | os10 | -| ``max_bundle_size`` | integer | Configures the maximum bundle size for the port channel | os10 | -| ``lacp_system_priority`` | integer | Configures the LACP system-priority value | os10 | -| ``lacp_fallback_enable`` | boolean | Configures LACP fallback | os10 | -| ``channel_members`` | list | Specifies the list of port members to be associated to the port-channel (see ``channel_members.*``) | os10 | -| ``channel_members.port`` | string | Specifies valid interface names to be configured as port-channel members | os10 | -| ``channel_members.mode`` | string: active,passive,on | Configures mode of channel members | os10 | -| ``channel_members.port_priority`` | integer | Configures port priority on devices for channel members | os10 | -| ``channel_members.lacp_rate_fast`` | boolean | Configures the LACP rate as fast if set to true | os10 | -| ``state`` | string: absent,present\* | Deletes the LAG corresponding to the port-channel ID if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_lag* role to setup port channel ID and description, and configures hash algorithm and minimum links for the LAG. Channel members can be configured for the port-channel either in static or dynamic mode. You can also delete the LAG with the port-channel ID or delete the members associated to it. This example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_lag* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: ethernet 1/1/31 - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_lag - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_lldp.md b/ansible_collections/dellemc/os10/docs/os10_lldp.md deleted file mode 100644 index 0c08af4dc..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_lldp.md +++ /dev/null @@ -1,149 +0,0 @@ -LLDP role -========= - -This role facilitates the configuration of link layer discovery protocol (LLDP) attributes at a global and interface level. It supports the configuration of hello, mode, multiplier, advertise TLVs, management interface, FCoE, and iSCSI at global and interface level. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The LLDP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_lldp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``enable`` | boolean | Enables or disables LLDP at a global level | os10 | -| ``multiplier`` | integer | Configures the global LLDP multiplier (2 to 10) | os10 | -| ``reinit`` | integer | Configures the reinit value (1 to 10) | os10 | -| ``timer`` | integer | Configures the timer value (5 to 254) | os10 | -| ``advertise`` | dictionary | Configures LLDP-MED and TLV advertisement at the global level (see ``advertise.*``) | os10 | -| ``advertise.med`` | dictionary | Configures MED TLVs advertisement (see ``med_tlv.*``) | os10 | -| ``med.fast_start_repeat_count`` | integer | Configures med fast start repeat count value (1 to 10) | os10 | -| ``med.application`` | list | Configures global MED TLVs advertisement for an application (see ``application.*``) | os10 | -| ``application.name`` | string | Configures the application name for MED TLVs advertisement | os10 | -| ``application.vlan_id`` | integer | Configures the VLAN ID for the application MED TLVs advertisement (1 to 4094) | os10 | -| ``application.l2_priority`` | integer | Configures the L2 priority for the application MED TLVs advertisement (0 to 7) | os10 | -| ``application.code_point_value`` | integer | Configures differentiated services code point values for MED TLVs advertisement (0 to 63) | os10 | -| ``application.vlan_type`` | string: tag, untag | Configures the VLAN type for the application MED TLvs advertisement | os10 | -| ``application.network_policy_id`` | integer | Configures network policy ID for the application MED TLVs advertisement | os10 | -| ``application.state`` | string: present\*,absent | Deletes the application if set to absent | os10 | -| ``local_interface`` | dictionary | Configures LLDP at the interface level (see ``local_interface.*``) | os10 | -| ``local_interface.<interface name>`` | dictionary | Configures LLDP at the interface level (see ``<interface name>.*``) | os10 | -| ``<interface name>.mode`` | string: rx,tx | Configures LLDP mode configuration at the interface level | os10 | -| ``<interface name>.mode_state`` | string: absent,present | Configures transmit/receive at the interface level| os10 | -| ``<interface name>.advertise`` | dictionary | Configures LLDP-MED TLV advertisement at the interface level (see ``advertise.*``) | os10 | -| ``advertise.med`` | dictionary | Configures MED TLVs advertisement at the interface level (see ``med_tlv.*``) | os10 | -| ``med.enable`` | boolean | Enables interface level MED capabilities | os10 | -| ``med.tlv`` | string | Configures MED TLV advertisement at interface level | os10 | -| ``med.tlv_state`` | string: present\*,absent | Deletes the interface level MED configuration if set to absent | os10 | -| ``med.application`` | list | Configures MED TLVs advertisement for the application at the interface level (see ``application.*``) | os10 | -| ``application.network_policy_id`` | integer | Configures the *network_policy_id* for the application of MED | os10 | -| ``application.state`` | string: present\*,absent | Deletes the associated network policy ID for the application if set to absent.| os10 | -| ``advertise.tlv`` | list | Configures TLVs advertisement at interface level (see `<interface_name>.tlv.*`) | os10 | -| ``tlv.name`` | string: basic-tlv,dcbxp,dcbxp-appln,dot1-tlv,dot3-tlv | Configures corresponding to the TLV name specified at the interface | os10 | -| ``tlv.value`` | string | Specifies corresponding TLV value according to the name as a string | os10 | -| ``tlv.state`` | string: present\*,absent | Deletes the interface level TLVs advertisement if set to absent | os10 | - - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_lldp* role to configure protocol lldp. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_lldp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_lldp: - enable: false - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - ethernet 1/1/1: - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: present - application: - - network_policy_id: 4 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_lldp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_logging.md b/ansible_collections/dellemc/os10/docs/os10_logging.md deleted file mode 100644 index c8a2dbf23..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_logging.md +++ /dev/null @@ -1,97 +0,0 @@ -Logging role -============ - -This role facilitates the configuration of global logging attributes, and it supports the configuration of logging servers. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Logging role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_logging keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``logging`` | list | Configures the logging server (see ``logging.*``) | os10 | -| ``logging.ip`` | string (required) | Configures the IPv4 address for the logging server (A.B.C.D format) | os10 | -| ``logging.state`` | string: absent,present\* | Deletes the logging server if set to absent | os10 | -| ``console`` | dictionary | Configures logging to the console (see ``console.*``) | os10 | -| ``console.enable`` | boolean | Enables/disables logging to the console | os10 | -| ``console.severity`` | string | Configures the minimum severity level for logging to the console | os10 | -| ``log_file`` | dictionary | Configures logging to a log file (see ``log_file.*``) | os10 | -| ``log_file.enable`` | boolean | Enables/disables logging to a log file | os10 | -| ``log_file.severity`` | string | Configures the minimum severity level for logging to a log file | os10 | -| ``source_interface`` | string | Configures the source interface for logging | os10 | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_logging* role to completely set up logging servers. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_logging: - logging: - - ip: 1.1.1.1 - state: absent - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "ethernet1/1/30" - -**Simple playbook to setup logging — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_logging - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_network_validation.md b/ansible_collections/dellemc/os10/docs/os10_network_validation.md deleted file mode 100644 index e9014c42b..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_network_validation.md +++ /dev/null @@ -1,304 +0,0 @@ -Network validation role -========================= - -This roles is used to verify network validation. It validates network features of a wiring connection, BGP neighbors, MTU between neighbors, and VLT pairing. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. The Network validation role requires an SSH connection for connectivity to a Dell EMC OS10 device. You can use any of the built-in OS connection variables. - -- **Wiring validation** — Based on the LLDP neighbor establishment, the intended neighbor input model is defined by the _group_var/all_ user which is compared with the actual LLDP neighbor; report is generated if there is any mismatch with the intended neighbors - -- **BGP validation** — Based on the BGP neighbor state establishment, report is generated if the BGP neighbor state is not in an established state - -- **MTU validation** — Based on the interface MTU, the report is generated if there is an MTU mismatch between LLDP neighbors - -- **VLT validation** — Based on the VLT information, the report is generated if the backup VLT link is down or not present - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- Variables and values are case-sensitive - -**wiring_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_neighbors`` | list | Defines topology details planned | os10 | -| ``source_switch`` | string | Defines the source switch inventory name planned | os10 | -| ``source_port`` | string | Defines the source port planned | os10 | -| ``dest_switch`` | string | Defines the destination switch inventory name planned | os10 | -| ``dest_port`` | string | Defines the destination port planned | os10 | - -**bgp_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_bgp_neighbors`` | list | Defines topology details planned | os10 | -| ``source_switch`` | string | Defines the source switch inventory name planned | os10 | - -**vlt_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_vlt_pairs`` | list | Defines topology details planned | os10 | -| ``primary`` | string | Defines the primary role of switch inventory name planned | os10 | -| ``secondary`` | string | Defines the secondary role of switch inventory name planned | os10 | - -Connection variables --------------------- - -Ansible Dell EMC roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible _group_vars_ or _host_vars_ directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if the value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; defaults to 22 | -| ``os10_cli_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the default value is used | -| ``os10_cli_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the _become_ method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use, if required, to enter privileged mode on the remote device; if `ansible_become` is set to no, this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Dependencies ------------- - -- The _xmltodict_ library should be installed to convert show command output in dictionary format from XML -- To install the package, use the pip install xmltodict command -- The *os10_fabric_summary* role must be included to query system network summary information - -Example playbook ----------------- - -This example uses the *os10_network_validation* role to verify network validations. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - - -**Sample hosts file** - - site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine1 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine2 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - [spine] - site1-spine1 - site1-spine2 - site2-spine1 - site2-spine2 - [LeafAndSpineSwitch:children] - spine - - -**Sample host_vars/site1-spine1** - - cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - - os10_cli_user: xxxx - os10_cli_pass: xxxx - ansible_network_os: dellemc.os10.os10 - - -#### Sample ``group_var/all`` - -**Sample input for wiring validation** - - - intended_neighbors: - - source_switch: site1-spine2 - source_port: ethernet1/1/5 - dest_port: ethernet1/1/29 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/6 - dest_port: ethernet1/1/30 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/7 - dest_port: ethernet1/1/31 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/8 - dest_port: ethernet1/1/32 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/9 - dest_port: ethernet1/1/21 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/7 - dest_port: ethernet1/1/29 - dest_switch: site1-spine3 - -**Sample input for BGP validation** - - intended_bgp_neighbors: - - source_switch: site1-spine1 - neighbor_ip: ["10.11.0.1","10.9.0.1","10.9.0.3","10.9.0.5","1.1.1.1"] - - source_switch: site1-spine2 - neighbor_ip: ["10.11.0.0","10.9.0.9","10.9.0.11","10.9.0.15"] - -**Sample input for VLT validation** - - intended_vlt_pairs: - - primary: site1-spine1 - secondary: site2-spine2 - - primary: site2-spine1 - secondary: site2-spine2 - - -#### Simple playbook to setup network validation - -**Sample playbook of ``validation.yaml`` to run complete validation** - - --- - - name: setup network validation - hosts: localhost - gather_facts: no - connection: local - roles: - - os10_network_validation - -**Sample playbook to run wiring validation** - - --- - - name: setup wiring validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: wiring_validation.yaml - -**Sample playbook to run BGP validation** - - --- - - name: setup bgp validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: bgp_validation.yaml - -**Sample playbook to run VLT validation** - - --- - - name: setup vlt validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: vlt_validation.yaml - -**Sample playbook to run MTU validation** - - --- - - name: setup mtu validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: mtu_validation.yaml - - -**Run** - -Execute the playbook and examine the results. - - ansible-playbook -i inventory.yaml validation.yaml - -**sample output of wiring validation** - - "results": [ - { - "dest_port": "ethernet1/1/1", - "dest_switch": "site2-spine2", - "error_type": "link-missing", - "reason": "link is not found for source switch: site2-spine1,port: ethernet1/1/1", - "source_port": "ethernet1/1/1", - "source_switch": "site2-spine1" - }, - { - "dest_port": "ethernet1/1/2", - "dest_switch": "site2-spine1", - "error_type": "link-mismatch", - "reason": "Destination switch is not an expected value, expected switch: site2-spine1,port: ethernet1/1/2; actual switch: site1-spine2(svc-tag:J33FXC2, node_mac:e4:f0:04:9b:eb:dc), port: ethernet1/1/1", - "source_port": "ethernet1/1/1", - "source_switch": "site1-spine1" - } - ] - -**sample output of BGP validation** - - "results": [ - { - "bgp_neighbor": "10.9.0.1", - "bgp_state": "idle", - "error_type": "remote_port_down", - "possible_reason": "remote port site2-spine1 ethernet1/1/2 is down", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "-", - "bgp_state": "idle", - "error_type": "not_an_intended_neighbor", - "possible_reason": "neighbor 10.9.0.7 is not an intended, please add this neighbor in the intended_bgp_neighbors", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "1.1.1.1", - "error_type": "config_missing", - "possible_reason": "neighbor config missing", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "10.9.0.9", - "bgp_state": "idle", - "error_type": "remote_port_down", - "possible_reason": "remote port site2-spine1 ethernet1/1/3 is down", - "source_switch": "site1-spine2" - } - ] - -**sample output of VLT validation** - - "results": [ - { - "error_type": "secondary_mismatch", - "intended_primary": "site1-spine1", - "intended_secondary": "site2-spine2", - "possible_reason": "config mismatch as site2-spine2 is expected, but the actual secondary is site1-spine2 ", - "secondary": "site1-spine2" - }, - { - "error_type": "peer_missing", - "intended_primary": "site2-spine1", - "intended_secondary": "site2-spine2", - "possible_reason": "peer info is not configured or peer interface is down" - } - ] - -**sample output of MTU validation** - - "msg": { - "results": "There is no MTU mistmatch between neighbors" - } - - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/docs/os10_ntp.md b/ansible_collections/dellemc/os10/docs/os10_ntp.md deleted file mode 100644 index 17e879c6b..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_ntp.md +++ /dev/null @@ -1,124 +0,0 @@ -NTP role -======== - -This role facilitates the configuration of network time protocol (NTP) attributes. It specifically enables configuration of NTP server, NTP source, authentication, and broadcast service. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The NTP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_ntp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``server`` | list | Configures the NTP server (see ``server.*``) | os10 | -| ``server.ip`` | string (required) | Configures an IPv4 address for the NTP server (A.B.C.D format) | os10 | -| ``server.key`` | integer | Configures the peer authentication key for the NTP server | os10 | -| ``server.prefer`` | boolean | Configures the peer preference | os10 | -| ``server.state`` | string: absent,present\* | Deletes the NTP server if set to absent | os10 | -| ``source`` | string | Configures the interface for the source address | os10 | -| ``master`` | integer | Configures the local clock to act as the server | os10 | -| ``authenticate`` | boolean | Configures authenticate time sources | os10 | -| ``authentication_key`` | list | Configures authentication key for trusted time sources (see ``authentication_key.*``) | os10 | -| ``authentication_key.key_num`` | integer | Configures authentication key number | os10 | -| ``authentication_key.key_string_type`` | integer: 0,9 | Configures hidden authentication key string if the value is 9, and configures unencrypted authentication key string if the value is 0 | os10 | -| ``authentication_key.key_string`` | string | Configures the authentication key string | os10 | -| ``authentication_key.type`` | string: md5,sha1,sha2-256 | Configures the authentication type | os10 | -| ``authentication_key.state`` | string: absent,present\* | Deletes the authenticaton key if set to absent | os10 | -| ``trusted_key`` | list | Configures key numbers for trusted time sources (see ``trusted_key.*``) | os10 | -| ``trusted_key.key_num`` | integer | Configures the key number | os10 | -| ``trusted_key.state`` | string: absent,present\* | Deletes the trusted key if set to absent | os10 | -| ``intf`` | dictionary | Configures NTP on the interface (see ``intf.*``) | os10 | -| ``intf.<interface name>`` | dictionary | Configures NTP on the interface (see ``<interface name>.*``) | os10 | -| ``<interface name>.disable`` | boolean | Configures NTP disable on the interface | os10 | -| ``<interface name>.broadcast`` | boolean | Configures NTP broadcast client service on the interface | os10 | -| ``vrf`` | dictionary | Enables NTP on VRF (see ``vrf.*``) | os10 | -| ``vrf.name`` | string | Name of the VRF to enable NTP | os10 | -| ``vrf.state`` | string: absent,present\* | Disables NTP on the VRF if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_ntp* role to set the NTP server, source ip, authentication and broadcast service. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When the `os10_cfg_generate` variable is set to true, it generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. The example writes a simple playbook that only references the *os10_ntp* role. - -By including the role, you automatically get access to all of the tasks to configure NTP attributes. The sample *host_vars* is for os10. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - host: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_ntp: - source: ethernet 1/1/2 - master: 5 - authenticate: true - authentication_key: - - key_num: 123 - key_string_type: 9 - key_string: test - type: md5 - state: present - trusted_key: - - key_num: 1323 - state: present - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: present - intf: - ethernet 1/1/2: - disable: true - broadcast: true - vrf: - name: red - state: present - -**Simple playbook to setup NTP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_ntp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_prefix_list.md b/ansible_collections/dellemc/os10/docs/os10_prefix_list.md deleted file mode 100644 index dce141e8f..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_prefix_list.md +++ /dev/null @@ -1,104 +0,0 @@ -Prefix-list role -================ - -This role facilitates the configuration of a prefix-list. It supports the configuration of an IP prefix-list, and assigns the prefix-list to line terminals. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The prefix-list role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` value -- If `os10_cfg_generate` set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_prefix_list keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string (required): ipv4,ipv6 | Configures an L3 (IPv4/IPv6) prefix-list | os10 | -| ``name`` | string (required) | Configures the prefix-list name | os10 | -| ``description`` | string | Configures the prefix-list description | os10 | -| ``entries`` | list | Configures rules in the prefix-list (see ``seqlist.*``) | os10 | -| ``entries.number`` | int (required) | Specifies the sequence number of the prefix-list rule | os10 | -| ``entries.permit`` | boolean (required): true,false | Specifies the rule to permit packets if set to true, and specifies to reject packets if set to false | os10 | -| ``entries.net_num`` | string (required) | Specifies the network number | os10 | -| ``entries.mask`` | string (required) | Specifies the mask | os10 | -| ``entries.condition_list`` | list | Configures conditions to filter packets (see ``condition_list.*``)| os10 | -| ``condition_list.condition`` | list | Specifies the condition to filter packets from the source address | os10 | -| ``condition_list.prelen`` | string (required) | Specifies the allowed prefix length | os10 | -| ``entries.state`` | string: absent,present\* | Deletes the rule from the prefix-list if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the prefix-list if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_prefix_list* role to configure prefix-list for both IPv4 and IPv6. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_prefix_list* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: present - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_prefix_list - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_qos.md b/ansible_collections/dellemc/os10/docs/os10_qos.md deleted file mode 100644 index 584159707..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_qos.md +++ /dev/null @@ -1,90 +0,0 @@ -QoS role -======== - -This role facilitates the configuration quality of service (QoS) attributes like policy-map and class-map. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The QoS role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_qos keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``policy_map`` | list | Configures the policy-map (see ``policy_map.*``) | os10 | -| ``policy_map.name`` | string (required) | Configures the policy-map name | os10 | -| ``policy_map.type`` | string: qos\*, application, control-plane, network-qos, queuing in os10 | Configures the policy-map type | os10 | -| ``policy_map.state`` | string: present\*,absent | Deletes the policy-map if set to absent | os10 | -| ``class_map`` | list | Configures the class-map (see ``class_map.*``) | os10 | -| ``class_map.name`` | string (required) | Configures the class-map name | os10 | -| ``class_map.type`` | string: qos\*,application,control-plane,network-qos,queuing | Configures the class-map type | os10 | -| ``class_map.state`` | string: present\*,absent | Deletes the class-map if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_qos* role to configure the policy-map class-map. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_qos* role. By including the role, you automatically get access to all of the tasks to configure QoS features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_qos: - policy_map: - - name: testpolicy - type: qos - state: present - class_map: - - name: testclass - type: application - state: present - -**Simple playbook to setup qos — leaf.yaml** - - - hosts: leaf1 - roles: - - Dell-Networking.os10.os10_qos - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_raguard.md b/ansible_collections/dellemc/os10/docs/os10_raguard.md deleted file mode 100644 index abf7cf4af..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_raguard.md +++ /dev/null @@ -1,126 +0,0 @@ -IPv6 RA uard role -=================== - -This role facilitates the configuration of IPv6 RA Guard attributes. It specifically enables configuration of IPv6 RA Guard feature enable/disable, IPv6 RA Guard policy definition and policy parameter configuration, and attachment of IPv6 RA Guard policy to an interface. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The IPv6 RA Guard role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_raguard keys** - - -| Key | Type | Description |Support | -|--------------------------------------|-------------------------|----------------------------------------------------------|---------| -| ``enable`` | boolean | Enables IPv6 RA-Guard feature | os10 | -| ``policy`` | list | Configures the IPv6 RA Guard policy (see ``policy.*``) | os10 | -| ``policy.state`` | string: absent/present\*| Deletes the policy if set to absent | os10 | -| ``policy.name`` | string (required) | Configures the IPv6 RA Guard policy name | os10 | -| ``policy.device_role.value`` | string (required) | Configures the device role for a policy | os10 | -| ``policy.device_role.state`` | string: absent,present\*| Deletes the device role if set to absent | os10 | -| ``policy.managed_config_flag.value`` | string | Configures the managed config flag param for a policy | os10 | -| ``policy.managed_config_flag.state`` | string: absent,present\*| Deletes the managed config flag if set to absent | os10 | -| ``policy.other_config_flag.value`` | string | Configures the other config flag param for a policy | os10 | -| ``policy.other_config_flag.state`` | string: absent,present\*| Deletes the other config flag if set to absent | os10 | -| ``policy.mtu.value`` | integer | Configures the MTU param for a policy | os10 | -| ``policy.mtu.state`` | string: absent,present\*| Deletes the MTU if set to absent | os10 | -| ``policy.reachable_time.value`` | integer | Configures the reachable time param for a policy | os10 | -| ``policy.reachable_time.state`` | string: absent,present\*| Deletes the reachable time if set to absent | os10 | -| ``policy.retrans_timer.value`` | integer | Configures the retransmit timer param for a policy | os10 | -| ``policy.retrans_timer.state`` | string: absent,present\*| Deletes the retransmit timer if set to absent | os10 | -| ``policy.router_lifetime.value`` | integer | Configures the router lifetime param for a policy | os10 | -| ``policy.router_lifetime.state`` | string: absent,present\*| Deletes the router lifetime if set to absent | os10 | -| ``policy.router_preference.value`` | string | Configures the router preference param for a policy | os10 | -| ``policy.router_preference.state`` | string: absent,present\*| Deletes the router preference if set to absent | os10 | -| ``policy.match`` | list | Configures the prefix/ACL/MAC list param for a policy | os10 | -| ``policy.match.type`` | string | Configures the prefix/ACL/MAC type for a policy | os10 | -| ``policy.match.name`` | string | Configures the prefix/ACL/MAC name for a policy | os10 | -| ``policy.match.state`` | string: absent,present\*| Deletes the prefix/ACL/MAC if set to absent | os10 | -| ``intf`` | dictionary | Configures IPv6 RA Guard on the interface (see``intf.*``) | os10 | -| ``intf.<interface name>`` | dictionary | Configures RA Guard on the interface (see``<interface name>.*``)| os10 | -| ``<interface name>.policy_name`` | String | Configures RA Guard policy name to be attached on an interface | os10 | -| ``<interface name>.vlan`` | String | Configures VLAN name to which policy to be attached on an interface| os10| -| ``<interface name>.state`` | String: absent,present\*| Deletes the policy if set to absent an interface | os10| - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_raguard* role to configure the IPv6 RA Guard feature enable/disable, IPv6 RA Guard Policy defination and policy parameter configuration, Attachment of IPv6 RA Guard policy to an interface. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, it generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. The example writes a simple playbook that only references the *os10_raguard* role. By including the role, you automatically get access to all of the tasks to configure IPv6 RA Guard attributes. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - host: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_raguard: - enable: true - policy: - - policy_name: test - device_role: - value: router - state: present - managed_config_flag: - value: "on" - state: present - mtu: - value: 1280 - state: present - match: - - type: prefix_list - name: test_prefix - state: present - state: present - intf: - ethernet 1/1/2: - policy_name: test - vlan: 10 - state: present - -**Simple playbook to setup IPv6 RA Guard — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_raguard - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_route_map.md b/ansible_collections/dellemc/os10/docs/os10_route_map.md deleted file mode 100644 index 1160ca48c..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_route_map.md +++ /dev/null @@ -1,190 +0,0 @@ -Route-map role -============== - -This role facilitates the configuration of route-map attributes. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The route-map role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_route_map keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``route_map`` | list | Configures the route-map (see ``route_map.*``) | os10 | -| ``route_map.name`` | string (required) | Configures the route-map name | os10 | -| ``route_map.permit`` | boolean | Configures permit/deny set operations | os10 | -| ``route_map.seq_num`` | integer | Configures the sequence number | os10 | -| ``route_map.continue`` | integer | Configures the next sequence number | os10 | -| ``route_map.set`` | dictionary | Configures route-map to set values in the destination routing protocol (see ``set.*``) | os10 | -| ``set.local_pref`` | integer | Configures the BGP local preference path attribute | os10 | -| ``set.metric`` | string | Configures a specific value to add or subtract from the existing metric value ("+ <value>", "- <value>", <value> format) | os10 | -| ``set.metric_type`` | string: internal,type-1,type-2 | Configures the metric type for the destination routing protocol | os10 | -| ``set.origin`` | string: igp,egp,incomplete | Configures the BGP origin attribute | os10 | -| ``set.weight`` | integer | Configures the weight for the BGP route | os10 | -| ``set.comm_list`` | dictionary | Configures the BGP community list (see ``comm_list.*``) | os10 | -| ``comm_list.add`` | string | Adds the community attribute of a BGP update | os10 | -| ``comm_list.delete`` | string | Deletes a community attribute of a BGP update | os10 | -| ``set.community`` | string | Configures the community attribute for a BGP route update | os10 | -| ``set.extcomm_list`` | dictionary | Configures the BGP extcommunity list (see ``extcomm_list.*``) | os10 | -| ``extcomm_list.add`` | string | Adds an extended community attribute of a BGP update | os10 | -| ``extcomm_list.delete`` | string | Deletes the extended community attribute of a BGP update | os10 | -| ``set.extcommunity`` | string | Configures the extended community attribute for a BGP route update | os10 | -| ``set.next_hop`` | list | Configures the next-hop address (see ``next_hop.*``) | os10 | -| ``next_hop.type`` | string: ip,ipv6 | Configures the type of the next-hop address | os10 | -| ``next_hop.address`` | string | Configures the next-hop address | os10 | -| ``next_hop.track_id`` | integer | Configures the object track ID | os10 | -| ``next_hop.state`` | string: present\*,absent | Deletes the next-hop address if set to absent | os10 | -| ``route_map.match`` | list | Configures the route-map to match values from the route table (see ``match.*``) | os10 | -| ``match.ip_type`` | string (required): ipv4,ipv6 | Configures the IPv4/IPv6 address to match | os10 | -| ``match.access_group`` | string | Configures the access-group or list to match | os10 | -| ``match.source_protocol_ebgp`` | string | Configures the source protocol to eBGP to match | os10 | -| ``match.source_protocol_ibgp`` | string | Configures the source protocol to iBGP to match | os10 | -| ``match.source_protocol_evpn`` | string | Configures the source protocol to EVPN to match | os10 | -| ``match.source_protocol_static`` | string | Configures the source protocol to static to match | os10 | -| ``match.source_protocol_connected`` | string | Configures the source protocol to connected to match | os10 | -| ``match.source_protocol_ospf`` | string | Configures the source protocol to OSPF to match | os10 | -| ``match.prefix_list`` | string | Configures the IP prefix-list to match against | os10 | -| ``route_map.state`` | string, choices: present\*,absent | Deletes the route-map if set to absent | os10 | -| ``as_path`` | list | Configures the BGP AS path filter (see ``as_path.*``) | os10 | -| ``as_path.access_list`` | string (required) | Configures the access-list name | os10 | -| ``as_path.permit`` | boolean (required) | Configures an AS path to accept or reject | os10 | -| ``as_path.regex``| string (required) | Configures a regular expression | os10 | -| ``as_path.state`` | string: absent,present\* | Deletes the BGP as path filter if set to absent | os10 | -| ``community_list`` | list | Configures a community list entry (see ``community_list.*``) | os10 | -| ``community_list.type`` | string (required): standard,expanded | Configures the type of community-list entry | os10 | -| ``community_list.name`` | string (required) | Configures the name of community-list entry | os10 | -| ``community_list.permit`` | boolean(required) | Configures the community to accept or reject | os10 | -| ``community_list.regex`` | string (required) | Configures the regular expression for extended community list; mutually exclusive with *community_list.community* | os10 | -| ``community_list.community`` | string (required) | Configures a well-known community or community number for standard community list; mutually exclusive with *community_list.regex* | os10 | -| ``community_list.state`` | string: absent,present\* | Deletes the community list entry if set to absent | os10 | -| ``extcommunity_list`` | list | Configures extcommunity-list entry (see ``extcommunity_list.*``) | os10 | -| ``extcommunity_list.type`` | string (required): standard,expanded | Configures the type of extcommunity-list entry | os10 | -| ``extcommunity_list.name`` | string (required) | Configures the name of extcommunity-list entry | os10 | -| ``extcommunity_list.permit`` | boolean(required) | Configures the extcommunity to accept or reject | os10 | -| ``extcommunity_list.regex`` | string (required) | Configures the regular expression for the extended extcommunity list; mutually exclusive with *extcommunity_list.community* | os10 | -| ``extcommunity_list.community`` | string (required) | Configures the extended community for standard community-list; mutually exclusive with *extcommunity_list.regex* | os10 | -| ``extcommunity_list.state`` | string: absent,present\* | Deletes the extcommunity-list entry if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_route_map* role for the route-map, policy-map, and class-map. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_route_map* role. By including the role, you automatically get access to all of the tasks to configure route-map features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: present - community_list: - - type: expanded - name: qq - permit: true - regex: aaa - state: present - - type: standard - name: qqq - permit: false - community: internet - state: present - extcommunity_list: - - type: expanded - name: qq - permit: true - regex: aaa - state: present - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: present - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - source_protocol_ebgp: present - source_protocol_ibgp: present - source_protocol_evpn: present - source_protocol_static: present - source_protocol_ospf: present - source_protocol_connected: present - set: - local_pref: 1200 - metric_type: internal - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: present - -**Simple playbook to setup QoS —leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_route_map - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_snmp.md b/ansible_collections/dellemc/os10/docs/os10_snmp.md deleted file mode 100644 index a875a2340..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_snmp.md +++ /dev/null @@ -1,269 +0,0 @@ -SNMP role -========= - -This role facilitates the configuration of global SNMP attributes. It supports the configuration of SNMP server attributes including users, group, community, location, and traps. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The SNMP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_snmp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``snmp_contact`` | string | Configures SNMP contact information | os10 | -| ``snmp_location`` | string | Configures SNMP location information | os10 | -| ``snmp_community`` | list | Configures SNMP community information (see ``snmp_community.*``) | os10 | -| ``snmp_community.name`` | string (required) | Configures the SNMP community string | os10 | -| ``snmp_community.access_mode`` | string: ro,rw | Configures access-mode for the community | os10 | -| ``snmp_community.access_list`` | dictionary | Configures ACL for the community (see ``snmp_community.access_list.*``) | os10 | -| ``snmp_community.access_list.name`` | string | Specifies the name of the ACL for the community | os10 | -| ``snmp_community.access_list.state`` | string: absent,present\* | Deletes the ACL from the community if set to absent | os10 | -| ``snmp_community.state`` | string: absent,present\* | Deletes the SNMP community information if set to absent | os10 | -| ``snmp_engine_id`` | string | Configures SNMP local EngineID | os10 | -| ``snmp_remote_engine_id`` | list | Configures SNMP remote engine information (see ``snmp_remote_engine_id.*``) | os10 | -| ``snmp_remote_engine_id.ip`` | string | Configures the IP address of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.engine_id`` | string | Configures the EngineID of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.udpport`` | string | Configures the UDP port of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.state`` | string: absent,present\* | Deletes the SNMP remote engine information if set to absent | os10 | -| ``snmp_group`` | list | Configures the SNMP group information (see ``snmp_group.*``) | os10 | -| ``snmp_group.name`` | string | Configures the name of the SNMP group | os10 | -| ``snmp_group.version`` | string: 1,2c,3 | Configures the version of the SNMP group | os10 | -| ``snmp_group.security_level`` | string: auth,noauth,priv | Configures the security level of SNMP group for version 3 | os10 | -| ``snmp_group.access_list`` | dictionary | Configures the access list of the SNMP group (see ``snmp_group.access_list.*``)| os10 | -| ``snmp_group.access_list.name`` | string | Specifies the name of the access list for the SNMP group wtih version 1 or 2c | os10 | -| ``snmp_group.access_list.state`` | string: absent,present\* | Deletes the access list from the SNMP group if set to absent | os10 | -| ``snmp_group.read_view`` | dictionary | Configures the read view of the SNMP group (see ``snmp_group.read_view.*``) | os10 | -| ``snmp_group.read_view.name`` | string | Specifies the name of the read view for the SNMP group | os10 | -| ``snmp_group.read_view.state`` | string: absent,present\* | Deletes the read view from the SNMP group if set to absent | os10 | -| ``snmp_group.write_view`` | dictionary | Configures the write view of the SNMP group (see ``snmp_group.write_view``) | os10 | -| ``snmp_group.write_view.name`` | string | Specifies the name of the write view for the SNMP group | os10 | -| ``snmp_group.write_view.state`` | string: absent,present\* | Deletes the write view from the SNMP group if set to absent | os10 | -| ``snmp_group.notify_view`` | dictionary | Configures the notify view of the SNMP group (see ``snmp_group.notify_view.*``) | os10 | -| ``snmp_group.notify_view.name`` | string | Specifies the name of the notify view for the SNMP group | os10 | -| ``snmp_group.notify_view.state`` | string: absent,present\* | Deletes the notify view from the SNMP group if set to absent | os10 | -| ``snmp_group.state`` | string: absent,present\* | Deletes the SNMP group if set to absent | os10 | -| ``snmp_host`` | list | Configures SNMP hosts to receive SNMP traps (see ``snmp_host.*``) | os10 | -| ``snmp_host.ip`` | string | Configures the IP address of the SNMP trap host | os10 | -| ``snmp_host.communitystring`` | string | Configures the SNMP community string of the trap host for version 1 or 2c | os10 | -| ``snmp_host.udpport`` | string | Configures the UDP number of the SNMP trap host (0 to 65535) | os10 | -| ``snmp_host.version`` | string: 1,2c,3 (required) | Specifies the SNMP version of the host (1 or 2c or 3 in os10) | os10 | -| ``snmp_host.security_level`` | string: auth,noauth,priv | Configures the security level of the SNMP host for version 3 | os10 | -| ``snmp_host.security_name`` | string | Configures the security name of the SNMP host for version 3 | os10 | -| ``snmp_host.notification_type`` | string: traps,informs | Configures the notification type of the SNMP host | os10 | -| ``snmp_host.trap_categories`` | dictionary | Enables or disables different trap categories for the SNMP host (see ``snmp_host.trap_categories.*``) | os10 | -| ``snmp_host.trap_categories.dom`` | boolean: true,false | Enables or disables dom category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.entity`` | boolean: true,false | Enables or disables entity category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.envmon`` | boolean: true,false | Enables or disables envmon category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.lldp`` | boolean: true,false | | Enables or disables lldp category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.snmp`` | boolean: true,false | | Enables or disables snmp category traps for the SNMP host | os10 | -| ``snmp_host.state`` | string: absent,present\* | Deletes the SNMP trap host if set to absent | os10 | -| ``snmp_source_interface`` | string | Configures the source interface for SNMP | os10 | -| ``snmp_traps`` | list | Configures SNMP traps (see ``snmp_traps.*``) | os10 | -| ``snmp_traps.name`` | string | Enables SNMP traps | os10 | -| ``snmp_traps.state`` | string: absent,present\* | Deletes the SNMP trap if set to absent | os10 | -| ``snmp_user`` | list | Configures the SNMP user information (see ``snmp_user.*``) | os10 | -| ``snmp_user.name`` | string | Specifies the name of the SNMP user | os10 | -| ``snmp_user.group_name`` | string | Specifies the group of the SNMP user | os10 | -| ``snmp_user.version `` | string: 1,2c,3 | Configures the version for the SNMP user | os10 | -| ``snmp_user.access_list`` | string | Configures the access list for the SNMP user with version 1 or 2c | os10 | -| ``snmp_user.authentication`` | dictionary | Configures the authentication information for the SNMP user with version 3 (see ``snmp_user.authentication.*``) | os10 | -| ``snmp_user.authentication.localized`` | boolean: true,false | Configures the password to be in localized key format or not | os10 | -| ``snmp_user.authentication.algorithm`` | string: md5, sha | Configures the authentication algorithm for the SNMP user | os10 | -| ``snmp_user.authentication.password`` | string | Configures the authentication password for the SNMP user; if localized is true it should be a hexadecimal string prefixed with 0x and qouted | os10 | -| ``snmp_user.authentication.encryption`` | dictionary | Configures the encryption parameters for the SNMP user | os10 | -| ``snmp_user.authentication.encryption.algorithm`` | string: aes,des | Configures the encryption algorithm for the SNMP user | os10 | -| ``snmp_user.authentication.encryption.password`` | string | Configures encryption password for the SNMP user; if localized is true it should be a hexadecimal string prefixed with 0x and qouted | os10 | -| ``snmp_user.remote`` | dictionary | Configures the remote SNMP entity the user belongs to (see ``snmp_user.remote.*``) | os10 | -| ``snmp_user.remote.ip`` | string | Configures the IP address of the remote entity for the SNMP user | os10 | -| ``snmp_user.remote.udpport`` | string | Configures the UDP port of the remote entiry for the SNMP user | os10 | -| ``snmp_user.state`` | string: absent,present\* | Deletes the SNMP user if set to absent | os10 | -| ``snmp_view`` | list | Configures SNMPv3 view information (see ``snmp_view.*``) | os10 | -| ``snmp_view.name`` | string | Configures the SNMP view name (up to 20 characters) | os10 | -| ``snmp_view.oid_subtree`` | integer | Configures the SNMP view for the OID subtree | os10 | -| ``snmp_view.include`` | boolean: true,false | Specifies if the MIB family should be included or excluded from the view | os10 | -| ``snmp_view.state`` | string: absent,present\* | Deletes the SNMP view if set to absent | os10 | -| ``snmp_vrf`` | string | Configures the VRF for SNMP | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_snmp* role to completely set up the SNMP server attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_snmp* role. By including the role, you automatically get access to all of the tasks to configure SNMP features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_snmp: - snmp_contact: test - snmp_location: Chennai - snmp_source_interface: loopback 10 - snmp_vrf: test - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: present - state: present - snmp_engine_id: 123456789 - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - udpport: 162 - state: present - snmp_traps: - - name: all - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - trap_categories: - dom: true - lldp: true - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: true - snmp: true - state: present - snmp_group: - - name: group_1 - version: "2c" - state: present - access_list: - name: test_acl - state: present - read_view: - name: view_1 - state: present - write_view: - name: view_2 - state: present - notify_view: - name: view_3 - state: present - - name: group_2 - version: 3 - security_level: priv - state: present - read_view: - name: view_1 - state: absent - notify_view: - name: view_3 - state: present - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - remote: - ip: 1.1.1.1 - udpport: 200 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: present - - name: user_4 - group_name: group_1 - version: 3 - state: present - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present - -**Simple playbook to setup SNMP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_snmp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_system.md b/ansible_collections/dellemc/os10/docs/os10_system.md deleted file mode 100644 index 119138afc..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_system.md +++ /dev/null @@ -1,126 +0,0 @@ -System role -=========== - -This role facilitates the configuration of global system attributes. It specifically enables configuration of hostname and hashing algorithm. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The System role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_system keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``hostname`` | string | Configures a hostname to the device (no negate command) | os10 | -| ``hardware_forwarding`` | string: scaled-l2,scaled-l3-routes,scaled-l3-hosts | Configures hardware forwarding mode | os10 | -| ``hash_algo`` | dictionary | Configures hash algorithm commands (see ``hash_algo.*``) | os10 | -| ``hash_algo.algo`` | list | Configures hashing algorithm (see ``algo.*``) | os10 | -| ``algo.name`` | string (required) | Configures the name of the hashing algorithm | os10 | -| ``algo.mode`` | string (required) | Configures the hashing algorithm mode | os10 | -| ``algo.state`` | string: absent,present\* | Deletes the hashing algorithm if set to absent | os10 | -| ``load_balance`` | dictionary | Configures the global traffic load balance (see ``load_balance.*``) | os10 | -| ``load_balance.ingress_port`` | boolean: true,false | Specifies whether to use the source port ID for the hashing algorithm | os10 | -| ``load_balance.ip_selection`` | list | Configures IPv4 key fields to use in hashing algorithm; | os10 | -| ``ip_selection.field`` | string | Configures IPv4 key fields to use in hashing algorithm | os10 | -| ``ip_selection.state`` | string: absent,present\* | Deletes the IPv4 key fields if set to absent | os10 | -| ``load_balance.ipv6_selection`` | list | Configures IPv6 key fields to use in hashing algorithm | os10 | -| ``ipv6_selection.field`` | string | Configures IPv6 key fields to use in hashing algorithm | os10 | -| ``ipv6_selection.state`` | string: absent,present\* | Deletes the IPv6 key fields if set to absent | os10 | -| ``load_balance.mac_selection`` | list | Configures MAC key fields to use in hashing algorithm (see ``mac_selection.*``) | os10 | -| ``mac_selection.field`` | string | Configures MAC key fields to use in hashing algorithm | os10 | -| ``mac_selection.state`` | string: absent,present\* | Deletes the MAC key fields if set to absent | os10 | -| ``load_balance.tcp_udp_selection`` | list | Configures TCP UDP ports for load balancing configurations (see ``tcp_udp_selection.*``) | os10 | -| ``tcp_udp_selection.field`` | string | Configures TCP UDP port fields to use in hashing algorithm | os10 | -| ``tcp_udp_selection.state`` | string: absent,present\* | Deletes the TCP UDP ports if set to absent | os10 | -| ``min_ra`` | string | Configures global RA minimum interval value, applicable to all interfaces across VRFs | os10 | -| ``max_ra`` | string | Configures global RA maximum interval value, applicable to all interfaces across VRFs | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_system role* to completely set the NTP server, hostname, enable password, management route, hash alogrithm, clock, line terminal, banner and reload type. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The system role writes a simple playbook that only references the *os10_system* role. By including the role, you automatically get access to all of the tasks to configure system features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_system: - hostname: os10 - hardware_forwarding: scaled-l3-hosts - hash_algo: - algo: - - name: lag - mode: crc - state: present - - name: ecmp - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: source-ip - state: present - ipv6_selection: - - field: source-ip - state: present - mac_selection: - - field: source-mac - state: present - tcp_udp_selection: - - field: l4-source-port - state: present - max_ra: 15 - min_ra: 10 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_system - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_template.md b/ansible_collections/dellemc/os10/docs/os10_template.md deleted file mode 100644 index d7faf0132..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_template.md +++ /dev/null @@ -1,75 +0,0 @@ -Template role -============== - -This role provides access to structured data from show commands. This role facilitates the TEXTFSM parsing engine. TextFSM is a template based state machine . It takes the raw string input from the CLI of network devices, run them through a TEXTFSM template and return structured text in the form of a Python dictionary. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Template role is highly customizable, and it works with separate template definitions which contain variables and rules with regular expressions. This library is very helpful to parse any text-based CLI output from network devices. The Template role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- Variables and values are case-sensitive - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_template* role to parse any text-based CLI output. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. All the supported CLI commands are imported as tasks in tasks/main.yml. - -For the *os10_template* role plugins to be used, you may need to specify the actual path of role in *ansible.cfg* file. - -**Sample ansible.cfg** - - action_plugins = ../../plugins/modules/ - - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> ansible_network_os=dellemc.os10.os10 ansible_ssh_user=xxxxx ansible_ssh_pass=xxxxx - - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_template - -**Example playbook to run specific show command — leaf.yaml** - - - --- - - name: PARSE SHOW IP INTERFACE BRIEF - hosts: leaf1 - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - - - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_uplink.md b/ansible_collections/dellemc/os10/docs/os10_uplink.md deleted file mode 100644 index 8ffeb0e71..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_uplink.md +++ /dev/null @@ -1,109 +0,0 @@ -Uplink role -=========== - -This role facilitates the configuration of uplink failure detection feature attributes. It specifically enables configuration of association between upstream and downstream interfaces known as uplink-state group. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Uplink role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_uplink keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``uplink_state_group`` | list | Configures the uplink state group (see ``uplink_state_group.*``) | os10 | -| ``uplink_state_group.id`` | integer | Configures the uplink state group instance | os10 | -| ``uplink_state_group.enable`` | boolean: True,False | Enables the uplink state group instance | os10 | -| ``uplink_state_group.defer_time`` | integer | Configures defer timer for the uplink state group | os10 | -| ``uplink_state_group.uplink_type`` | list | Configures the upstream and downstream attribute (see ``uplink_type.*``) | os10 | -| ``uplink_type.type`` | string: upstream,downstream | Configures the uplink type | os10 | -| ``uplink_type.intf`` | string | Configures the uplink interface | os10 | -| ``uplink_type.state`` | string: absent,present\* | Removes the uplink stream if set to absent | os10 | -| ``uplink_state_group.downstream`` | dictionary | Configures downstream information for the uplink state group (see ``downstream.*``) | os10 | -| ``downstream.disable_links`` | integer | Configures number of downstream links to be disabled. String 'all' can be used to disable all downstream links | os10 | -| ``downstream.auto_recover`` | boolean: True,False | Enables or disables auto recover for downstream interfaces | os10 | -| ``uplink_state_group.state`` | string: absent,present\* | Removes the uplink state group instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables -******************** - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_uplink role* to completely set the uplink sate group instance, and upstream, downstream interfaces. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The uplink role writes a simple playbook that only references the *os10_uplink* role. By including the role, you automatically get access to all of the tasks to configure uplink features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet1/1/2-1/1/5" - state: "present" - state: "present" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - - id: 2 - enable: True - state: "present" - -> **NOTE**: Interfaces should be created using the *os10_interface* role. - -**Simple playbook to setup uplink — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_uplink - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_users.md b/ansible_collections/dellemc/os10/docs/os10_users.md deleted file mode 100644 index 09d55f1dd..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_users.md +++ /dev/null @@ -1,89 +0,0 @@ -Users role -========== - -This role facilitates the configuration of global system user attributes, and it supports the configuration of CLI users. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Users role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_users list keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``username`` | string (required) | Configures the username which must adhere to specific format guidelines (valid usernames begin with A-Z, a-z, or 0-9 and can also contain `@#$%^&*-_= +;<>,.~` characters) | os10 | -| ``password`` | string | Configures the password set for the username; password length must be at least eight characters | os10 | -| ``role`` | string | Configures the role assigned to the user | os10 | -| ``state`` | string: absent,present\* | Deletes a user account if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_users* role to configure global system user attributes. It creates a hosts file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file. It writes a simple playbook that only references the *os10_users* role. By including the role, you automatically get access to all of the tasks to configure user features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: present - - username: u1 - password: a1a2a3a4!@#$ - role: netadmin - state: present - -**Simple playbook to setup users — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_users - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_vlan.md b/ansible_collections/dellemc/os10/docs/os10_vlan.md deleted file mode 100644 index 71a7adf9a..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_vlan.md +++ /dev/null @@ -1,123 +0,0 @@ -VLAN role -========= - -This role facilitates configuring virtual LAN (VLAN) attributes. It supports the creation and deletion of a VLAN and its member ports. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VLAN role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- For variables with no state variable, setting an empty value for the variable negates the corresponding configuration -- `os10_vlan` (dictionary) holds the key with the VLAN ID key and default-vlan key. -- VLAN ID key should be in format "vlan ID" (1 to 4094) -- Variables and values are case-sensitive - -**os10_vlan** - -| Key | Type | Notes | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``default_vlan_id`` | integer | Configures the vlan-id as the default VLAN for an existing VLAN | os10 | - -**VLAN ID keys** - -| Key | Type | Notes | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``description`` | string | Configures a single line description for the VLAN | os10 | -| ``tagged_members`` | list | Specifies the list of port members to be tagged to the corresponding VLAN (see ``tagged_members.*``) | os10 | -| ``tagged_members.port`` | string | Specifies valid device interface names to be tagged for each VLAN | os10 | -| ``tagged_members.state`` | string: absent,present | Deletes the tagged association for the VLAN if set to absent | os10 | -| ``untagged_members`` | list | Specifies the list of port members to be untagged to the corresponding VLAN (see ``untagged_members.*``) | os10 | -| ``untagged_members.port`` | string | Specifies valid device interface names to be untagged for each VLAN | os10 | -| ``untagged_members.state`` | string: absent,present | Deletes the untagged association for the VLAN if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the VLAN corresponding to the ID if set to absent | os10 | -| ``virtual_gateway_ip`` | string | Configures an anycast gateway IPv4 address for VLAN interfaces| os10 | -| ``virtual_gateway_ipv6`` | string | Configures an anycast gateway IPv6 address for VLAN interfaces| os10 | -| ``ip_and_mask`` | string | Configures the specified IP address to the interface | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars directories* or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -## Example playbook - -This example uses the *os10_vlan* role to setup the VLAN ID and name, and it configures tagged and untagged port members for the VLAN. You can also delete the VLAN with the ID or delete the members associated to it. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vlan* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_vlan: - default_vlan_id: 2 - vlan 100: - description: "Blue" - tagged_members: - - port: ethernet 1/1/32 - state: present - - port: ethernet 1/1/31 - state: present - untagged_members: - - port: ethernet 1/1/30 - state: present - - port: ethernet 1/1/29 - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" - vlan 10: - description: "vlan with anycast GW" - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - state: "present" - -> **NOTE**: Interfaces should be created using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vlan - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_vlt.md b/ansible_collections/dellemc/os10/docs/os10_vlt.md deleted file mode 100644 index 85ed917a2..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_vlt.md +++ /dev/null @@ -1,108 +0,0 @@ -VLT role -======== - -This role facilitates the configuration of the basics of virtual link trunking (VLT) to provide a loop-free topology. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VLT role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables . - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vlt keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``domain`` | integer (required) | Configures the VLT domain identification number (1 to 1000) | os10 | -| ``backup_destination`` | string | Configures an IPv4 address for the VLT backup link (A.B.C.D format or X:X:X:X::X format) | os10 | -| ``destination_type`` | string | Configures the backup destination based on this destination type (IPv4 or IPv6)| os10 | -| ``backup_destination_vrf`` | string | Configures the virtual routing and forwarding (VRF) instance through which the backup destination IP is reachable (*vrfname* must be present) | os10 | -| ``discovery_intf`` | string | Configures the discovery interface for the VLT domain (range of interfaces)| os10 | -| ``discovery_intf_state`` | string: absent,present | Deletes the discovery interfaces for the VLT domain if set to absent | os10 | -| ``peer_routing`` | boolean | Configures VLT peer routing | os10 | -| ``priority`` | integer (default:32768) | Configures VLT priority | os10 | -| ``vlt_mac`` | string | Configures the VLT MAC address | os10 | -| ``vlt_peers`` | dictionary | Contains objects to configure the VLT peer port-channel (see ``vlt_peers.*``) | os10 | -| ``vlt_peers.<portchannelid>`` | dictionary | Configures the VLT peer port-channel (`Po <portchannelid> value`) | os10 | -| ``vlt_peers.<portchannelid>.peer_lag`` | integer | Configures the port-channel ID of the VLT peer lag | os10 | -| ``state`` | string: absent,present | Deletes the VLT instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network OS roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Dependencies ------------- - -The *os10_vlt* role is built on modules included in the core Ansible code. These modules were added in ansible version 2.2.0. - -Example playbook ----------------- - -This example uses the *os10_vlt* role to setup a VLT-domain. It creates a *hosts* file with the switch details and corresponding variables.The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vlt* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - backup_destination_vrf: - discovery_intf: 1/1/12 - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: present - -> **NOTE**: Discovery interface must not be in switchport mode and can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vlt - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_vrf.md b/ansible_collections/dellemc/os10/docs/os10_vrf.md deleted file mode 100644 index 464efc5bd..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_vrf.md +++ /dev/null @@ -1,143 +0,0 @@ -VRF role -======== - -This role facilitates to configure the basics of virtual routing and forwarding (VRF) that helps in the partition of physical routers to multiple virtual routers. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VRF role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the variable `ansible_network_os` that can take the `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vrf keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``vrfdetails`` | list | Configures the list of VRF instances (see ``instances.*``) | os10 | -| ``vrfdetails.vrf_name`` | string | Specifies the VRF instance name (default is management) | os10 | -| ``vrfdetails.state`` | string | Deletes the VRF instance name if set to absent | os10 | -| ``vrfdetails.ip_route_import`` | string | Configures VRF IP subcommands | os10 | -| ``ip_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ip_route_import.route_map_value`` | string | Configures the route-map value | os10 | -| ``ip_route_import.state`` | string | Deletes the IP configuration if set to absent | os10 | -| ``vrfdetails.ip_route_export`` | string | Configures VRF IP subcommands | os10 | -| ``ip_route_export.community_value`` | string | Configures the route community value | os10 | -| ``ip_route_export.route_map_value`` | string | Configures the route-map value | os10 | -| ``ip_route_export.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.ipv6_route_import`` | string | Configures VRF IPv6 subcommands | os10 | -| ``ipv6_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ipv6_route_import.route_map_value`` | string | Configures the route-map value | os10 | -| ``ipv6_route_import.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.ipv6_route_export`` | string | Configures VRF IPv6 subcommands | os10 | -| ``ipv6_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ipv6_route_export.route_map_value`` | string | Configures the route-map value | os10 | -| ``ipv6_route_import.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.map_ip_interface`` | list | Specifies a list of valid interface names | os10 | -| ``map_ip_interface.intf_id`` | string | Specifies a valid interface name | os10 | -| ``map_ip_interface.state`` | string | Deletes VRF association in the interface if set to absent | os10 | -| ``upd_src_ip_loopback_id`` | string | Configures the source IP for any leaked route in VRF from the provided loopback ID, delete if empty string| os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Dependencies ------------- - -The *os10_vrf* role is built on modules included in the core Ansible code. These modules were added in ansible version 2.2.0 - -Example playbook ----------------- - -This example uses the *os10_vrf* role to setup a VRF and associate it to an interface. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that references the *os10_vrf* role. -*upd_src_ip_loopback_id* has an dependency with association of the interface in a VRF, and the *os10_vrf* role needs to be invoked twice with different input dictionary one for the create and one for *upd_src_ip_loopback_id*. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - os10_vrf: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - ip_route_import: - community_value: "10:20" - state: "present" - route_map_value: "test4" - ip_route_export: - community_value: "30:40" - state: "present" - route_map_value: "test3" - ipv6_route_import: - community_value: "40:50" - state: "absent" - route_map_value: "test2" - ipv6_route_export: - community_value: "60:70" - state: "absent" - route_map_value: "test2" - map_ip_interface: - - intf_id : "loopback11" - state : "present" - - os_vrf_upd_src_loopback: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - upd_src_ip_loopback_id: 11 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrf - -**Simple playbook with `upd_src_ip_loopback_id` — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrf - - hosts: leaf1 - vars: - os10_vrf: "{{ os_vrf_upd_src_loopback }}" - roles: - - dellemc.os10.os10_vrf - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_vrrp.md b/ansible_collections/dellemc/os10/docs/os10_vrrp.md deleted file mode 100644 index 299166bff..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_vrrp.md +++ /dev/null @@ -1,139 +0,0 @@ -VRRP role -========= - -This role facilitates configuring virtual router redundancy protocol (VRRP) attributes. It supports the creation of VRRP groups for interfaces and setting the VRRP group attributes. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VRRP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_vrrp` (dictionary) holds a dictionary with the interface name key -- Interface name can correspond to any of the valid OS10 interface with a unique interface identifier name -- Physical interfaces names must be in *<interfacename> <tuple>* format (for example *fortyGigE 1/1*) -- Variables and values are case-sensitive - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``vrrp`` | dictionary | Configures VRRP commands (see ``vrrp.*``) | os10 | -| ``version`` | dictionary | Configures VRRP version | os10 | -| ``vrrp_active_active_mode`` | dictionary | Configures VRRP active-active mode | os10 | -| ``delay_reload`` | integer | Configures the minimum delay timer applied after boot (0 to 900) | os10 | -| ``vrrp_group`` | list | Configures VRRP group commands (see ``vrrp_group.*``) | os10 | -| ``vrrp_group.type`` | string: ipv6,ipv4 | Specifies the type of the VRRP group | os10 | -| ``vrrp_group.group_id`` | integer (required) | Configures the ID for the VRRP group (1 to 255) | os10 | -| ``vrrp_group.virtual_address`` | string | Configures a virtual-address to the VRRP group (A.B.C.D format) | os10 | -| ``virtual_address.ip`` | string | Configures a virtual ip address (A.B.C.D format) | os10 | -| ``virtual_address.state`` | string: present\*,absent | Configures/unconfigures a virtual-address (A.B.C.D format) | os10 | -| ``vrrp_group.preempt`` | boolean: true\*,false | Configures preempt mode on the VRRP group | os10 | -| ``vrrp_group.priority`` |integer | Configures priority for the VRRP group (1 to 255; default 100) | os10 | -| ``vrrp_group.adv_interval_centisecs`` | integer | Configures the advertisement interval for the VRRP group in centiseconds (25 to 4075; default 100) and in multiple of 25; centisecs gets converted into seconds in version 2 | os10 | -| ``vrrp_group.track_interface`` | list | Configures the track interface of the VRRP group (see ``track.*``) | os10 | -| ``track_interface.resource_id`` | integer | Configures the object tracking resource ID of the VRRP group; mutually exclusive with *track.interface* | os10 | -| ``track_interface.interface`` | string | Configures the track interface of the VRRP group (<interface name> <interface number> format) | os10 | -| ``track_interface.priority_cost`` | integer | Configures the priority cost for track interface of the VRRP group (1 to 254; default 10) | os10 | -| ``track_interface.state`` | string: present\*,absent | Deletes the specific track interface from the VRRP group if set to absent | os10 | -| ``vrrp_group.track_interface.state`` | string: present*,absent | Deletes all track interfaces from the VRRP group if set to absent | os10 | -| ``vrrp_group.state`` | string: present\*,absent | Deletes the VRRP group from the interface if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_vrrp* role to configure VRRP commands at the interfaces. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vrrp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - ethernet1/1/1: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: true - -> **NOTE**: Interface VRRP cannot exist with L2 modes and can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrrp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_vxlan.md b/ansible_collections/dellemc/os10/docs/os10_vxlan.md deleted file mode 100644 index 09b23bb36..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_vxlan.md +++ /dev/null @@ -1,259 +0,0 @@ -VxLAN role -======== - -This role facilitates the configuration of virtual extensible LAN (VxLAN) attributes. It supports the configuration of virtual networks, Ethernet virtual private network (EVPN), and network virtualization edge (NVE). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VxLAN role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vxlan keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``anycast_gateway_mac`` | string | Configures an anycast gateway IP address for a VxLAN virtual network | os10 | -| ``loopback`` | dictionary | Configures the loopback interface (see ``loopback.*``) | os10 | -| ``loopback.loopback_id`` | integer | Configures the loopback interface number (0 to 16383) | os10 | -| ``loopback.description`` | string | Configures the interface description | os10 | -| ``loopback.ip_address`` | string | Configure the IP address | os10 | -| ``loopback.state`` | string: absent,present\* | Removes loopback interface if set to absent | os10 | -| ``nve`` | dictionary | Configures network virtualization edge (see ``nve.*``) | os10 | -| ``nve.source_interface`` | integer | Configures source loopback interface | os10 | -| ``nve.controller`` | dictionary | Configures controller; supports only one controller connection at a time (see ``controller.*``) | os10 | -| ``controller.name`` | string: NSX, ovsdb | Configures the NVE controller | os10 | -| ``controller.max_backoff`` | integer | Configures max_backoff value (setting an empty value negates the corresponding configuration) | os10 | -| ``controller.control_cfg`` | list | Configures the controller IP and port (see ``control_cfg.*``) | os10 | -| ``control_cfg.ip_addr`` | string | Configures the controller IP | os10 | -| ``control_cfg.port`` | integer | Configures the controller port | os10 | -| ``control_cfg.state`` | string: absent,present\* | Removes the controller IP and port configuration if set to absent | os10 | -| ``controller.state`` | string: absent,present\* | Removes the controller if set to absent | os10 | -| ``nve.state`` | string: absent,present\* | Removes the NVE if set to absent | os10 | -| ``evpn`` | dictionary | Enables EVPN in control plane (see ``evpn.*``) | os10 | -| ``evpn.autoevi`` | boolean: True, False | Configures auto-EVI; no further manual configuration is allowed in auto-EVI mode | os10 | -| ``evpn.rmac`` | string | Configures router MAC address | os10 | -| ``evpn.evi`` | list | Configures EVPN instance (see ``evi.*``)| os10 | -| ``evpn.dis_rt_asn`` | boolean | Enables/disables AS number usage in route target | os10 | -| ``evpn.vrf`` | dictionary | Enables VRF for EVPN| os10 | -| ``vrf.name`` | string | Configures VRF name | os10 | -| ``vrf.state`` | string(present,absent) | Configures/removes VRF for EVPN | os10 | -| ``vrf.vni`` | integer | Configures VNI for the VRF | os10 | -| ``vrf.rd`` | string | Configures RD for the VRF | os10 | -| ``vrf.route_target`` | dictionary | Enables route target for the VRF | os10 | -| ``route_target.type`` | string (manual, auto) | Configures the route target type | os10 | -| ``route_target.asn_value`` | string | Configure AS number | os10 | -| ``route_target.state`` | string (present,absent) | Configures/unconfigures the route target | os10 | -| ``route_target.route_target_type`` | string | Configures the route target type | os10 | -| ``vrf.adv_ipv4`` | dictionary | Enables IPv4 advertisement VRF | os10 | -| ``adv_ipv4.type`` | string | Configures IPv4 advertisement type | os10 | -| ``adv_ipv4.rmap_name`` | string | Configures route-map for advertisement | os10 | -| ``adv_ipv4.unconfig`` | boolean | Configures/unconfigures route-map for advertisement | os10 | -| ``evi.id`` | integer | Configures the EVPN instance ID (1 to 65535) | os10 | -| ``evi.rd`` | string | Configures the route distinguisher | os10 | -| ``evi.vni`` | dictionary | Configures VNI value (see ``vni.*``) | os10 | -| ``vni.id`` | integer | Configures VNI value; configure the same VNI value configured for the VxLAN virtual network | os10 | -| ``vni.state`` | string: absent,present\* | Removes the VNI if set to absent | os10 | -| ``evi.route_target`` | list | Configures route target (see ``route_target.*``) | os10 | -| ``route_target.type`` | string: manual,auto | Configures the route target (auto mode auto-configures an import and export value for EVPN routes) | os10 | -| ``route_target.asn_value`` | string | Configures the route target ASN value | os10 | -| ``route_target.route_target_type`` | string: import,export,both | Configures the route target type | os10 | -| ``route_target.state`` | string: absent,present\* | Removes the route target if set to absent | os10 | -| ``evi.state`` | string: absent,present\* | Removes EVPN instance ID if set to absent | os10 | -| ``evpn.state`` | string: absent,present\* | Removes the EVPN configuration if set to absent | os10 | -| ``virtual_network`` | dictionary | Configures the virtual network attributes (see ``virtual_network.*``) | os10 | -| ``virtual_network.untagged_vlan`` | integer | Configures the reserved untagged VLAN ID (1 to 4093) | os10 | -| ``virtual_network.virtual_net`` | list | Configures the virtual network attributes for VxLAN tunneling (see ``virtual_net.*``) | os10 | -| ``virtual_net.id`` | integer | Configures a virtual network ( virtual-network ID, from 1 to 65535) | os10 | -| ``virtual_net.description`` | string | Configures the description for virtual network | os10 | -| ``virtual_net.vlt_vlan_id`` | integer | Configures the VLTi VLAN ID | os10 | -| ``virtual_net.member_interface`` | list | Configures the trunk member interface attributes to the virtual network (see ``member_interface.*``) | os10 | -| ``member_interface.ifname`` | string | Configures interface name to provision the virtual network member interface | os10 | -| ``member_interface.type`` | string: tagged,untagged | Configures the type to provision the virtual network member interface | os10 | -| ``member_interface.vlanid`` | integer | Configures the VLAN ID to provision the virtual network member interface | os10 | -| ``member_interface.state`` | string: absent,present\* | Removes the virtual network member interface if set to absent | os10 | -| ``virtual_net.vxlan_vni`` | dictionary | Configures the VxLAN attributes to virtual network (see ``vxlan_vni.*``) | os10 | -| ``vxlan_vni.id`` | integer | Configures the VxLAN ID to a virtual network | os10 | -| ``vxlan_vni.remote_endpoint`` | list | Configures the IP address of a remote tunnel endpoint in a VxLAN network (see ``remote_endpoint.*``) | os10 | -| ``remote_endpoint.ip`` | string | Configures the IP address of a remote tunnel endpoint (1.1.1.1) | os10 | -| ``remote_endpoint.state`` | string: absent,present\* | Removes the remote tunnel endpoint in a VxLAN network if set to absent | os10 | -| ``vxlan_vni.state`` | string: absent,present\* | Removes the VxLAN ID if set to absent | os10 | -| ``virtual_net.state`` | string: absent,present\* | Removes a virtual network if set to absent | os10 | -| ``vlan_association`` | list | Configures the VLAN association with virtual network (see ``vlan_association.*``) | os10 | -| ``vlan_association.vlan_id`` | integer | Specifies the VLAN ID | os10 | -| ``vlan_association.virtual_net`` | integer | Specifies the virtual netwrok ID which is to be associated with VLAN | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_vxlan* role to configure the VxLAN network, source IP address on VxLAN tunnel endpoint and virtual networks. It creates a *hosts* file with the switch details, a *host_vars* file with connection variables and the corresponding role variables. The hosts file should define the ansible_network_os variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. This example writes a simple playbook that only references the *os10_vxlan* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_vxlan: - anycast_gateway_mac: "00:22:33:44:55:66" - loopback: - loopback_id: 10 - description: "HARDWARE_VXLAN" - ip_address: "10.8.0.1/32" - state: "present" - nve: - source_interface: 10 - controller: - name: "ovsdb" - max_backoff: 2000 - control_cfg: - - ip_addr: "1.2.3.4" - port: 30 - state: "present" - state: "present" - state: "present" - evpn: - autoevi: False - evi: - - id: 111 - rd: "auto" - vni: - id: 111 - state: "present" - route_target: - - type: "manual" - asn_value: "111:111" - route_target_type: "both" - state: "present" - - type: "manual" - asn_value: "11:11" - route_target_type: "export" - state: "present" - state: "present" - - id: 222 - rd: "2.2.2.2:222" - vni: - id: 222 - state: "present" - route_target: - - type: "auto" - asn_value: - route_target_type: - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - - name: "blue" - state: "absent" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - state: "present" - virtual_network: - untagged_vlan: 1001 - virtual_net: - - id: 111 - description: "NSX_Cluster_VNI_111" - vlt_vlan_id: 11 - member_interface: - - ifname: "ethernet 1/1/15" - type: "tagged" - vlanid: 15 - state: "present" - - ifname: "port-channel 12" - type: "tagged" - vlanid: 11 - state: "present" - vxlan_vni: - id: 111 - remote_endpoint: - - ip: "1.1.1.1" - state: "present" - - ip: "11.11.11.11" - state: "present" - - ip: "111.111.111.111" - state: "present" - state: "present" - state: "present" - - id: 222 - description: "NSX_Cluster_VNI_222" - vlt_vlan_id: 22 - member_interface: - - ifname: "ethernet 1/1/16" - type: "tagged" - vlanid: 16 - state: "present" - vxlan_vni: - id: 222 - remote_endpoint: - - ip: "2.2.2.2" - state: "present" - - ip: "22.22.22.22" - state: "present" - state: "present" - state: "present" - vlan_association: - - vlain_id: 111 - virtual_net: 111 - -> **NOTE**: Member interfaces should be in switchport trunk mode which can be configured using the *os10_interface* role. - -**Simple playbook to configure VxLAN — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vxlan - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/os10_xstp.md b/ansible_collections/dellemc/os10/docs/os10_xstp.md deleted file mode 100644 index 0dd919b27..000000000 --- a/ansible_collections/dellemc/os10/docs/os10_xstp.md +++ /dev/null @@ -1,196 +0,0 @@ -# xSTP role - -This role facilitates the configuration of xSTP attributes. It supports multiple version of spanning-tree protocol (STP), rapid spanning-tree (RSTP), rapid per-VLAN spanning-tree (Rapid PVST+), multiple spanning-tree (MST), and per-VLAN spanning-tree (PVST). It supports the configuration of bridge priority, enabling and disabling spanning-tree, creating and deleting instances, and mapping virtual LAN (VLAN) to instances. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The xSTP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- `os10_xstp` (dictionary) contains the hostname (dictionary) -- Hostname is the value of the *hostname* variable that corresponds to the name of the device -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value to any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**hostname keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|----------------------| -| ``type`` | string (required) | Configures the type of spanning-tree mode specified that can vary according to the device including RSTP, rapid-PVST, and MST | os10 | -| ``enable`` | boolean: true,false | Enables/disables the spanning-tree protocol specified in the type variable | os10 | -| ``mac_flush_timer`` | integer | Configures the mac_flush_timer value (0 to 500) | os10 | -| ``rstp`` | dictionary | Configures rapid spanning-tree (see ``rstp.*``) | os10 | -| ``rstp.bridge_priority`` | integer | Configures bridge-priority for the spanning-tree (0 to 61440 in multiples of 4096) | os10 | -| ``rstp.max_age`` | integer | Configures the max_age timer for RSTP (6 to 40) | os10 | -| ``rstp.hello_time`` | integer | Configures the hello-time for RSTP (1 to 10) | os10 | -| ``rstp.forward_time`` | integer | Configures the forward-time for RSTP (4 to 30) | os10 | -| ``rstp.force_version`` | string: stp | Configures the force version for the BPDUs transmitted by RSTP | os10 | -| ``rstp.mac_flush_threshold`` | integer | Configures the MAC flush threshold for RSTP (1 to 65535) | os10 | -| ``pvst`` | dictionary | Configures per-VLAN spanning-tree protocol (see ``pvst.*``) | os10 | -| ``pvst.vlan`` | list | Configures the VLAN for PVST (see ``vlan.*``) | os10 | -| ``vlan.range_or_id`` | string | Configures a VLAN/range of VLANs for the per-VLAN spanning-tree protocol | os10 | -| ``vlan.max_age`` | integer | Configures the max_age timer for a VLAN (6 to 40) | os10 | -| ``vlan.hello_time`` | integer | Configures the hello-time for a VLAN (1 to 10) | os10 | -| ``vlan.forward_time`` | integer | Configures the forward-time for a VLAN (4 to 30) | os10 | -| ``vlan.enable`` | boolean: true,false | Enables/disables spanning-tree for the associated VLAN range_or_id | os10 | -| ``vlan.mac_flush_threshold`` | integer | Configures the MAC flush threshold for a VLAN (1 to 65535) | os10 | -| ``vlan.root`` | string: primary,secondary | Designates the primary or secondary root for the associated VLAN range_or_id; mutually exclusive with *vlan.bridge_priority* | os10 | -| ``vlan.bridge_priority`` | integer | Configures bridge-priority for the per-VLAN spanning-tree (0 to 61440 in multiples of 4096); mutually exclusive with *vlan.root* | os10 | -| ``mstp`` | dictionary | Configures multiple spanning-tree protocol (see ``mstp.*``) | os10 | -| ``mstp.max_age`` | integer | Configures the max_age timer for MSTP (6 to 40) | os10 | -| ``mstp.max_hops`` | integer | Configures the max-hops for MSTP (6 to 40) | os10 | -| ``mstp.hello_time`` | integer | Configures the hello-time for MSTP (1 to 10) | os10 | -| ``mstp.forward_time`` | integer | Configures the forward-time for MSTP (4 to 30) | os10 | -| ``mstp.force_version`` | string: stp,rstp | Configures the force-version for the BPDUs transmitted by MSTP | os10 | -| ``mstp.mstp_instances`` | list | Configures a MSTP instance (see ``mstp_instances.*``) | os10 | -| ``mstp_instances.number_or_range`` | integer | Configures the multiple spanning-tree instance number| os10 | -| ``mstp_instances.bridge_priority`` | integer | Configures the bridge-priority for the spanning-tree (0 to 61440 in multiples of 4096); mutually exclusive with *mstp_instances.root* | os10 | -| ``mstp_instances.enable`` | boolean: true,false | Enables/disables spanning-tree for the associated MSTP instance | os10 | -| ``mstp_instances.mac_flush_threshold`` | integer | Configures the MAC flush-threshold for an MSTP instance (1 to 65535) | os10 | -| ``mstp_instances.root`` | string: primary,secondary | Designates the primary or secondary root for the associated MSTP instance; mutually exclusive with *mstp_instances.bridge_priority* | os10 | -| ``mstp.mst_config`` | dictionary | Configures multiple spanning-tree (see ``mstp.mst_config.*``); supported | os10 | -| ``mst_config.name`` | string | Configures the name which is specified for the MSTP | os10 | -| ``mst_config.revision`` | integer | Configures the revision number for MSTP | os10 | -| ``mst_config.cfg_list`` | list | Configures the multiple spanning-tree list (see ``mst_config.cfg_list.*``) | os10 | -| ``cfg_list.number`` | integer | Specifies the MSTP instance number | os10 | -| ``cfg_list.vlans`` | string | Configures a VLAN/range of VLANs by mapping it to an instance number | os10 | -| ``cfg_list.vlans_state`` | string: absent,present\* | Deletes a set of VLANs mapped to the spanning-tree instance if set to absent | os10 | -| ``intf`` | list | Configures multiple spanning-tree in an interface (see ``intf.*``) | os10 | -| ``intf <interface name>``| dictionary | Configures the interface name (see ``intf.<interface name>.*``) | os10 | -| ``intf.<interface name>.edge_port`` | boolean: true,false | Configures the EdgePort as dynamic if set to true | os10 | -| ``intf.<interface name>.bpdu_filter``| boolean: true,false | Enables/disables bpdufilter at the interface | os10 | -| ``intf.<interface name>.bpdu_guard``| boolean: true,false | Enables/disables bpduguard at the interface | os10 | -| ``intf.<interface name>.guard``| string: loop,root,none | Configures guard on the interface | os10 | -| ``intf.<interface name>.enable`` | boolean: true,false | Enables/disables spanning-tree at the interface level | os10 | -| ``intf.<interface name>.link_type``| string: auto,point-to-point,shared | Configures the link type at the interface | os10 | -| ``intf.<interface name>.rstp`` | dictionary | Configures the RSTP interface name (see ``intf.<interface name>.rstp.*``) | os10 | -| ``rstp.priority``| integer | Configures the RSTP priority value at the interface | os10 | -| ``rstp.cost`` | integer | Configures the RSTP cost value at the interface | os10 | -| ``intf.<interface name>.msti`` | list | Configures the MSTi interface name (see ``intf.<interface name>.msti``) | os10 | -| ``msti.instance_number`` | integer or range | Specifies the MSTP instance number or range | os10 | -| ``msti.priority`` | integer | Specifies the priority value to be configured at the interface | os10 | -| ``msti.cost`` | integer | Specifies the cost value to be configured at the interface | os10 | -| ``intf.<interface name>.vlan`` | list | Configures the VLAN interface name (see ``intf.<interface name>.vlan``) | os10 | -| ``vlan.range_or_id`` | integer or range | Specifies the VLAN ID or range | os10 | -| ``vlan.priority`` | integer | Specifies the priority value to be configured at the interface | os10 | -| ``vlan.cost`` | integer | Specifies the cost value to be configured at the interface | os10 | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOM`E environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_xstp* role to configure different variants of spanning-tree. Based on the type of STP and defined objects, VLANs are associated and bridge priorities are assigned. It creates a *hosts* file with the switch details, and a *host_vars* file with connection variables. The corresponding role variables are defined in the *vars/main.yml* file at the role path. - -It writes a simple playbook that only references the *os10_xstp* role. By including the role, you automatically get access to all of the tasks to configure xSTP. - -**Sample hosts file** - - spine1 ansible_host= <ip_address> - -**Sample host_vars/spine1** - - hostname: spine1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - -**Sample vars/main.yml** - - os10_xstp: - type: rstp - enable: true - path_cost: true - mac_flush_timer: 4 - rstp: - max_age: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - bridge_priority: 4096 - mac_flush_threshold: 5 - pvst: - vlan: - - range_or_id: 10 - max_age: 6 - enable: true - hello_time: 7 - forward_time: 7 - bridge_priority: 4096 - mac_flush_threshold: 9 - mstp: - max_age: 6 - max_hops: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - mstp_instances: - - number_or_range: 1 - enable: true - mac_flush_threshold: 9 - bridge_priority: 4096 - mst_config: - name: cfg1 - revision: 5 - cfg_list: - - number: 1 - vlans: 10,12 - vlans_state: present - intf: - ethernet 1/1/8: - edge_port: true - bpdu_filter: true - bpdu_guard: true - guard: loop - enable: true - link_type: point-to-point - msti: - - instance_number: 1 - priority: 32 - cost: 1 - rstp: - priority: 32 - cost: 7 - vlan: - - range_or_id: 6 - priority: 16 - cost: 8 - - -**Simple playbook to setup system — spine.yml** - - - hosts: spine - roles: - - dellemc.os10.os10_xstp - -**Run** - - ansible-playbook -i hosts spine.yml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/docs/roles.rst b/ansible_collections/dellemc/os10/docs/roles.rst deleted file mode 100644 index 12e372128..000000000 --- a/ansible_collections/dellemc/os10/docs/roles.rst +++ /dev/null @@ -1,193 +0,0 @@ -############################################################## -Ansible Network Collection Roles for Dell EMC SmartFabric OS10 -############################################################## - -The roles facilitate provisioning of devices running Dell EMC SmartFabric OS10. This document describes each of the roles. - -AAA role --------- - -The `os10_aaa <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_aaa/README.md>`_ role facilitates the configuration of Authentication Authorization and Accounting (AAA), and supports the configuration of TACACS and RADIUS server and AAA. - - -ACL role --------- - -The `os10_acl <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_acl/README.md>`_ role facilitates the configuration of Access Control lists. It supports the configuration of different types of ACLs (standard and extended) for both IPv4 and IPv6, and assigns the access-class to line terminals. - - -BFD role --------- - -The `os10_bfd <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_bfd/README.md>`_ role facilitates the configuration of BFD global attributes. It specifically enables configuration of BFD interval , min_rx, multiplier, and role. - - -BGP role --------- - -The `os10_bgp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_bgp/README.md>`_ role facilitates the configuration of border gateway protocol (BGP) attributes, and supports router ID, networks, neighbors, and maximum path configurations. - - -Copy configuration role ------------------------ - -The `os10_copy_config <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_copy_config/README.md>`_ role pushes the backup running configuration into a device. This role merges the configuration in the template file with the running configuration of the Dell EMC Networking OS10 device. - - -DNS role --------- - -The `os10_dns <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_dns/README.md>`_ role facilitates the configuration of domain name service (DNS). - - -ECMP role ---------- - -The `os10_ecmp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_ecmp/README.md>`_ role facilitates the configuration of equal cost multi-path (ECMP). It supports the configuration of ECMP for IPv4. - - -Fabric-summary role -------------------- - -The `os10_fabric_summary <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_fabric_summary/README.md>`_ role facilitates to get show system information of all the switches in the fabric. - - -Flow-monitor role ------------------ - -The `os10_flow_monitor <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_flow_monitor/README.md>`_ role facilitates the configuration of ACL flow-based monitoring attributes. In Flow-based mirroring, the ingress traffic, matching the specified policies are mirrored to a destination port. Port-based mirroring maintains a database that contains all monitoring sessions, including port monitor sessions. - - -Image-upgrade role ------------------- - -The `os10_image_upgrade <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_image_upgrade/README.md>`_ role facilitates installation of OS10 software images. - - -Interface role --------------- - -The `os10_interface <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_interface/README.md>`_ role facilitates the configuration of interface attributes. It supports the configuration of administrative state, description, MTU, IP address, IP helper, and port mode. - - -LAG role --------- - -The `os10_lag <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_lag/README.md>`_ role facilitates the configuration of link aggregation group (LAG) attributes. This role supports the creation and deletion of a LAG and its member ports, and supports the configuration of type (static/dynamic), hash scheme, and minimum required link. - - -LLDP role ---------- - -The `os10_lldp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_lldp/README.md>`_ role facilitates the configuration of link layer discovery protocol (LLDP) attributes at global and interface level. This role supports the configuration of hello, mode, multiplier, advertise tlvs, management interface, fcoe, iscsi at global and interface levels. - - -Logging role ------------- - -The `os10_logging <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_logging/README.md>`_ role facilitates the configuration of global logging attributes, and supports the configuration of logging servers. - - -Network-Validation role ------------------------ - -The `os10_network_validation <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_network_validation/README.md>`_ role facilitates to verify the Networks. It validates networking features of wiring connection, BGP neighbors, MTU between neighbors and VLT pair. - - -NTP role --------- - -The `os10_ntp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_ntp/README.md>`_ role facilitates the configuration of network time protocol attributes. - - -Prefix-list role ----------------- - -The `os10_prefix_list <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_prefix_list/README.md>`_ role facilitates the configuration of a prefix-list, supports the configuration of IP prefix-list, and assigns the prefix-list to line terminals. - - -QoS role --------- - -The `os10_qos <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_qos/README.md>`_ role facilitates the configuration of quality of service attributes including policy-map and class-map. - - -RA Guard role -------------- - -The `os10_raguard <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_raguard/README.md>`_ role facilitates the configuration of IPv6 RA Guard attributes. - - -Route-map role --------------- - -The `os10_route_map <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_route_map/README.md>`_ role facilitates the configuration of route-map attributes. - - -SNMP role ---------- - -The `os10_snmp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_snmp/README.md>`_ role facilitates the configuration of global snmp attributes. It supports the configuration of SNMP server attributes like users, group, community, location, traps, and so on. - - -System role ------------ - -The `os10_system <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_system/README.md>`_ role facilitates the configuration of global system attributes. This role specifically enables configuration of hostname and hashing algorithm for OS10. - - -TEMPLATE role -------------- - -The `os10_template <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_template/README.md>`_ role facilitates the TEXTFSM parsing engine. TextFSM is a template based state machine . It takes the raw string input from the CLI of network devices OS10, run them through a TEXTFSM template and return structured text in the form of a Python dictionary. - - -UPLINK role ------------ - -The `os10_uplink <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_uplink/README.md>`_ role facilitates the configuration of uplink attributes, and is abstracted for OS10. It specifically enables configuration of association between upstream and downstream interfaces known as uplink-state group. - - -Users role ----------- - -The `os10_users <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_users/README.md>`_ role facilitates the configuration of global system user attributes. This role supports the configuration of CLI users. - - -VLAN role ---------- - -The `os10_vlan <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_vlan/README.md>`_ role facilitates configuring virtual LAN (VLAN) attributes. This role supports the creation and deletion of a VLAN and its member ports. - - -VLT role --------- - -The `os10_vlt <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_vlt/README.md>`_ role facilitates the configuration of the basics of virtual link trunking (VLT) to provide a loop-free topology. - - -VRF role --------- - -The `os10_vrf <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_vrf/README.md>`_ role facilitates the configuration of basic virtual routing and forwarding (VRF) that helps in the partition of physical routers to multiple virtual routers. - - -VRRP role ---------- - -The `os10_vrrp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_vrrp/README.md>`_ role facilitates configuration of virtual router redundancy protocol (VRRP) attributes. This role supports the creation of VRRP groups for interfaces, and setting the VRRP group attributes. - - -VXLAN role ----------- - -The `os10_vxlan <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_vxlan/README.md>`_ role facilitates the configuration of virtual extensible LAN (VXLAN) attributes. It supports the configuration of virtual networks, Ethernet virtual private network (EVPN), and network virtualization edge (NVE). - - -xSTP role ---------- - -The `os10_xstp <https://github.com/ansible-collections/dellemc.os10/blob/master/roles/os10_xstp/README.md>`_ role facilitates the configuration of xSTP attributes. This role supports multiple version of spanning-tree protocol (STP), rapid spanning-tree (RSTP) protocol, multiple spanning-tree (MST), and per-VLAN spanning-tree (PVST). This role supports the configuration of bridge priority, enabling and disabling spanning-tree, creating and deleting instances, and mapping virtual LAN (VLAN) to instances. - - -\(c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. diff --git a/ansible_collections/dellemc/os10/meta/runtime.yml b/ansible_collections/dellemc/os10/meta/runtime.yml deleted file mode 100644 index e211415c7..000000000 --- a/ansible_collections/dellemc/os10/meta/runtime.yml +++ /dev/null @@ -1,8 +0,0 @@ -plugin_routing: - action: - os10_config: - redirect: dellemc.os10.os10 - os10_command: - redirect: dellemc.os10.os10 - os10_facts: - redirect: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/README.md b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/README.md deleted file mode 100644 index f0affd956..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/README.md +++ /dev/null @@ -1,37 +0,0 @@ - - -# Provision CLOS fabric using the Ansible collection for Dell EMC SmartFabric OS10 - -This example describes how to use Ansible to build a CLOS fabric using Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. The sample topology is a two-tier CLOS fabric with two spines and four leaves connected as mesh. eBGP is running between the two tiers. All switches in spine have the same AS number, and each leaf switch has a unique AS number. All AS numbers used are private. - -For application load-balancing purposes, the same prefix is advertised from multiple leaf switches and uses _BGP multipath relax_ feature. - -![CLOS FABRIC Topology](https://ansible-dellos-docs.readthedocs.io/en/latest/_images/topo.png) - -## Create simple Ansible playbook - -**1**. Create an inventory file called `inventory.yaml`, then specify the device IP address. - -**2**. Create a group variable file called `group_vars/all`, then define credentials and SNMP variables. - -**3**. Create a group variable file called `group_vars/spine.yaml`, then define credentials, hostname, and BGP neighbors of spine group. - -**4**. Create a host variable file called `host_vars/spine1.yaml`, then define the host, credentials, and transport. - -**5**. Create a host variable file called `host_vars/spine2.yaml`, then define the host, credentials, and transport. - -**6**. Create a host variable file called `host_vars/leaf1.yaml`, then define the host, credentials, and transport. - -**7**. Create a host variable file called `host_vars/leaf2.yaml`, then define the host, credentials, and transport. - -**8**. Create a host variable file called `host_vars/leaf3.yaml`, then define the host, credentials, and transport. - -**9**. Create a host variable file called `host_vars/leaf4.yaml`, then define the host, credentials, and transport. - -**10**. Create a playbook called `datacenter.yaml`. - -**11**. Run the playbook. - - ansible-playbook -i inventory.yaml datacenter.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/datacenter.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/datacenter.yaml deleted file mode 100644 index 7174af84f..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/datacenter.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- hosts: datacenter - gather_facts: no - connection: network_cli - collections: - - dellemc.os10 - roles: - - os10_interface - - os10_bgp - - os10_snmp - - os10_system diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/all b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/all deleted file mode 100644 index 6985e8adc..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/all +++ /dev/null @@ -1,9 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_snmp: - snmp_community: - - name: public - access_mode: ro - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/spine.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/spine.yaml deleted file mode 100644 index 3524eaafb..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/group_vars/spine.yaml +++ /dev/null @@ -1,85 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "{{ spine_hostname }}" - -os10_bgp: - asn: 64901 - router_id: "{{ bgp_router_id }}" - best_path: - as_path: multipath-relax - as_path_state: present - med: - - attribute: missing-as-worst - state: present - neighbor: - - type: ipv4 - remote_asn: "{{ bgp_neigh1_remote_asn }}" - ip: "{{ bgp_neigh1_ip }}" - admin: up - state: present - - type: ipv4 - remote_asn: "{{ bgp_neigh2_remote_asn }}" - ip: "{{ bgp_neigh2_ip }}" - admin: up - state: present - - type: ipv4 - remote_asn: "{{ bgp_neigh3_remote_asn }}" - ip: "{{ bgp_neigh3_ip }}" - admin: up - state: present - - type: ipv4 - remote_asn: "{{ bgp_neigh4_remote_asn }}" - ip: "{{ bgp_neigh4_ip }}" - admin: up - state: present - - type: ipv6 - remote_asn: "{{ bgp_neigh5_remote_asn }}" - ip: "{{ bgp_neigh5_ip }}" - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: "{{ bgp_neigh6_remote_asn }}" - ip: "{{ bgp_neigh6_ip }}" - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: "{{ bgp_neigh7_remote_asn }}" - ip: "{{ bgp_neigh7_ip }}" - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: "{{ bgp_neigh8_remote_asn }}" - ip: "{{ bgp_neigh8_ip }}" - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf1.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf1.yaml deleted file mode 100644 index 38691a5e2..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf1.yaml +++ /dev/null @@ -1,77 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -leaf_hostname: "leaf-1" -os10_system: - hostname: "{{ leaf_hostname }}" - hash_algo: - algo: - - name: ecmp - mode: crc - state: present -os10_interface: - ethernet 1/1/1: - desc: "Connected to Spine 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.1.2/24 - ipv6_and_mask: 2001:100:1:1::2/64 - state_ipv6: present - ethernet 1/1/9: - desc: "Connected to Spine 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.1.2/24 - ipv6_and_mask: 2001:100:2:1::2/64 - state_ipv6: present -os10_bgp: - asn: 64801 - router_id: 100.0.2.1 - address_family_ipv4: true - address_family_ipv6: true - best_path: - as_path: multipath-relax - as_path_state: present - med: - - attribute: missing-as-worst - state: present - neighbor: - - type: ipv4 - remote_asn: 64901 - ip: 100.1.1.1 - admin: up - state: present - - type: ipv4 - remote_asn: 64901 - ip: 100.2.1.1 - admin: up - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:1:1::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:2:1::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf2.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf2.yaml deleted file mode 100644 index d760626d5..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf2.yaml +++ /dev/null @@ -1,81 +0,0 @@ -hostname: leaf2 -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -leaf_hostname: "leaf-2" -os10_system: - hostname: "{{ leaf_hostname }}" - hash_algo: - algo: - - name: ecmp - mode: crc - state: present -os10_interface: - ethernet 1/1/1: - desc: "Connected to Spine 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.17.2/24 - ipv6_and_mask: 2001:100:1:11::2/64 - state_ipv6: present - ethernet 1/1/9: - desc: "Connected to Spine 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.17.2/24 - ipv6_and_mask: 2001:100:2:11::2/64 -os10_bgp: - asn: 64802 - router_id: 100.0.2.2 - address_family_ipv4: true - address_family_ipv6: true - best_path: - as_path: multipath-relax - as_path_state: present - med: - - attribute: missing-as-worst - state: present - neighbor: - - type: ipv4 - remote_asn: 64901 - ip: 100.1.18.1 - admin: up - state: present - - type: ipv4 - remote_asn: 64901 - ip: 100.1.17.1 - admin: up - state: present - - type: ipv4 - remote_asn: 64901 - ip: 100.2.17.1 - admin: up - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:1:11::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:2:11::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf3.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf3.yaml deleted file mode 100644 index 7b199125c..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf3.yaml +++ /dev/null @@ -1,81 +0,0 @@ -hostname: leaf3 -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -leaf_hostname: "leaf-3" -os10_system: - hostname: "{{ leaf_hostname }}" - hash_algo: - algo: - - name: ecmp - mode: crc - state: present -os10_interface: - ethernet 1/1/1: - desc: "Connected to Spine 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.33.2/24 - ipv6_and_mask: 2001:100:1:21::2/64 - state_ipv6: present - ethernet 1/1/9: - desc: "Connected to Spine 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.33.2/24 - ipv6_and_mask: 2001:100:2:21::2/64 -os10_bgp: - asn: 64803 - router_id: 100.0.2.3 - address_family_ipv4: true - address_family_ipv6: true - best_path: - as_path: multipath-relax - as_path_state: present - med: - - attribute: missing-as-worst - state: present - neighbor: - - type: ipv4 - remote_asn: 64901 - ip: 100.1.33.1 - admin: up - state: present - - type: ipv4 - remote_asn: 64901 - ip: 100.2.33.1 - admin: up - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:1:21::1 - admin: up - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:1:22::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:2:21::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf4.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf4.yaml deleted file mode 100644 index e06099e53..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/leaf4.yaml +++ /dev/null @@ -1,77 +0,0 @@ -hostname: leaf4 -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -leaf_hostname: "leaf-4" -os10_system: - hostname: "{{ leaf_hostname }}" - hash_algo: - algo: - - name: ecmp - mode: crc - state: present -os10_interface: - ethernet 1/1/5: - desc: "Connected to Spine 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.49.2/24 - ipv6_and_mask: 2001:100:1:31::2/64 - state_ipv6: present - ethernet 1/1/17: - desc: "Connected to Spine 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.49.2/24 - ipv6_and_mask: 2001:100:2:31::2/64 - state_ipv6: present -os10_bgp: - asn: 64804 - router_id: 100.0.2.4 - address_family_ipv4: true - address_family_ipv6: true - best_path: - as_path: multipath-relax - as_path_state: present - med: - - attribute: missing-as-worst - state: present - neighbor: - - type: ipv4 - remote_asn: 64901 - ip: 100.1.49.1 - admin: up - state: present - - type: ipv4 - remote_asn: 64901 - ip: 100.2.49.1 - admin: up - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:1:31::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present - - type: ipv6 - remote_asn: 64901 - ip: 2001:100:2:31::1 - admin: up - address_family: - - type: ipv4 - activate: false - state: present - - type: ipv6 - activate: true - state: present - state: present diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine1.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine1.yaml deleted file mode 100644 index 2d926034c..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine1.yaml +++ /dev/null @@ -1,61 +0,0 @@ -hostname: spine1 -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -spine_hostname: "spine-1" - -os10_interface: - ethernet 1/1/1: - desc: "Connected to leaf 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.1.1/24 - ipv6_and_mask: 2001:100:1:1::1/64 - state_ipv6: present - ethernet 1/1/17: - desc: "Connected to leaf 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.33.1/24 - ipv6_and_mask: 2001:100:1:21::1/64 - state_ipv6: present - ethernet 1/1/25: - desc: "Connected to leaf 3" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.17.1/24 - ipv6_and_mask: 2001:100:1:11::1/64 - state_ipv6: present - ethernet 1/1/9: - desc: "Connected to leaf 4" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.1.49.1/24 - ipv6_and_mask: 2001:100:1:31::1/64 - state_ipv6: present - -bgp_router_id: "100.0.1.1" -bgp_neigh1_remote_asn: 64801 -bgp_neigh1_ip: "100.1.1.2" -bgp_neigh2_remote_asn: 64803 -bgp_neigh2_ip: "100.1.33.2" -bgp_neigh3_remote_asn: 64802 -bgp_neigh3_ip: "100.1.17.2" -bgp_neigh4_remote_asn: 64804 -bgp_neigh4_ip: "100.1.49.2" -bgp_neigh5_remote_asn: 64801 -bgp_neigh5_ip: "2001:100:1:1::2" -bgp_neigh6_remote_asn: 64802 -bgp_neigh6_ip: "2001:100:1:11::2" -bgp_neigh7_remote_asn: 64803 -bgp_neigh7_ip: "2001:100:1:21::2" -bgp_neigh8_remote_asn: 64804 -bgp_neigh8_ip: "2001:100:1:31::2" diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine2.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine2.yaml deleted file mode 100644 index 7c616e9f7..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/host_vars/spine2.yaml +++ /dev/null @@ -1,60 +0,0 @@ -hostname: spine2 -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 -spine_hostname: "spine-2" -os10_interface: - ethernet 1/1/1: - desc: "Connected to leaf 1" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.1.1/24 - ipv6_and_mask: 2001:100:2:1::1/64 - state_ipv6: present - ethernet 1/1/25: - desc: "Connected to leaf 2" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.17.1/24 - ipv6_and_mask: 2001:100:2:11::1/64 - state_ipv6: present - ethernet 1/1/17: - desc: "Connected to leaf 3" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.33.1/24 - ipv6_and_mask: 2001:100:2:21::1/64 - state_ipv6: present - ethernet 1/1/9: - desc: "Connected to leaf 4" - mtu: 9216 - portmode: - admin: up - switchport: False - ip_and_mask: 100.2.49.1/24 - ipv6_and_mask: 2001:100:2:31::1/64 - state_ipv6: present - -bgp_router_id: "100.0.1.2" -bgp_neigh1_remote_asn: 64801 -bgp_neigh1_ip: "100.2.1.2" -bgp_neigh2_remote_asn: 64802 -bgp_neigh2_ip: "100.2.33.2" -bgp_neigh3_remote_asn: 64803 -bgp_neigh3_ip: "100.2.17.2" -bgp_neigh4_remote_asn: 64804 -bgp_neigh4_ip: "100.2.49.2" -bgp_neigh5_remote_asn: 64801 -bgp_neigh5_ip: "2001:100:2:1::2" -bgp_neigh6_remote_asn: 64802 -bgp_neigh6_ip: "2001:100:2:11::2" -bgp_neigh7_remote_asn: 64803 -bgp_neigh7_ip: "2001:100:2:21::2" -bgp_neigh8_remote_asn: 64804 -bgp_neigh8_ip: "2001:100:2:31::2" diff --git a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/inventory.yaml b/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/inventory.yaml deleted file mode 100644 index 9516f660c..000000000 --- a/ansible_collections/dellemc/os10/playbooks/clos_fabric_ebgp/inventory.yaml +++ /dev/null @@ -1,20 +0,0 @@ -spine1 ansible_host=10.11.182.25 -spine2 ansible_host=10.11.182.26 -leaf1 ansible_host=10.11.182.27 -leaf2 ansible_host=10.11.182.28 -leaf3 ansible_host=10.11.182.29 -leaf4 ansible_host=10.11.182.30 - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/README.md b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/README.md deleted file mode 100644 index 6d1af994a..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# VxLAN Symmetric-IRB configuration using BGP EVPN using the Ansible collection for Dell EMC SmartFabric OS10 - - -This example describes how to use Ansible to build a Leaf-Spine topology with Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10, using a VxLAN Symmetric-IRB configuration model. - -VxLAN Symmetric-IRB is configured using BGP EVPN with Leaf-Spine topology. BGP unnumbered is configured between the Leaf and Spine over VLANS for both underlay and overlay. VLT is configured between the pair of Leaf nodes. - -In all Leaf nodes, the L3 VRF VNI "test" is configured to route between different VNs spanned across the topology, and the VTEP router MAC is configured to identify the remote VTEPs. -VN 100 and VN 300 is configured in a pair of Leaf nodes, and VN 200 and VN 300 configured in an other pair of Leaf nodes. - -## Create simple Ansible playbook - -**1**. Create an inventory file called `inventory.yaml`, then specify the device IP address. - -**2**. Create a host variable file called `host_vars/spine1.yaml`, then define the host, credentials, and transport. - -**3**. Create a host variable file called `host_vars/spine2.yaml`, then define the host, credentials, and transport. - -**4**. Use the *os10_interface* and *os10_vlan* roles to configure the required VLANs. - -**5**. Use the *os10_bgp* role to configure BGP unnumbered. - -**Configurations for VTEP-1** - -**1**. Create a host variable file called `host_vars/prim-vtep1.yaml`. - -**2**. Create a host variable file called `host_vars/sec-vtep1.yaml`. - -**3**. Define the host, credentials, and transport. - -**4**. Use the *os10_interface* and *os10_vlan* roles to configure the required VLANs. - -**5**. Use the *os10_bgp* role to configure BGP unnumbered. - -**6**. Use the *os10_vxlan* role to configure VN networks, EVPN and Symmetric IRB functionality. - -**7**. Use *os10_vlt* role to configure VLT between leaves prim-vtep1 and sec-vtep1. - -**Configurations for VTEP-2** - -**1**. Create a host variable file called `host_vars/prim-vtep2.yaml`. - -**2**. Create a host variable file called `host_vars/sec-vtep2.yaml`. - -**3**. Define the host, credentials, and transport. - -**4**. Use *os10_interface* and *os10_vlan* roles to configure the required VLANs. - -**5**. Use the *os10_bgp* role to configure BGP unnumbered. - -**6**. Use *os10_vxlan* role to configure VN networks, EVPN and Symmetric IRB functionality. - -**7**. Use the *os10_vlt* role to configure VLT between leaves prim-vtep2 and sec-vtep2. - -**Create and run the playbook** - -**1**. Create a playbook called `datacenter.yaml`. - -**2**. Run the playbook. - - ansible-playbook -i inventory.yaml datacenter.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/datacenter.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/datacenter.yaml deleted file mode 100644 index d8b1d4139..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/datacenter.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - collections: - - dellemc.os10 - vars: - build_dir: "/home/administrator/ansible/debug" - roles: - - os10_vrf - - os10_interface - - os10_system - - os10_bgp - - os10_lag - - os10_vlan - - os10_vxlan - - os10_vlt diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep1.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep1.yaml deleted file mode 100644 index 5ad285057..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep1.yaml +++ /dev/null @@ -1,210 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "VLT1-Primary" - -os10_bgp: - asn: 100 - router_id: 1.1.1.10 - neighbor: - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan10 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan11 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - ipv4_network: 1.1.1.1/32 - redistribute: - - route_type: connected - address_type: ipv4 - state: present - state: "present" - - -os10_interface: - loopback 0: - admin: up - ip_and_mask: 1.1.1.1/32 - ethernet 1/1/6: - switchport: False - admin: up - ethernet 1/1/4: - admin: up - switchport: False - ethernet 1/1/5: - admin: up - switchport: False - ethernet 1/1/1: - admin: up - switchport: False - portmode: "trunk" -# ethernet 1/1/2: - ethernet 1/1/3: - admin: up - switchport: False - portmode: "trunk" - port-channel 10: - portmode: "trunk" - admin: up - vlan 10: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 11: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 20: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - virtual-network 100: - vrf: "test" - ip_and_mask: "15.1.1.1/24" - ip_virtual_gateway_ip: "15.1.1.254" - admin: up - virtual-network 300: - vrf: "test" - ip_and_mask: "25.1.1.1/24" - ip_virtual_gateway_ip: "25.1.1.254" - admin: up - -os10_lag: - port-channel 10: - type: dynamic - channel_members: -# - port: ethernet1/1/5 - - port: ethernet1/1/6 - mode: active - state: present - -os10_vlan: - vlan 10: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 20: - tagged_members: -# - port: ethernet 1/1/2 - - port: ethernet 1/1/3 - state: "present" - access_vlan: "false" - state: "present" - -os10_vrf: - vrfdetails: - - vrf_name: "test" - state: "present" - -os10_vxlan: - anycast_gateway_mac: "00:00:aa:bb:ee:ff" - nve: - source_interface: 0 - state: "present" - evpn: - evi: - - id: 100 - vni: - id: 100 - state: "present" - rd: "auto" - route_target: - - type: "manual" - asn_value: "65530:65532" - route_target_type: "both" - state: "present" - state: "present" - - id: 300 - vni: - id: 300 - state: "present" - rd: "auto" - route_target: - - type: "auto" - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - virtual_network: - virtual_net: - - id: 100 - vlt_vlan_id: 100 - member_interface: - - ifname: "port-channel10" - type: "tagged" - vlanid: 100 - state: "present" - vxlan_vni: - id: 100 - state: "present" - state: "present" - - id: 300 - vlt_vlan_id: 300 - member_interface: - - ifname: "port-channel10" - type: "tagged" - vlanid: 300 - state: "present" - vxlan_vni: - id: 300 - state: "present" - state: "present" - -os10_vlt: - domain: 1 - destination_type: "ipv4" - peer_routing: True -# discovery_intf: "1/1/3-1/1/4" - discovery_intf: "1/1/4-1/1/5" - vlt_mac: 00:00:00:11:22:33 - vlt_peers: - Po 10: - peer_lag: 10 - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep2.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep2.yaml deleted file mode 100644 index ea49d19d6..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/prim-vtep2.yaml +++ /dev/null @@ -1,194 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "VLT2-Primary" - -os10_bgp: - asn: 300 - router_id: 2.2.2.10 - ipv4_network: 2.2.2.2/32 - redistribute: - - route_type: connected - address_type: ipv4 - state: present - state: "present" - neighbor: - - type: ipv4 - interface: vlan50 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan60 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan11 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - -os10_interface: - loopback 0: - admin: up - ip_and_mask: 2.2.2.2/32 - loopback 10: - admin: up - vrf: "test" - ip_and_mask: 50.1.1.10/32 - loopback 20: - admin: up - vrf: "test" - ip_and_mask: 60.1.1.10/32 - ethernet 1/1/1: - admin: up - switchport: False - portmode: "trunk" - ethernet 1/1/2: - admin: up - switchport: False - portmode: "trunk" - ethernet 1/1/3: - switchport: False - admin: up - ethernet 1/1/4: - admin: up - switchport: False - ethernet 1/1/5: - switchport: False - vrf: "test" - ip_and_mask: "21.21.21.20/24" - admin: up - vlan 11: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 50: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 60: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - virtual-network 200: - vrf: "test" - ip_and_mask: "30.1.1.100/24" - ip_virtual_gateway_ip: "30.1.1.254" - admin: up - virtual-network 300: - vrf: "test" - ip_and_mask: "25.1.1.100/24" - ip_virtual_gateway_ip: "25.1.1.254" - admin: up - -os10_vlan: - vlan 50: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 60: - tagged_members: - - port: ethernet 1/1/2 - state: "present" - access_vlan: "false" - state: "present" - -os10_vrf: - vrfdetails: - - vrf_name: "test" - state: "present" - -os10_vxlan: - anycast_gateway_mac: "00:00:aa:bb:ee:ff" - nve: - source_interface: 0 - state: "present" - evpn: - evi: - - id: 200 - vni: - id: 200 - state: "present" - rd: "auto" - route_target: - - type: "manual" - asn_value: "65530:65533" - route_target_type: "both" - state: "present" - state: "present" - - id: 300 - vni: - id: 300 - state: "present" - rd: "auto" - route_target: - - type: "auto" - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - rmac: 00:00:22:22:22:22 - dis_rt_asn: "true" - virtual_network: - virtual_net: - - id: 200 - vlt_vlan_id: 200 - vxlan_vni: - id: 200 - state: "present" - state: "present" - - id: 300 - vlt_vlan_id: 300 - vxlan_vni: - id: 300 - state: "present" - state: "present" - -os10_vlt: - domain: 1 - destination_type: "ipv4" - peer_routing: True - discovery_intf: "1/1/3-1/1/4" - vlt_mac: 00:00:00:44:55:66 - vlt_peers: - Po 10: - peer_lag: 10 - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep1.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep1.yaml deleted file mode 100644 index ac04c3c65..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep1.yaml +++ /dev/null @@ -1,206 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "VLT1-SEC" - -os10_bgp: - asn: 100 - router_id: 1.1.1.20 - neighbor: - - type: ipv4 - interface: vlan40 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan30 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan11 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - ipv4_network: 1.1.1.1/32 - redistribute: - - route_type: connected - address_type: ipv4 - state: present - state: "present" - - -os10_interface: - loopback 0: - admin: up - ip_and_mask: 1.1.1.1/32 - ethernet 1/1/3: - switchport: False - admin: up - ethernet 1/1/4: - admin: up - switchport: False - ethernet 1/1/5: - admin: up - switchport: False - ethernet 1/1/1: - admin: up - switchport: False - portmode: "trunk" - ethernet 1/1/2: - admin: up - switchport: False - portmode: "trunk" - port-channel 10: - portmode: "trunk" - admin: up - vlan 30: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 11: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 40: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - virtual-network 100: - vrf: "test" - ip_and_mask: "15.1.1.2/24" - ip_virtual_gateway_ip: "15.1.1.254" - admin: up - virtual-network 300: - vrf: "test" - ip_and_mask: "25.1.1.2/24" - ip_virtual_gateway_ip: "25.1.1.254" - admin: up - -os10_lag: - port-channel 10: - type: dynamic - channel_members: - - port: ethernet1/1/5 - mode: active - state: present - -os10_vlan: - vlan 30: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 40: - tagged_members: - - port: ethernet 1/1/2 - state: "present" - access_vlan: "false" - state: "present" - -os10_vrf: - vrfdetails: - - vrf_name: "test" - state: "present" - -os10_vxlan: - anycast_gateway_mac: "00:00:aa:bb:ee:ff" - nve: - source_interface: 0 - state: "present" - evpn: - evi: - - id: 100 - vni: - id: 100 - state: "present" - rd: "auto" - route_target: - - type: "manual" - asn_value: "65530:65532" - route_target_type: "both" - state: "present" - state: "present" - - id: 300 - vni: - id: 300 - state: "present" - rd: "auto" - route_target: - - type: "auto" - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - virtual_network: - virtual_net: - - id: 100 - vlt_vlan_id: 100 - member_interface: - - ifname: "port-channel10" - type: "tagged" - vlanid: 100 - state: "present" - vxlan_vni: - id: 100 - state: "present" - state: "present" - - id: 300 - vlt_vlan_id: 300 - member_interface: - - ifname: "port-channel10" - type: "tagged" - vlanid: 300 - state: "present" - vxlan_vni: - id: 300 - state: "present" - state: "present" - -os10_vlt: - domain: 1 - destination_type: "ipv4" - peer_routing: True - discovery_intf: "1/1/3-1/1/4" - vlt_mac: 00:00:00:11:22:33 - vlt_peers: - Po 10: - peer_lag: 10 - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep2.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep2.yaml deleted file mode 100644 index e23ed9c53..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/sec-vtep2.yaml +++ /dev/null @@ -1,200 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "VLT2-SEC" - -os10_bgp: - asn: 300 - router_id: 2.2.2.20 - neighbor: - - type: ipv4 - interface: vlan70 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan80 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - interface: vlan11 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - vrf: - name: "test" - address_type: ipv4 - redistribute: - - route_type: l2vpn - ipv4_network: 2.2.2.2/32 - redistribute: - - route_type: connected - address_type: ipv4 - state: present - state: "present" - - -os10_interface: - loopback 0: - admin: up - ip_and_mask: 2.2.2.2/32 - loopback 10: - admin: up - vrf: "test" - ip_and_mask: 80.1.1.10/32 - loopback 20: - admin: up - vrf: "test" - ip_and_mask: 90.1.1.10/32 - ethernet 1/1/1: - admin: up - switchport: False - portmode: "trunk" - ethernet 1/1/2: - admin: up - switchport: False - portmode: "trunk" - ethernet 1/1/3: - switchport: False - admin: up - ethernet 1/1/4: - admin: up - switchport: False - ethernet 1/1/5: - switchport: False - vrf: "test" - ip_and_mask: "20.20.20.20/24" - admin: up - vlan 11: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 70: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 80: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - virtual-network 200: - vrf: "test" - ip_and_mask: "30.1.1.101/24" - ip_virtual_gateway_ip: "30.1.1.254" - admin: up - virtual-network 300: - vrf: "test" - ip_and_mask: "25.1.1.101/24" - ip_virtual_gateway_ip: "25.1.1.254" - admin: up - -os10_vlan: - vlan 70: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 80: - tagged_members: - - port: ethernet 1/1/2 - state: "present" - access_vlan: "false" - state: "present" - -os10_vrf: - vrfdetails: - - vrf_name: "test" - state: "present" - -os10_vxlan: - anycast_gateway_mac: "00:00:aa:bb:ee:ff" - nve: - source_interface: 0 - state: "present" - evpn: - evi: - - id: 200 - vni: - id: 200 - state: "present" - rd: "auto" - route_target: - - type: "manual" - asn_value: "65530:65533" - route_target_type: "both" - state: "present" - state: "present" - - id: 300 - vni: - id: 300 - state: "present" - rd: "auto" - route_target: - - type: "auto" - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - rmac: 00:00:22:22:22:22 - dis_rt_asn: "true" - virtual_network: - virtual_net: - - id: 200 - vlt_vlan_id: 200 - vxlan_vni: - id: 200 - state: "present" - state: "present" - - id: 300 - vlt_vlan_id: 300 - vxlan_vni: - id: 300 - state: "present" - state: "present" - -os10_vlt: - domain: 1 - destination_type: "ipv4" - peer_routing: True - discovery_intf: "1/1/3-1/1/4" - vlt_mac: 00:00:00:44:55:66 - vlt_peers: - Po 10: - peer_lag: 10 - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine1.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine1.yaml deleted file mode 100644 index 4672562b5..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine1.yaml +++ /dev/null @@ -1,95 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "spine1" - -os10_bgp: - asn: 200 - router_id: 9.9.9.10 - neighbor: - - type: "peergroup" - name: "ebgp_session" - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - state: present - - type: ipv4 - interface: vlan10 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan30 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan50 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan70 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - state: "present" - - -os10_interface: - vlan 10: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 30: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 50: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 70: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - -os10_vlan: - vlan 10: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 30: - tagged_members: - - port: ethernet 1/1/2 - state: "present" - access_vlan: "false" - state: "present" - vlan 50: - tagged_members: - - port: ethernet 1/1/3 - state: "present" - access_vlan: "false" - state: "present" - vlan 70: - tagged_members: - - port: ethernet 1/1/4 - state: "present" - access_vlan: "false" - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine2.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine2.yaml deleted file mode 100644 index 0e953b888..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/host_vars/spine2.yaml +++ /dev/null @@ -1,95 +0,0 @@ -ansible_ssh_user: xxxxx -ansible_ssh_pass: xxxxx -ansible_network_os: dellemc.os10.os10 - -os10_system: - hostname: "spine2" - -os10_bgp: - asn: 201 - router_id: 9.9.9.20 - neighbor: - - type: "peergroup" - name: "ebgp_session" - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - state: present - - type: ipv4 - interface: vlan20 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan40 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan60 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - - type: ipv4 - interface: vlan80 - peergroup: ebgp_session - peergroup_type: ebgp - admin: up - state: present - state: "present" - - -os10_interface: - vlan 20: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 40: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 60: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - vlan 80: - suppress_ra: absent - min_ra: 3 - max_ra: 4 - admin: up - -os10_vlan: - vlan 20: - tagged_members: - - port: ethernet 1/1/1 - state: "present" - access_vlan: "false" - state: "present" - vlan 40: - tagged_members: - - port: ethernet 1/1/2 - state: "present" - access_vlan: "false" - state: "present" - vlan 60: - tagged_members: - - port: ethernet 1/1/3 - state: "present" - access_vlan: "false" - state: "present" - vlan 80: - tagged_members: - - port: ethernet 1/1/4 - state: "present" - access_vlan: "false" - state: "present" diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/inventory.yaml b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/inventory.yaml deleted file mode 100644 index 104712dcc..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/inventory.yaml +++ /dev/null @@ -1,20 +0,0 @@ -spine1 ansible_host=101.104.34.141 -prim-vtep1 ansible_host=101.104.34.217 -sec-vtep1 ansible_host=101.104.34.218 -spine2 ansible_host=101.104.34.142 -prim-vtep2 ansible_host=101.104.34.219 -sec-vtep2 ansible_host=101.104.34.220 - -[site1] -prim-vtep1 -sec-vtep1 -spine1 - -[site2] -prim-vtep2 -spine2 -sec-vtep2 - -[datacenter:children] -site1 -site2 diff --git a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/vxlan_evpn_topology.png b/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/vxlan_evpn_topology.png Binary files differdeleted file mode 100644 index b2f695b46..000000000 --- a/ansible_collections/dellemc/os10/playbooks/vxlan_evpn/vxlan_evpn_topology.png +++ /dev/null diff --git a/ansible_collections/dellemc/os10/plugins/action/os10.py b/ansible_collections/dellemc/os10/plugins/action/os10.py deleted file mode 100644 index 5669001c0..000000000 --- a/ansible_collections/dellemc/os10/plugins/action/os10.py +++ /dev/null @@ -1,94 +0,0 @@ -# -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. -# -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import sys -import copy - - -from ansible import constants as C -from ansible.module_utils._text import to_text -from ansible.module_utils.connection import Connection -from ansible_collections.ansible.netcommon.plugins.action.network import ActionModule as ActionNetworkModule -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import load_provider -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import os10_provider_spec -from ansible.utils.display import Display - -display = Display() - - -class ActionModule(ActionNetworkModule): - - def run(self, tmp=None, task_vars=None): - del tmp # tmp no longer has any effect - - self._config_module = True if self._task.action == 'os10_config' else False - socket_path = None - - if self._play_context.connection == 'network_cli': - provider = self._task.args.get('provider', {}) - if any(provider.values()): - display.warning('provider is unnecessary when using network_cli and will be ignored') - del self._task.args['provider'] - elif self._play_context.connection == 'local': - provider = load_provider(os10_provider_spec, self._task.args) - pc = copy.deepcopy(self._play_context) - pc.connection = 'network_cli' - pc.network_os = 'dellemc.os10.os10' - pc.remote_addr = provider['host'] or self._play_context.remote_addr - pc.port = int(provider['port'] or self._play_context.port or 22) - pc.remote_user = provider['username'] or self._play_context.connection_user - pc.password = provider['password'] or self._play_context.password - pc.private_key_file = provider['ssh_keyfile'] or self._play_context.private_key_file - command_timeout = int(provider['timeout'] or C.PERSISTENT_COMMAND_TIMEOUT) - pc.become = provider['authorize'] or False - if pc.become: - pc.become_method = 'enable' - pc.become_pass = provider['auth_pass'] - - display.vvv('using connection plugin %s' % pc.connection, pc.remote_addr) - connection = self._shared_loader_obj.connection_loader.get('persistent', pc, sys.stdin) - connection.set_options(direct={'persistent_command_timeout': command_timeout}) - - socket_path = connection.run() - display.vvvv('socket_path: %s' % socket_path, pc.remote_addr) - if not socket_path: - return {'failed': True, - 'msg': 'unable to open shell. Please see: ' + - 'https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell'} - - task_vars['ansible_socket'] = socket_path - - # make sure we are in the right cli context which should be - # enable mode and not config module - if socket_path is None: - socket_path = self._connection.socket_path - - conn = Connection(socket_path) - out = conn.get_prompt() - while to_text(out, errors='surrogate_then_replace').strip().endswith(')#'): - display.vvvv('wrong context, sending exit to device', self._play_context.remote_addr) - conn.send_command('exit') - out = conn.get_prompt() - - result = super(ActionModule, self).run(task_vars=task_vars) - return result diff --git a/ansible_collections/dellemc/os10/plugins/action/textfsm_parser.py b/ansible_collections/dellemc/os10/plugins/action/textfsm_parser.py deleted file mode 100644 index 602186c89..000000000 --- a/ansible_collections/dellemc/os10/plugins/action/textfsm_parser.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: utf-8 -*- - -# (c) 2020, Ansible by Red Hat, inc -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. -# -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -from ansible.module_utils.six import StringIO, string_types - -from ansible.plugins.action import ActionBase -from ansible.errors import AnsibleError - -try: - import textfsm - HAS_TEXTFSM = True -except ImportError: - HAS_TEXTFSM = False - - -class ActionModule(ActionBase): - - def run(self, tmp=None, task_vars=None): - ''' handler for textfsm action ''' - - if task_vars is None: - task_vars = dict() - - result = super(ActionModule, self).run(tmp, task_vars) - del tmp # tmp no longer has any effect - - try: - if not HAS_TEXTFSM: - raise AnsibleError('textfsm_parser engine requires the TextFSM library to be installed') - - try: - filename = self._task.args.get('file') - src = self._task.args.get('src') - content = self._task.args['content'] - name = self._task.args.get('name') - except KeyError as exc: - raise AnsibleError('missing required argument: %s' % exc) - - if src and filename: - raise AnsibleError('`src` and `file` are mutually exclusive arguments') - - if not isinstance(content, string_types): - return {'failed': True, 'msg': '`content` must be of type str, got %s' % type(content)} - - if filename: - tmpl = open(filename) - else: - tmpl = StringIO() - tmpl.write(src.strip()) - tmpl.seek(0) - - try: - re_table = textfsm.TextFSM(tmpl) - fsm_results = re_table.ParseText(content) - - except Exception as exc: - raise AnsibleError(str(exc)) - - final_facts = [] - for item in fsm_results: - facts = {} - facts.update(dict(zip(re_table.header, item))) - final_facts.append(facts) - - if name: - result['ansible_facts'] = {name: final_facts} - else: - result['ansible_facts'] = {} - - finally: - self._remove_tmp_path(self._connection._shell.tmpdir) - - return result diff --git a/ansible_collections/dellemc/os10/plugins/cliconf/os10.py b/ansible_collections/dellemc/os10/plugins/cliconf/os10.py deleted file mode 100644 index 7d009f5a2..000000000 --- a/ansible_collections/dellemc/os10/plugins/cliconf/os10.py +++ /dev/null @@ -1,88 +0,0 @@ -# -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. -# -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -DOCUMENTATION = """ ---- -cliconf: os10 -short_description: Use os10 cliconf to run command on Dell OS10 platform -description: - - This os10 plugin provides low level abstraction apis for - sending and receiving CLI commands from Dell OS10 network devices. -""" - -import re -import json - -from itertools import chain - -from ansible.module_utils._text import to_bytes, to_text -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import to_list -from ansible.plugins.cliconf import CliconfBase, enable_mode - - -class Cliconf(CliconfBase): - - def get_device_info(self): - device_info = {} - - device_info['network_os'] = 'dellemc.os10.os10' - reply = self.get('show version') - data = to_text(reply, errors='surrogate_or_strict').strip() - - match = re.search(r'OS Version (\S+)', data) - if match: - device_info['network_os_version'] = match.group(1) - - match = re.search(r'System Type (\S+)', data, re.M) - if match: - device_info['network_os_model'] = match.group(1) - - reply = self.get('show running-configuration | grep hostname') - data = to_text(reply, errors='surrogate_or_strict').strip() - match = re.search(r'^hostname (.+)', data, re.M) - if match: - device_info['network_os_hostname'] = match.group(1) - - return device_info - - @enable_mode - def get_config(self, source='running', format='text', flags=None): - if source not in ('running', 'startup'): - return self.invalid_params("fetching configuration from %s is not supported" % source) - if source == 'running': - cmd = 'show running-config all' - else: - cmd = 'show startup-config' - return self.send_command(cmd) - - @enable_mode - def edit_config(self, command): - for cmd in chain(['configure terminal'], to_list(command), ['end']): - self.send_command(to_bytes(cmd)) - - def get(self, command, prompt=None, answer=None, sendonly=False, newline=True, check_all=False): - return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline, check_all=check_all) - - def get_capabilities(self): - result = super(Cliconf, self).get_capabilities() - return json.dumps(result) diff --git a/ansible_collections/dellemc/os10/plugins/doc_fragments/os10.py b/ansible_collections/dellemc/os10/plugins/doc_fragments/os10.py deleted file mode 100644 index 9a6baf44c..000000000 --- a/ansible_collections/dellemc/os10/plugins/doc_fragments/os10.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright: (c) 2020, Peter Sprygada <psprygada@ansible.com> -# Copyright: (c) 2020, Dell Inc. -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__metaclass__ = type - - -class ModuleDocFragment(object): - - # Standard files documentation fragment - DOCUMENTATION = r''' -options: - provider: - description: - - A dict object containing connection details. - type: dict - suboptions: - host: - description: - - Specifies the DNS host name or address for connecting to the remote - device over the specified transport. The value of host is used as - the destination address for the transport. - type: str - port: - description: - - Specifies the port to use when building the connection to the remote - device. - type: int - username: - description: - - User to authenticate the SSH session to the remote device. If the - value is not specified in the task, the value of environment variable - C(ANSIBLE_NET_USERNAME) will be used instead. - type: str - password: - description: - - Password to authenticate the SSH session to the remote device. If the - value is not specified in the task, the value of environment variable - C(ANSIBLE_NET_PASSWORD) will be used instead. - type: str - ssh_keyfile: - description: - - Path to an ssh key used to authenticate the SSH session to the remote - device. If the value is not specified in the task, the value of - environment variable C(ANSIBLE_NET_SSH_KEYFILE) will be used instead. - type: path - timeout: - description: - - Specifies idle timeout (in seconds) for the connection. Useful if the - console freezes before continuing. For example when saving - configurations. - type: int - authorize: - description: - - Instructs the module to enter privileged mode on the remote device before - sending any commands. If not specified, the device will attempt to execute - all commands in non-privileged mode. If the value is not specified in the - task, the value of environment variable C(ANSIBLE_NET_AUTHORIZE) will be - used instead. - type: bool - default: false - auth_pass: - description: - - Specifies the password to use if required to enter privileged mode on the - remote device. If I(authorize) is false, then this argument does nothing. - If the value is not specified in the task, the value of environment variable - C(ANSIBLE_NET_AUTH_PASS) will be used instead. - type: str -notes: - - For more information on using Ansible to manage Dell EMC Network devices see U(https://www.ansible.com/ansible-dell-networking). -''' diff --git a/ansible_collections/dellemc/os10/plugins/module_utils/network/__init__.py b/ansible_collections/dellemc/os10/plugins/module_utils/network/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/plugins/module_utils/network/__init__.py +++ /dev/null diff --git a/ansible_collections/dellemc/os10/plugins/module_utils/network/base_network_show.py b/ansible_collections/dellemc/os10/plugins/module_utils/network/base_network_show.py deleted file mode 100644 index b287c38c9..000000000 --- a/ansible_collections/dellemc/os10/plugins/module_utils/network/base_network_show.py +++ /dev/null @@ -1,42 +0,0 @@ -from __future__ import (absolute_import, division, print_function) -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native -from collections import OrderedDict -import traceback - -LIB_IMP_ERR = None -ERR_MSG = None -try: - import xmltodict - import yaml - HAS_LIB = True -except Exception as e: - HAS_LIB = False - ERR_MSG = to_native(e) - LIB_IMP_ERR = traceback.format_exc() - -__copyright__ = "(c) Copyright 2020 Dell Inc. or its subsidiaries. All rights reserved." -__metaclass__ = type - - -class BaseNetworkShow(object): - """The goal of this class is to extended by other in order to implement show system network view ansible modules""" - - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - if not HAS_LIB: - self.module.fail_json( - msg=ERR_MSG, - exception=LIB_IMP_ERR) - self.exit_msg = OrderedDict() - - def xml_to_dict(self, value): - - return xmltodict.parse(value) - - def dict_to_yaml(self, value): - return yaml.safe_dump(value, default_flow_style=False) - - -if __name__ == '__main__': - pass diff --git a/ansible_collections/dellemc/os10/plugins/module_utils/network/os10.py b/ansible_collections/dellemc/os10/plugins/module_utils/network/os10.py deleted file mode 100644 index 35976488d..000000000 --- a/ansible_collections/dellemc/os10/plugins/module_utils/network/os10.py +++ /dev/null @@ -1,146 +0,0 @@ -# -# (c) 2020 Peter Sprygada, <psprygada@ansible.com> -# (c) 2020 Red Hat, Inc -# -# Copyright (c) 2020 Dell Inc. -# -# This code is part of Ansible, but is an independent component. -# This particular file snippet, and this file snippet only, is BSD licensed. -# Modules you write using this snippet, which is embedded dynamically by Ansible -# still belong to the author of the module, and may assign their own license -# to the complete work. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -from __future__ import (absolute_import, division, print_function) - -import re - -from ansible.module_utils._text import to_text -from ansible.module_utils.basic import env_fallback -from ansible.module_utils.connection import exec_command -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import to_list, ComplexList -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.config import NetworkConfig, ConfigLine - -__metaclass__ = type - -_DEVICE_CONFIGS = {} - -WARNING_PROMPTS_RE = [ - r"[\r\n]?\[confirm yes/no\]:\s?$", - r"[\r\n]?\[y/n\]:\s?$", - r"[\r\n]?\[yes/no\]:\s?$" -] - -os10_provider_spec = { - 'host': dict(), - 'port': dict(type='int'), - 'username': dict(fallback=(env_fallback, ['ANSIBLE_NET_USERNAME'])), - 'password': dict(fallback=(env_fallback, ['ANSIBLE_NET_PASSWORD']), no_log=True), - 'ssh_keyfile': dict(fallback=(env_fallback, ['ANSIBLE_NET_SSH_KEYFILE']), type='path'), - 'authorize': dict(fallback=(env_fallback, ['ANSIBLE_NET_AUTHORIZE']), type='bool'), - 'auth_pass': dict(fallback=(env_fallback, ['ANSIBLE_NET_AUTH_PASS']), no_log=True), - 'timeout': dict(type='int'), -} -os10_argument_spec = { - 'provider': dict(type='dict', options=os10_provider_spec), -} - - -def check_args(module, warnings): - pass - - -def get_config(module, flags=None): - flags = [] if flags is None else flags - - cmd = 'show running-configuration' - cmd += ' '.join(flags) - cmd = cmd.strip() - - try: - return _DEVICE_CONFIGS[cmd] - except KeyError: - rc, out, err = exec_command(module, cmd) - if rc != 0: - module.fail_json(msg='unable to retrieve current config', stderr=to_text(err, errors='surrogate_or_strict')) - cfg = to_text(out, errors='surrogate_or_strict').strip() - _DEVICE_CONFIGS[cmd] = cfg - return cfg - - -def to_commands(module, commands): - spec = { - 'command': dict(key=True), - 'prompt': dict(), - 'answer': dict() - } - transform = ComplexList(spec, module) - return transform(commands) - - -def run_commands(module, commands, check_rc=True): - responses = list() - commands = to_commands(module, to_list(commands)) - for cmd in commands: - cmd = module.jsonify(cmd) - rc, out, err = exec_command(module, cmd) - if check_rc and rc != 0: - module.fail_json(msg=to_text(err, errors='surrogate_or_strict'), rc=rc) - responses.append(to_text(out, errors='surrogate_or_strict')) - return responses - - -def load_config(module, commands): - rc, out, err = exec_command(module, 'configure terminal') - if rc != 0: - module.fail_json(msg='unable to enter configuration mode', err=to_text(err, errors='surrogate_or_strict')) - - commands.append('commit') - for command in to_list(commands): - if command == 'end': - continue - rc, out, err = exec_command(module, command) - if rc != 0: - module.fail_json(msg=to_text(err, errors='surrogate_or_strict'), command=command, rc=rc) - - exec_command(module, 'end') - - -def get_sublevel_config(running_config, module): - contents = list() - current_config_contents = list() - running_config = NetworkConfig(contents=running_config, indent=1) - obj = running_config.get_object(module.params['parents']) - if obj: - contents = obj.children - contents[:0] = module.params['parents'] - - indent = 0 - for c in contents: - if isinstance(c, str): - current_config_contents.append(c.rjust(len(c) + indent, ' ')) - if isinstance(c, ConfigLine): - current_config_contents.append(c.raw) - indent = 1 - sublevel_config = '\n'.join(current_config_contents) - - return sublevel_config diff --git a/ansible_collections/dellemc/os10/plugins/modules/__init__.py b/ansible_collections/dellemc/os10/plugins/modules/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/__init__.py +++ /dev/null diff --git a/ansible_collections/dellemc/os10/plugins/modules/base_xml_to_dict.py b/ansible_collections/dellemc/os10/plugins/modules/base_xml_to_dict.py deleted file mode 100644 index b7d82f774..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/base_xml_to_dict.py +++ /dev/null @@ -1,124 +0,0 @@ -#!/usr/bin/python - -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) Copyright 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - - -DOCUMENTATION = ''' -module: base_xml_to_dict -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Operations for show command output convertion from xml to json format. -description: - - - Get the show system inforamtion of a Leaf-Spine. - -options: - cli_responses: - type: str - description: - - show command xml output - required: True -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run as follows: - -#$ ansible-playbook -i inv play.yml -name: setup the plabook to get show command output in dict format -hosts: localhost -connection: local -gather_facts: False -vars: - cli: - username: admin - password: admin -tasks: -- name: "Get Dell EMC OS10 Show output in dict format" - os10_command: - commands: "{{ command_list }}" - register: show -- debug: var=show -- name: call to lib to get output in dict - base_xml_to_dict: - cli_responses: "{{ item }}" - loop: "{{ show.stdout }}" -''' - -from ansible.module_utils._text import to_native -from ansible.module_utils.basic import AnsibleModule -from collections import OrderedDict -import traceback - -LIB_IMP_ERR = None -ERR_MSG = None -try: - import xmltodict - HAS_LIB = True -except Exception as e: - HAS_LIB = False - ERR_MSG = to_native(e) - LIB_IMP_ERR = traceback.format_exc() - - -class XmlToDictAnsibleModule(object): - """The goal of this class is to convert xml input to dict""" - - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - self.cli_responses = self.module.params['cli_responses'] - self.exit_msg = OrderedDict() - - def get_fields(self): - """Return valid fields""" - base_fields = { - 'cli_responses': { - 'type': 'str', - 'required': True - } - } - return base_fields - - def build_xml_list(self, xml_output): - xml_str_list = [] - xml_declaration_tag = '<?xml version="1.0"?>\n' - for data in xml_output.split('<?xml version="1.0"'): - if not data: - continue - xml_data = ''.join(data.splitlines(True)[1:]) - xml_str_list.append(xml_declaration_tag + xml_data) - - return xml_str_list - - def perform_action(self): - try: - out = list() - # the below line should be removed or not valid when the password - # decrypt issue is resolved - self.cli_responses = self.cli_responses.replace( - "*-", '').replace("*", '') - xml_str_list = self.build_xml_list(self.cli_responses) - for xml_list in xml_str_list: - out.append(xmltodict.parse(xml_list)) - - self.exit_msg.update({"result": out}) - self.module.exit_json(changed=False, msg=self.exit_msg) - except Exception as e: - self.module.fail_json( - msg=to_native(e), - exception=traceback.format_exc()) - - -def main(): - module_instance = XmlToDictAnsibleModule() - if not HAS_LIB: - module_instance.module.fail_json(msg=ERR_MSG, - exception=LIB_IMP_ERR) - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/bgp_validate.py b/ansible_collections/dellemc/os10/plugins/modules/bgp_validate.py deleted file mode 100644 index 85832c786..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/bgp_validate.py +++ /dev/null @@ -1,303 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - -DOCUMENTATION = ''' -module: bgp_validate -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Validate the bgp neighbor state,raise error if it is not in established state -description: - - - Troubleshoot the bgp neighor state info using show ip bgp summary and show ip interface brief. - -options: - show_ip_bgp: - description: - - show ip bgp summary output - type: 'list' - required: True - show_ip_intf_brief: - description: - - show ip interface brief output - type: 'list' - required: True - bgp_neighbors: - description: - - planned neighbours input from group_var to compare actual - type: 'list' - required: True -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run as follows: - -#$ ansible-playbook -i inv play.yml -name: Validate BGP configuration -hosts: localhost -connection: local -gather_facts: False -tasks: - - name: "Get Dell EMC OS10 Show ip bgp summary" - os10_command: - commands: - - command: "show ip bgp summary | display-xml" - - command: "show ip interface brief | display-xml" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_bgp - - set_fact: - output_bgp: "{{ output_bgp|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, - 'stdout_show_bgp': item.stdout.0, 'stdout_show_ip': item.stdout.1}] }}" - loop: "{{ show_bgp.results }}" - - debug: var=output_bgp - - local_action: copy content={{ output_bgp }} dest=show - - name: call lib to convert bgp info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_bgp }}" - with_items: - - "{{ output_bgp }}" - register: show_bgp_list - - name: call lib to convert ip interface info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_ip }}" - with_items: - - "{{ output_bgp }}" - register: show_ip_intf_list - - name: call lib for bgp validation - bgp_validate: - show_ip_bgp: "{{ show_bgp_list.results }}" - show_ip_intf_brief: "{{ show_ip_intf_list.results }}" - bgp_neighbors: "{{ intended_bgp_neighbors }}" -''' - -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native -from collections import OrderedDict -import traceback - - -class BgpValidation(object): - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - self.show_ip_bgp = self.module.params['show_ip_bgp'] - self.show_ip_intf_brief = self.module.params['show_ip_intf_brief'] - self.bgp_neighbors = self.module.params['bgp_neighbors'] - self.exit_msg = OrderedDict() - - def get_fields(self): - spec_fields = { - 'show_ip_bgp': { - 'type': 'list', - 'required': True - }, - 'show_ip_intf_brief': { - 'type': 'list', - 'required': True - }, - 'bgp_neighbors': { - 'type': 'list', - 'required': True - } - } - return spec_fields - - def parse_bgp_output(self): - show_bgp_dict = {} - for show_list in self.show_ip_bgp: - show_bgp_list = list() - item = show_list.get("item") - inv_name = None - if item is not None: - inv_name = item.get("inv_name") - msg = show_list.get("msg") - if msg is not None: - result = msg.get("result") - if result is not None: - for sub_result in result: - bgp_dict = {} - rpc_reply = sub_result.get("rpc-reply") - if rpc_reply is not None: - bulk = rpc_reply.get("bulk") - if bulk is not None: - data = bulk.get("data") - if data is not None and "peer-oper" in data: - peer_oper = data.get("peer-oper") - if peer_oper is not None and "remote-address" in peer_oper: - bgp_dict["remote_address"] = peer_oper.get( - "remote-address") - bgp_dict["bgp-state"] = peer_oper.get( - "bgp-state") - show_bgp_list.append(bgp_dict) - show_bgp_dict[inv_name] = show_bgp_list - return show_bgp_dict - - def parse_ip_intf_output(self): - show_ip_dict = {} - for show_list in self.show_ip_intf_brief: - show_ip_list = list() - item = show_list.get("item") - inv_name = None - if item is not None: - inv_name = item.get("inv_name") - msg = show_list.get("msg") - if msg is not None: - result = msg.get("result") - if result is not None: - for sub_result in result: - rpc_reply = sub_result.get("rpc-reply") - if rpc_reply is not None: - bulk = rpc_reply.get("bulk") - if bulk is not None: - data = bulk.get("data") - if data is not None: - sub_val = data.get("interface") - if sub_val is not None: - for val in sub_val: - intf_dict = {} - if "ipv4-info" in val: - ipv4_info = val.get( - "ipv4-info") - if ipv4_info is not None and "addr" in ipv4_info: - intf_dict["address"] = ipv4_info.get( - "addr") - intf_dict["if_name"] = val.get( - "name") - intf_dict["oper_status"] = val.get( - "oper-status") - if bool(intf_dict): - show_ip_list.append(intf_dict) - show_ip_dict[inv_name] = show_ip_list - return show_ip_dict - - def get_intf_info_per_ip(self, intf_dict): - final_intf_dict = {} - for key1, value1 in intf_dict.items(): - intf_list = value1 - intf_dict = {} - for ip in intf_list: - intf_info = {} - ip_address = ip.get("address") - intf_address = ip_address.split('/') - intf_ip = intf_address[0] - intf_info["if_name"] = ip.get("if_name") - intf_info["oper_status"] = ip.get("oper_status") - intf_info["dest_switch"] = key1 - intf_dict[intf_ip] = intf_info - if bool(intf_dict): - final_intf_dict[key1] = intf_dict - return final_intf_dict - - def get_intf_info_from_neighbor_ip( - self, source_switch, neighbor_ip, intf_dict): - final_intf_info = {} - intf_dict_per_ip = self.get_intf_info_per_ip(intf_dict) - for key, value in intf_dict_per_ip.items(): - switch_name = key - if source_switch == switch_name: - continue - intf_info = value.get(neighbor_ip) - if intf_info is None: - continue - final_intf_info = intf_info - break - return final_intf_info - - def get_bgp_final_nbr_list(self, bgp_dict, intf_dict): - actual_bgp_dict = {} - final_bgp_dict = {} - for key, value in bgp_dict.items(): - actual_bgp_list = list() - bgp_list = value - source_switch = key - for bgp in bgp_list: - final_dict = {} - bgp_state = bgp.get("bgp-state") - remote_address = bgp.get("remote_address") - reason = "neighbor config missing" - error_type = "config_missing" - intf_info = self.get_intf_info_from_neighbor_ip( - source_switch, remote_address, intf_dict) - if bool(intf_info): - dest_switch = intf_info.get("dest_switch") - remote_port = intf_info.get("if_name") - oper_status = intf_info.get("oper_status") - final_dict["source_switch"] = source_switch - final_dict["bgp_neighbor"] = remote_address - final_dict["bgp_state"] = bgp_state - if bgp_state != "established": - if oper_status != "up": - reason = ( - "remote port {0} {1} is {2}" .format( - dest_switch, remote_port, oper_status)) - error_type = "remote_port_down" - final_dict["error_type"] = error_type - final_dict["possible_reason"] = reason - else: - final_dict["source_switch"] = source_switch - final_dict["bgp_neighbor"] = remote_address - final_dict["bgp_state"] = bgp_state - final_dict["error_type"] = error_type - final_dict["possible_reason"] = reason - actual_bgp_list.append(final_dict) - actual_bgp_dict[source_switch] = actual_bgp_list - # check actual with intended neighbor to display the result - intended_list = list() - for intended_bgp_neighbor in self.bgp_neighbors: - planned_source_switch = intended_bgp_neighbor.get("source_switch") - planned_nbr_list = intended_bgp_neighbor.get("neighbor_ip") - actual_nbr_list = actual_bgp_dict.get(planned_source_switch) - if planned_nbr_list is None or actual_nbr_list is None: - continue - for actual_nbr in actual_nbr_list: - actual_source_switch = actual_nbr.get("source_switch") - actual_bgp_neighbor = actual_nbr.get("bgp_neighbor") - actual_bgp_state = actual_nbr.get("bgp_state") - if actual_bgp_neighbor in planned_nbr_list: - # Don't add established neighbor in result - if actual_bgp_state != "established": - intended_list.append(actual_nbr) - planned_nbr_list.remove(actual_bgp_neighbor) - else: - reason = "neighbor {0} is not an intended, please add this neighbor in the intended_bgp_neighbors".format( - actual_bgp_neighbor) - actual_nbr["bgp_neighbor"] = "-" - actual_nbr["error_type"] = "not_an_intended_neighbor" - actual_nbr["possible_reason"] = reason - intended_list.append(actual_nbr) - # Add the missed planned info which are not present in actual - # results - for planned_nbr in planned_nbr_list: - reason = "neighbor config missing" - temp_dict = {} - temp_dict["source_switch"] = planned_source_switch - temp_dict["bgp_neighbor"] = planned_nbr - temp_dict["error_type"] = "config_missing" - temp_dict["possible_reason"] = reason - intended_list.append(temp_dict) - return intended_list - - def perform_action(self): - try: - bgp_dict = self.parse_bgp_output() - intf_dict = self.parse_ip_intf_output() - final_bgp_list = self.get_bgp_final_nbr_list(bgp_dict, intf_dict) - self.exit_msg.update({"results": final_bgp_list}) - self.module.exit_json(changed=False, msg=self.exit_msg) - except Exception as e: - self.module.fail_json( - msg=to_native(e), - exception=traceback.format_exc()) - - -def main(): - module_instance = BgpValidation() - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/mtu_validate.py b/ansible_collections/dellemc/os10/plugins/modules/mtu_validate.py deleted file mode 100644 index f0a9620d2..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/mtu_validate.py +++ /dev/null @@ -1,220 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - -DOCUMENTATION = ''' -module: mtu_validate -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Validate the MTU value for lldp neighbors -description: - - - Get the wiring info using lldp output and show system network summary. - -options: - show_lldp_neighbors_list: - description: - - show lldp neighbor output - type: 'list' - required: True - show_system_network_summary: - description: - - show system network summary output - type: 'list' - required: True - show_ip_intf_brief: - description: - - show ip intf brief - type: 'list' - required: True -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run follows: - -#$ ansible-playbook -i inv play.yml -name: show mtu mismatch info -hosts: localhost -connection: local -gather_facts: False -tasks: - - name: "Get Dell EMC OS10 MTU mismatch info" - os10_command: - commands: - - command: "show lldp neighbors" - - command: "show ip interface brief | display-xml" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_lldp - - set_fact: - output: "{{ output|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, - 'stdout_show_lldp': item.stdout.0, 'stdout_show_ip': item.stdout.1 }] }}" - loop: "{{ show_lldp.results }}" - - debug: var=output - - local_action: copy content={{ output }} dest=show1 - - name: call lib to convert ip interface info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_ip }}" - with_items: "{{ output }}" - register: show_ip_intf_list - - local_action: copy content={{ show_ip_intf_list }} dest=show_ip - - - name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary - - debug: var=show_system_network_summary - - name: call lib to process - mtu_validate: - show_lldp_neighbors_list: "{{ output }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - show_ip_intf_brief: "{{ show_ip_intf_list.results }}" -''' - -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native -from collections import OrderedDict -import re -import traceback - - -class MtuValidation(object): - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - self.show_lldp_neighbors_list = self.module.params['show_lldp_neighbors_list'] - self.show_system_network_summary = self.module.params['show_system_network_summary'] - self.show_ip_intf_brief = self.module.params['show_ip_intf_brief'] - self.exit_msg = OrderedDict() - - def get_fields(self): - spec_fields = { - 'show_lldp_neighbors_list': { - 'type': 'list', - 'required': True - }, - 'show_system_network_summary': { - 'type': 'list', - 'required': True - }, - 'show_ip_intf_brief': { - 'type': 'list', - 'required': True - } - } - return spec_fields - - def get_int_mtu(self, spine, port): - for show_list in self.show_ip_intf_brief: - inv_name = show_list["item"]["inv_name"] - if spine != inv_name: - continue - value = show_list["msg"]["result"] - for data in value: - intf_list = data["rpc-reply"]["bulk"]["data"]["interface"] - for val in intf_list: - intf_name = val["name"] - if intf_name == port: - mtu = val["mtu"] - return mtu - return None - - # form actual neighbors per network with help of lldp output and show - # sytem output - def get_actual_neigbor(self, lldp_list): - final_out = list() - for show_system in self.show_system_network_summary: - for lldp in lldp_list: - if show_system["host"] != lldp["host"] and "node-mac" in show_system and "rem_mac" in lldp: - rem_host = show_system["host"] - loc_host = lldp["host"] - # check whether lldp output mac match with system summary - # mac and collect port and host info - dest_switch = show_system["inv_name"] - source_switch = lldp["inv_name"] - lldp_mac = lldp["rem_mac"] - for index, rem_mac in enumerate(lldp_mac): - final_dict = {} - if (str.lower( - show_system["node-mac"])) == (str.lower(rem_mac)): - final_dict["source_switch"] = source_switch - final_dict["dest_switch"] = dest_switch - final_dict["source_port"] = lldp["loc_port"][index] - final_dict["dest_port"] = lldp["rem_port"][index] - source_mtu = self.get_int_mtu( - source_switch, final_dict["source_port"]) - dest_mtu = self.get_int_mtu( - dest_switch, final_dict["dest_port"]) - if source_mtu is not None: - final_dict["source_mtu"] = source_mtu - if dest_mtu is not None: - final_dict["dest_mtu"] = dest_mtu - final_out.append(final_dict) - return final_out - - def parse_lldp_output(self): - nbr_list = list() - for cli in self.show_lldp_neighbors_list: - out_dict = {} - loc_port = list() - rem_port = list() - rem_mac = list() - for key, value in cli.items(): - if key == "host": - out_dict[key] = value - if key == "inv_name": - out_dict[key] = value - if key == "stdout_show_lldp": - output = str(value) - lldp_regexp = r"(\S+)\s+(\S+)\s+(\S+)\s+(\S+)" - lines = output.splitlines() - for line in lines: - if "Loc PortID" in line: - continue - match = re.match(lldp_regexp, line) - if match: - val = match.groups() - loc_port.append(val[0]) - rem_port.append(val[2]) - rem_mac.append(val[3]) - out_dict["loc_port"] = loc_port - out_dict["rem_port"] = rem_port - out_dict["rem_mac"] = rem_mac - nbr_list.append(out_dict) - return nbr_list - - def get_mtu_mismatch_info(self, nbr_list): - mtu_list = list() - for nbr in nbr_list: - if nbr["source_mtu"] != nbr["dest_mtu"]: - nbr["error"] = "mismatch" - mtu_list.append(nbr) - return mtu_list - - def perform_action(self): - try: - lldp_list = self.parse_lldp_output() - actual_nbr = self.get_actual_neigbor(lldp_list) - mtu_mismatch_list = self.get_mtu_mismatch_info(actual_nbr) - if len(mtu_mismatch_list) > 0: - self.exit_msg.update({"results": mtu_mismatch_list}) - else: - self.exit_msg.update( - {"results": "There is no MTU mistmatch between neighbors"}) - self.module.exit_json(changed=False, msg=self.exit_msg) - except Exception as e: - self.module.fail_json( - msg=to_native(e), - exception=traceback.format_exc()) - - -def main(): - module_instance = MtuValidation() - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/os10_command.py b/ansible_collections/dellemc/os10/plugins/modules/os10_command.py deleted file mode 100644 index a99f1a67f..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/os10_command.py +++ /dev/null @@ -1,229 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -# Copyright: (c) 2020, Peter Sprygada <psprygada@ansible.com> -# Copyright: (c) 2020, Dell Inc. -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import absolute_import, division, print_function -__metaclass__ = type - - -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - - -DOCUMENTATION = """ ---- -module: os10_command -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Run commands on devices running Dell EMC SmartFabric OS10 -description: - - Sends arbitrary commands to a OS10 device and returns the results - read from the device. This module includes an - argument that will cause the module to wait for a specific condition - before returning or timing out if the condition is not met. - - This module does not support running commands in configuration mode. - Please use M(dellemc.os10.os10_config) to configure OS10 devices. -extends_documentation_fragment: dellemc.os10.os10 -options: - commands: - description: - - List of commands to send to the remote OS10 device over the - configured provider. The resulting output from the command - is returned. If the I(wait_for) argument is provided, the - module is not returned until the condition is satisfied or - the number of retries has expired. - type: list - required: true - wait_for: - description: - - List of conditions to evaluate against the output of the - command. The task will wait for each condition to be true - before moving forward. If the conditional is not true - within the configured number of I(retries), the task fails. - See examples. - type: list - elements: str - match: - description: - - The I(match) argument is used in conjunction with the - I(wait_for) argument to specify the match policy. Valid - values are C(all) or C(any). If the value is set to C(all) - then all conditionals in the wait_for must be satisfied. If - the value is set to C(any) then only one of the values must be - satisfied. - type: str - default: all - choices: [ all, any ] - retries: - description: - - Specifies the number of retries a command should be tried - before it is considered failed. The command is run on the - target device every retry and evaluated against the - I(wait_for) conditions. - type: int - default: 10 - interval: - description: - - Configures the interval in seconds to wait between retries - of the command. If the command does not pass the specified - conditions, the interval indicates how long to wait before - trying the command again. - type: int - default: 1 -""" - -EXAMPLES = """ -tasks: - - name: run show version on remote devices - os10_command: - commands: show version - - - name: run show version and check to see if output contains OS10 - os10_command: - commands: show version - wait_for: result[0] contains OS10 - - - name: run multiple commands on remote nodes - os10_command: - commands: - - show version - - show interface - - - name: run multiple commands and evaluate the output - os10_command: - commands: - - show version - - show interface - wait_for: - - result[0] contains OS10 - - result[1] contains Ethernet -""" - -RETURN = """ -stdout: - description: The set of responses from the commands - returned: always apart from low level errors (such as action plugin) - type: list - sample: ['...', '...'] -stdout_lines: - description: The value of stdout split into a list - returned: always apart from low level errors (such as action plugin) - type: list - sample: [['...', '...'], ['...'], ['...']] -failed_conditions: - description: The list of conditionals that have failed - returned: failed - type: list - sample: ['...', '...'] -warnings: - description: The list of warnings (if any) generated by module based on arguments - returned: always - type: list - sample: ['...', '...'] -""" -import time - -from ansible.module_utils.basic import AnsibleModule -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import run_commands -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import os10_argument_spec, check_args -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import ComplexList -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.parsing import Conditional -from ansible.module_utils.six import string_types - - -def to_lines(stdout): - for item in stdout: - if isinstance(item, string_types): - item = str(item).split('\n') - yield item - - -def parse_commands(module, warnings): - command = ComplexList(dict( - command=dict(key=True), - prompt=dict(), - answer=dict() - ), module) - commands = command(module.params['commands']) - for index, item in enumerate(commands): - if module.check_mode and not item['command'].startswith('show'): - warnings.append( - 'only show commands are supported when using check mode, not ' - 'executing `%s`' % item['command'] - ) - elif item['command'].startswith('conf'): - module.fail_json( - msg='os10_command does not support running config mode ' - 'commands. Please use os10_config instead' - ) - return commands - - -def main(): - """main entry point for module execution - """ - argument_spec = dict( - # { command: <str>, prompt: <str>, response: <str> } - commands=dict(type='list', required=True), - - wait_for=dict(type='list', elements='str'), - match=dict(default='all', choices=['all', 'any']), - - retries=dict(default=10, type='int'), - interval=dict(default=1, type='int') - ) - - argument_spec.update(os10_argument_spec) - - module = AnsibleModule(argument_spec=argument_spec, - supports_check_mode=True) - - result = {'changed': False} - - warnings = list() - check_args(module, warnings) - commands = parse_commands(module, warnings) - result['warnings'] = warnings - - wait_for = module.params['wait_for'] or list() - conditionals = [Conditional(c) for c in wait_for] - - retries = module.params['retries'] - interval = module.params['interval'] - match = module.params['match'] - - while retries > 0: - responses = run_commands(module, commands) - - for item in list(conditionals): - if item(responses): - if match == 'any': - conditionals = list() - break - conditionals.remove(item) - - if not conditionals: - break - - time.sleep(interval) - retries -= 1 - - if conditionals: - failed_conditions = [item.raw for item in conditionals] - msg = 'One or more conditional statements have not been satisfied' - module.fail_json(msg=msg, failed_conditions=failed_conditions) - - result.update({ - 'changed': False, - 'stdout': responses, - 'stdout_lines': list(to_lines(responses)) - }) - - module.exit_json(**result) - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/os10_config.py b/ansible_collections/dellemc/os10/plugins/modules/os10_config.py deleted file mode 100644 index 925568f14..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/os10_config.py +++ /dev/null @@ -1,346 +0,0 @@ -#!/usr/bin/python -# -# (c) 2020 Peter Sprygada, <psprygada@ansible.com> -# Copyright (c) 2020 Dell Inc. -# -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import absolute_import, division, print_function -__metaclass__ = type - - -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - - -DOCUMENTATION = """ ---- -module: os10_config -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Manage Dell EMC SmartFabric OS10 configuration sections -description: - - OS10 configurations use a simple block indent file syntax - for segmenting configuration into sections. This module provides - an implementation for working with OS10 configuration sections in - a deterministic way. -extends_documentation_fragment: dellemc.os10.os10 -options: - lines: - description: - - The ordered set of commands that should be configured in the - section. The commands must be the exact same commands as found - in the device running-config. Be sure to note the configuration - command syntax as some commands are automatically modified by the - device config parser. This argument is mutually exclusive with I(src). - type: list - aliases: ['commands'] - parents: - description: - - The ordered set of parents that uniquely identify the section or hierarchy - the commands should be checked against. If the parents argument - is omitted, the commands are checked against the set of top - level or global commands. - type: list - src: - description: - - Specifies the source path to the file that contains the configuration - or configuration template to load. The path to the source file can - either be the full path on the Ansible control host or a relative - path from the playbook or role root directory. This argument is - mutually exclusive with I(lines). - type: path - before: - description: - - The ordered set of commands to push on to the command stack if - a change needs to be made. This allows the playbook designer - the opportunity to perform configuration commands prior to pushing - any changes without affecting how the set of commands are matched - against the system. - type: list - after: - description: - - The ordered set of commands to append to the end of the command - stack if a change needs to be made. Just like with I(before) this - allows the playbook designer to append a set of commands to be - executed after the command set. - type: list - match: - description: - - Instructs the module on the way to perform the matching of - the set of commands against the current device config. If - match is set to I(line), commands are matched line by line. If - match is set to I(strict), command lines are matched with respect - to position. If match is set to I(exact), command lines - must be an equal match. Finally, if match is set to I(none), the - module will not attempt to compare the source configuration with - the running configuration on the remote device. - type: str - default: line - choices: ['line', 'strict', 'exact', 'none'] - replace: - description: - - Instructs the module on the way to perform the configuration - on the device. If the replace argument is set to I(line) then - the modified lines are pushed to the device in configuration - mode. If the replace argument is set to I(block) then the entire - command block is pushed to the device in configuration mode if any - line is not correct. - type: str - default: line - choices: ['line', 'block'] - update: - description: - - The I(update) argument controls how the configuration statements - are processed on the remote device. Valid choices for the I(update) - argument are I(merge) and I(check). When you set this argument to - I(merge), the configuration changes merge with the current - device running configuration. When you set this argument to I(check) - the configuration updates are determined but not actually configured - on the remote device. - type: str - default: merge - choices: ['merge', 'check'] - save: - description: - - The C(save) argument instructs the module to save the running- - config to the startup-config at the conclusion of the module - running. If check mode is specified, this argument is ignored. - type: bool - default: 'no' - config: - description: - - The module, by default, will connect to the remote device and - retrieve the current running-config to use as a base for comparing - against the contents of source. There are times when it is not - desirable to have the task get the current running-config for - every task in a playbook. The I(config) argument allows the - implementer to pass in the configuration to use as the base - config for comparison. - type: str - backup: - description: - - This argument will cause the module to create a full backup of - the current C(running-config) from the remote device before any - changes are made. If the C(backup_options) value is not given, - the backup file is written to the C(backup) folder in the playbook - root directory. If the directory does not exist, it is created. - type: bool - default: 'no' - backup_options: - description: - - This is a dict object containing configurable options related to backup file path. - The value of this option is read only when C(backup) is set to I(yes), if C(backup) is set - to I(no) this option will be silently ignored. - suboptions: - filename: - description: - - The filename to be used to store the backup configuration. If the the filename - is not given it will be generated based on the hostname, current time and date - in format defined by <hostname>_config.<current-date>@<current-time> - type: str - dir_path: - description: - - This option provides the path ending with directory name in which the backup - configuration file will be stored. If the directory does not exist it will be first - created and the filename is either the value of C(filename) or default filename - as described in C(filename) options description. If the path value is not given - in that case a I(backup) directory will be created in the current working directory - and backup configuration will be copied in C(filename) within I(backup) directory. - type: path - type: dict -""" - -EXAMPLES = """ -- os10_config: - lines: ['hostname {{ inventory_hostname }}'] - -- os10_config: - lines: - - 10 permit ip host 1.1.1.1 any log - - 20 permit ip host 2.2.2.2 any log - - 30 permit ip host 3.3.3.3 any log - - 40 permit ip host 4.4.4.4 any log - - 50 permit ip host 5.5.5.5 any log - parents: ['ip access-list test'] - before: ['no ip access-list test'] - match: exact - -- os10_config: - lines: - - 10 permit ip host 1.1.1.1 any log - - 20 permit ip host 2.2.2.2 any log - - 30 permit ip host 3.3.3.3 any log - - 40 permit ip host 4.4.4.4 any log - parents: ['ip access-list test'] - before: ['no ip access-list test'] - replace: block - -- os10_config: - lines: ['hostname {{ inventory_hostname }}'] - backup: yes - backup_options: - filename: backup.cfg - dir_path: /home/user -""" - -RETURN = """ -updates: - description: The set of commands that will be pushed to the remote device. - returned: always - type: list - sample: ['hostname foo', 'router bgp 1', 'router-id 1.1.1.1'] -commands: - description: The set of commands that will be pushed to the remote device - returned: always - type: list - sample: ['hostname foo', 'router bgp 1', 'router-id 1.1.1.1'] -saved: - description: Returns whether the configuration is saved to the startup - configuration or not. - returned: When not check_mode. - type: bool - sample: True -backup_path: - description: The full path to the backup file - returned: when backup is yes - type: str - sample: /playbooks/ansible/backup/os10_config.2016-07-16@22:28:34 -""" -from ansible.module_utils.basic import AnsibleModule -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import get_config, get_sublevel_config -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import os10_argument_spec, check_args -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import load_config, run_commands -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import WARNING_PROMPTS_RE -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.config import NetworkConfig, dumps - - -def get_candidate(module): - candidate = NetworkConfig(indent=1) - if module.params['src']: - candidate.load(module.params['src']) - elif module.params['lines']: - parents = module.params['parents'] or list() - commands = module.params['lines'][0] - if (isinstance(commands, dict)) and (isinstance((commands['command']), list)): - candidate.add(commands['command'], parents=parents) - elif (isinstance(commands, dict)) and (isinstance((commands['command']), str)): - candidate.add([commands['command']], parents=parents) - else: - candidate.add(module.params['lines'], parents=parents) - return candidate - - -def get_running_config(module): - contents = module.params['config'] - if not contents: - contents = get_config(module) - return contents - - -def main(): - - backup_spec = dict( - filename=dict(), - dir_path=dict(type='path') - ) - argument_spec = dict( - lines=dict(aliases=['commands'], type='list'), - parents=dict(type='list'), - - src=dict(type='path'), - - before=dict(type='list'), - after=dict(type='list'), - - match=dict(default='line', - choices=['line', 'strict', 'exact', 'none']), - replace=dict(default='line', choices=['line', 'block']), - - update=dict(choices=['merge', 'check'], default='merge'), - save=dict(type='bool', default=False), - config=dict(), - backup=dict(type='bool', default=False), - backup_options=dict(type='dict', options=backup_spec) - ) - - argument_spec.update(os10_argument_spec) - - mutually_exclusive = [('lines', 'src')] - - module = AnsibleModule(argument_spec=argument_spec, - mutually_exclusive=mutually_exclusive, - supports_check_mode=True) - - parents = module.params['parents'] or list() - - match = module.params['match'] - replace = module.params['replace'] - - warnings = list() - check_args(module, warnings) - - result = dict(changed=False, saved=False, warnings=warnings) - - if module.params['backup']: - if not module.check_mode: - result['__backup__'] = get_config(module) - - commands = list() - candidate = get_candidate(module) - - if any((module.params['lines'], module.params['src'])): - if match != 'none': - config = get_running_config(module) - if parents: - contents = get_sublevel_config(config, module) - config = NetworkConfig(contents=contents, indent=1) - else: - config = NetworkConfig(contents=config, indent=1) - configobjs = candidate.difference(config, match=match, replace=replace) - else: - configobjs = candidate.items - - if configobjs: - commands = dumps(configobjs, 'commands') - if ((isinstance((module.params['lines']), list)) and - (isinstance((module.params['lines'][0]), dict)) and - (set(['prompt', 'answer']).issubset(module.params['lines'][0]))): - - cmd = {'command': commands, - 'prompt': module.params['lines'][0]['prompt'], - 'answer': module.params['lines'][0]['answer']} - commands = [module.jsonify(cmd)] - else: - commands = commands.split('\n') - - if module.params['before']: - commands[:0] = module.params['before'] - - if module.params['after']: - commands.extend(module.params['after']) - - if not module.check_mode and module.params['update'] == 'merge': - load_config(module, commands) - - result['changed'] = True - result['commands'] = commands - result['updates'] = commands - - if module.params['save']: - result['changed'] = True - if not module.check_mode: - cmd = {r'command': 'copy running-config startup-config', - r'prompt': r'\[confirm yes/no\]:\s?$', 'answer': 'yes'} - run_commands(module, [cmd]) - result['saved'] = True - else: - module.warn('Skipping command `copy running-config startup-config`' - 'due to check_mode. Configuration not copied to ' - 'non-volatile storage') - - module.exit_json(**result) - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/os10_facts.py b/ansible_collections/dellemc/os10/plugins/modules/os10_facts.py deleted file mode 100644 index c124422bd..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/os10_facts.py +++ /dev/null @@ -1,505 +0,0 @@ -#!/usr/bin/python -# -# (c) 2020 Peter Sprygada, <psprygada@ansible.com> -# Copyright (c) 2020 Dell Inc. -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import absolute_import, division, print_function -__metaclass__ = type - - -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], - 'supported_by': 'community'} - - -DOCUMENTATION = """ ---- -module: os10_facts -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Collect facts from devices running Dell EMC SmartFabric OS10 -description: - - Collects a base set of device facts from a remote device that - is running OS10. This module prepends all of the - base network fact keys with C(ansible_net_<fact>). The facts - module will always collect a base set of facts from the device - and can enable or disable collection of additional facts. -extends_documentation_fragment: dellemc.os10.os10 -options: - gather_subset: - description: - - When supplied, this argument will restrict the facts collected - to a given subset. Possible values for this argument include - all, hardware, config, and interfaces. Can specify a list of - values to include a larger subset. Values can also be used - with an initial C(M(!)) to specify that a specific subset should - not be collected. - type: list - default: [ '!config' ] -""" - -EXAMPLES = """ -# Collect all facts from the device -- os10_facts: - gather_subset: all - -# Collect only the config and default facts -- os10_facts: - gather_subset: - - config - -# Do not collect hardware facts -- os10_facts: - gather_subset: - - "!hardware" -""" - -RETURN = """ -ansible_net_gather_subset: - description: The list of fact subsets collected from the device - returned: always - type: list - -# default -ansible_net_name: - description: The name of the OS that is running. - returned: Always. - type: str -ansible_net_version: - description: The operating system version running on the remote device - returned: always - type: str -ansible_net_servicetag: - description: The service tag number of the remote device. - returned: always - type: str -ansible_net_model: - description: The model name returned from the device. - returned: always - type: str -ansible_net_hostname: - description: The configured hostname of the device - returned: always - type: str - -# hardware -ansible_net_cpu_arch: - description: CPU Architecture of the remote device. - returned: when hardware is configured - type: str -ansible_net_memfree_mb: - description: The available free memory on the remote device in Mb - returned: when hardware is configured - type: int -ansible_net_memtotal_mb: - description: The total memory on the remote device in Mb - returned: when hardware is configured - type: int - -# config -ansible_net_config: - description: The current active config from the device - returned: when config is configured - type: str - -# interfaces -ansible_net_all_ipv4_addresses: - description: All IPv4 addresses configured on the device - returned: when interfaces is configured - type: list -ansible_net_all_ipv6_addresses: - description: All IPv6 addresses configured on the device - returned: when interfaces is configured - type: list -ansible_net_interfaces: - description: A hash of all interfaces running on the system - returned: when interfaces is configured - type: dict -ansible_net_neighbors: - description: The list of LLDP neighbors from the remote device - returned: when interfaces is configured - type: dict -""" - -import re - -try: - from lxml import etree as ET -except ImportError: - import xml.etree.ElementTree as ET - -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import run_commands -from ansible_collections.dellemc.os10.plugins.module_utils.network.os10 import os10_argument_spec, check_args -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils.six import iteritems - - -class FactsBase(object): - - COMMANDS = [] - - def __init__(self, module): - self.module = module - self.facts = dict() - self.responses = None - - def populate(self): - self.responses = run_commands(self.module, self.COMMANDS, check_rc=False) - - def run(self, cmd): - return run_commands(self.module, cmd, check_rc=False) - - -class Default(FactsBase): - - COMMANDS = [ - 'show version | display-xml', - 'show system | display-xml', - ] - - def populate(self): - super(Default, self).populate() - data = self.responses[0] - xml_data = ET.fromstring(data.encode('utf8')) - - self.facts['name'] = self.parse_name(xml_data) - self.facts['version'] = self.parse_version(xml_data) - self.facts['model'] = self.parse_model(xml_data) - self.facts['hostname'] = self.parse_hostname(xml_data) - - data = self.responses[1] - xml_data = ET.fromstring(data.encode('utf8')) - - self.facts['servicetag'] = self.parse_servicetag(xml_data) - - def parse_name(self, data): - sw_name = data.find('./data/system-sw-state/sw-version/sw-name') - if sw_name is not None: - return sw_name.text - else: - return "" - - def parse_version(self, data): - sw_ver = data.find('./data/system-sw-state/sw-version/sw-version') - if sw_ver is not None: - return sw_ver.text - else: - return "" - - def parse_hostname(self, data): - hostname = data.find('./data/system-state/system-status/hostname') - if hostname is not None: - return hostname.text - else: - return "" - - def parse_model(self, data): - prod_name = data.find('./data/system-sw-state/sw-version/sw-platform') - if prod_name is not None: - return prod_name.text - else: - return "" - - def parse_servicetag(self, data): - svc_tag = data.find('./data/system/node/unit/mfg-info/service-tag') - if svc_tag is not None: - return svc_tag.text - else: - return "" - - -class Hardware(FactsBase): - - COMMANDS = [ - 'show version | display-xml', - 'show processes node-id 1 | grep "Mem :"' - ] - - def populate(self): - - super(Hardware, self).populate() - data = self.responses[0] - - xml_data = ET.fromstring(data.encode('utf8')) - - self.facts['cpu_arch'] = self.parse_cpu_arch(xml_data) - - data = self.responses[1] - match = self.parse_memory(data) - if match: - self.facts['memtotal_mb'] = int(match[0]) // 1024 - self.facts['memfree_mb'] = int(match[1]) // 1024 - - def parse_cpu_arch(self, data): - cpu_arch = data.find('./data/system-sw-state/sw-version/cpu-arch') - if cpu_arch is not None: - return cpu_arch.text - else: - return "" - - def parse_memory(self, data): - return re.findall(r'(\d+)', data, re.M) - - -class Config(FactsBase): - - COMMANDS = ['show running-config'] - - def populate(self): - super(Config, self).populate() - self.facts['config'] = self.responses[0] - - -class Interfaces(FactsBase): - - COMMANDS = [ - 'show interface | display-xml', - 'show lldp neighbors | display-xml' - ] - - def __init__(self, module): - self.intf_facts = dict() - self.lldp_facts = dict() - super(Interfaces, self).__init__(module) - - def populate(self): - super(Interfaces, self).populate() - self.facts['all_ipv4_addresses'] = list() - self.facts['all_ipv6_addresses'] = list() - - int_show_data = (self.responses[0]).splitlines() - pattern = '?xml version' - data = '' - skip = True - - # The output returns multiple xml trees - # parse them before handling. - for line in int_show_data: - if pattern in line: - if skip is False: - xml_data = ET.fromstring(data.encode('utf8')) - self.populate_interfaces(xml_data) - data = '' - else: - skip = False - - data += line - - if skip is False: - xml_data = ET.fromstring(data.encode('utf8')) - self.populate_interfaces(xml_data) - - self.facts['interfaces'] = self.intf_facts - - lldp_data = (self.responses[1]).splitlines() - data = '' - skip = True - # The output returns multiple xml trees - # parse them before handling. - for line in lldp_data: - if pattern in line: - if skip is False: - xml_data = ET.fromstring(data.encode('utf8')) - self.populate_neighbors(xml_data) - data = '' - else: - skip = False - - data += line - - if skip is False: - xml_data = ET.fromstring(data.encode('utf8')) - self.populate_neighbors(xml_data) - - self.facts['neighbors'] = self.lldp_facts - - def populate_interfaces(self, interfaces): - - for interface in interfaces.findall('./data/interfaces/interface'): - intf = dict() - name = self.parse_item(interface, 'name') - - intf['description'] = self.parse_item(interface, 'description') - intf['duplex'] = self.parse_item(interface, 'duplex') - intf['primary_ipv4'] = self.parse_primary_ipv4(interface) - intf['secondary_ipv4'] = self.parse_secondary_ipv4(interface) - intf['ipv6'] = self.parse_ipv6_address(interface) - intf['mtu'] = self.parse_item(interface, 'mtu') - intf['type'] = self.parse_item(interface, 'type') - - self.intf_facts[name] = intf - - for interface in interfaces.findall('./bulk/data/interface'): - name = self.parse_item(interface, 'name') - try: - intf = self.intf_facts[name] - intf['bandwidth'] = self.parse_item(interface, 'speed') - intf['adminstatus'] = self.parse_item(interface, 'admin-status') - intf['operstatus'] = self.parse_item(interface, 'oper-status') - intf['macaddress'] = self.parse_item(interface, 'phys-address') - except KeyError: - # skip the reserved interfaces - pass - - for interface in interfaces.findall('./data/ports/ports-state/port'): - name = self.parse_item(interface, 'name') - # media-type name interface name format phy-eth 1/1/1 - mediatype = self.parse_item(interface, 'media-type') - - typ, sname = name.split('-eth') - name = "ethernet" + sname - try: - intf = self.intf_facts[name] - intf['mediatype'] = mediatype - except Exception: - # fanout - for subport in range(1, 5): - name = "ethernet" + sname + ":" + str(subport) - try: - intf = self.intf_facts[name] - intf['mediatype'] = mediatype - except Exception: - # valid case to handle 2x50G - pass - - def add_ip_address(self, address, family): - if family == 'ipv4': - self.facts['all_ipv4_addresses'].append(address) - else: - self.facts['all_ipv6_addresses'].append(address) - - def parse_item(self, interface, item): - elem = interface.find(item) - if elem is not None: - return elem.text - else: - return "" - - def parse_primary_ipv4(self, interface): - ipv4 = interface.find('ipv4') - ip_address = "" - if ipv4 is not None: - prim_ipaddr = ipv4.find('./address/primary-addr') - if prim_ipaddr is not None: - ip_address = prim_ipaddr.text - self.add_ip_address(ip_address, 'ipv4') - - return ip_address - - def parse_secondary_ipv4(self, interface): - ipv4 = interface.find('ipv4') - ip_address = "" - if ipv4 is not None: - sec_ipaddr = ipv4.find('./address/secondary-addr') - if sec_ipaddr is not None: - ip_address = sec_ipaddr.text - self.add_ip_address(ip_address, 'ipv4') - - return ip_address - - def parse_ipv6_address(self, interface): - - ip_address = list() - - for addr in interface.findall('./ipv6/ipv6-addresses/address'): - - ipv6_addr = addr.find('./ipv6-address') - - if ipv6_addr is not None: - ip_address.append(ipv6_addr.text) - self.add_ip_address(ipv6_addr.text, 'ipv6') - - return ip_address - - def populate_neighbors(self, interfaces): - for interface in interfaces.findall('./bulk/data/interface'): - name = interface.find('name').text - rem_sys_name = interface.find('./lldp-rem-neighbor-info/info/rem-system-name') - if rem_sys_name is not None: - self.lldp_facts[name] = list() - fact = dict() - fact['host'] = rem_sys_name.text - rem_sys_port = interface.find('./lldp-rem-neighbor-info/info/rem-lldp-port-id') - fact['port'] = rem_sys_port.text - self.lldp_facts[name].append(fact) - - -FACT_SUBSETS = dict( - default=Default, - hardware=Hardware, - interfaces=Interfaces, - config=Config, -) - -VALID_SUBSETS = frozenset(FACT_SUBSETS.keys()) - - -def main(): - """main entry point for module execution - """ - argument_spec = dict( - gather_subset=dict(default=['!config'], type='list') - ) - - argument_spec.update(os10_argument_spec) - - module = AnsibleModule(argument_spec=argument_spec, - supports_check_mode=True) - - gather_subset = module.params['gather_subset'] - - runable_subsets = set() - exclude_subsets = set() - - for subset in gather_subset: - if subset == 'all': - runable_subsets.update(VALID_SUBSETS) - continue - - if subset.startswith('!'): - subset = subset[1:] - if subset == 'all': - exclude_subsets.update(VALID_SUBSETS) - continue - exclude = True - else: - exclude = False - - if subset not in VALID_SUBSETS: - module.fail_json(msg='Bad subset') - - if exclude: - exclude_subsets.add(subset) - else: - runable_subsets.add(subset) - - if not runable_subsets: - runable_subsets.update(VALID_SUBSETS) - - runable_subsets.difference_update(exclude_subsets) - runable_subsets.add('default') - - facts = dict() - facts['gather_subset'] = list(runable_subsets) - - instances = list() - for key in runable_subsets: - instances.append(FACT_SUBSETS[key](module)) - - for inst in instances: - inst.populate() - facts.update(inst.facts) - - ansible_facts = dict() - for key, value in iteritems(facts): - key = 'ansible_net_%s' % key - ansible_facts[key] = value - - warnings = list() - check_args(module, warnings) - - module.exit_json(ansible_facts=ansible_facts, warnings=warnings) - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/show_system_network_summary.py b/ansible_collections/dellemc/os10/plugins/modules/show_system_network_summary.py deleted file mode 100644 index 9922b9f8b..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/show_system_network_summary.py +++ /dev/null @@ -1,145 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - -DOCUMENTATION = ''' -module: show_system_network_summary -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Operations for show_system_network output in json/yaml format. -description: - - - Get the show system inforamtion of a Leaf-Spine. - -options: - output_type: - type: str - description: - - json or yaml - - Default value is json - default: json - required: False - cli_responses: - type: list - required: True - description: - - show system command xml output -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run as follows: - -#$ ansible-playbook -i inv show.yml -name: show system Configuration -hosts: localhost -connection: local -gather_facts: False -vars: - cli: - username: admin - password: admin -tasks: -- name: "Get Dell EMC OS10 Show system summary" - os10_command: - commands: ['show system | display-xml'] - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_system -- set_fact: - output: "{{ output|default([])+ [{'inv_name': item.item, 'host': item.invocation.module_args.provider.host, 'stdout_show_system': item.stdout}] }}" - loop: "{{ show_system.results }}" -- debug: var=output -- name: "show system network call to lib " - show_system_network_summary: - cli_responses: "{{ output}} " - output_type: "{{ output_method if output_method is defined else 'json' }}" - register: show_system_network_summary -- debug: var=show_system_network_summary -''' - -import re -from ansible_collections.dellemc.os10.plugins.module_utils.network.base_network_show import BaseNetworkShow - - -class ShowSystemNetworkSummary(BaseNetworkShow): - def __init__(self): - BaseNetworkShow.__init__(self) - self.cli_responses = self.module.params['cli_responses'] - self.output_type = self.module.params['output_type'] - self.changed = False - - def get_fields(self): - spec_fields = { - 'cli_responses': { - 'type': 'list', - 'required': True - }, - 'output_type': { - 'type': 'str', - 'default': "json", - 'required': False - } - } - return spec_fields - - def perform_action(self): - out = list() - show_system_summary = self.cli_responses - if len(show_system_summary) > 0: - for item in show_system_summary: - out_dict = {} - host = item.get("host") - inv_name = item.get("inv_name") - show_system_response = item.get("stdout_show_system") - if show_system_response is not None: - result = BaseNetworkShow.xml_to_dict( - self, show_system_response[0]) - rpc_reply = result.get("rpc-reply") - if rpc_reply is not None: - data = rpc_reply.get("data") - if data is not None: - out_dict["host"] = host - out_dict["inv_name"] = inv_name - system_state = data.get("system-state") - if system_state is not None: - system_status = system_state.get( - "system-status") - if system_status is not None: - out_dict["hostname"] = system_status.get( - "hostname") - system = data.get("system") - if system is not None: - node = system.get("node") - if node is not None: - out_dict["node-mac"] = node.get("node-mac") - unit = node.get("unit") - if unit is not None: - out_dict["software-version"] = unit.get( - "software-version") - mfg_info = node.get("mfg-info") - if mfg_info is not None: - out_dict["service-tag"] = mfg_info.get( - "service-tag") - out_dict["device type"] = mfg_info.get( - "product-name") - if bool(out_dict): - out.append(out_dict) - if self.output_type != "json": - self.exit_msg.update( - {"results": (BaseNetworkShow.dict_to_yaml(self, out))}) - else: - self.exit_msg.update({"results": (out)}) - self.module.exit_json(changed=False, msg=self.exit_msg) - - -def main(): - module_instance = ShowSystemNetworkSummary() - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/vlt_validate.py b/ansible_collections/dellemc/os10/plugins/modules/vlt_validate.py deleted file mode 100644 index 2042dfe77..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/vlt_validate.py +++ /dev/null @@ -1,236 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - -DOCUMENTATION = ''' -module: vlt_validate -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Validate the vlt info, raise an error if peer is not in up state -description: - - - Troubleshoot the show vlt info and raise an error if peer is not up. - -options: - show_vlt: - description: - - show vlt output - type: 'list' - required: True - show_system_network_summary: - description: - - show system summary output - type: 'list' - required: True - intended_vlt_pairs: - description: - - intended vlt pair intput to verify with actual - type: 'list' - required: True - -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run as follows: - -#$ ansible-playbook -i inv play.yml -name: show system Configuration -hosts: localhost -connection: local -gather_facts: False -tasks: - - name: "Get Dell EMC OS10 Show run vlt" - os10_command: - commands: - - command: "show running-configuration vlt | grep vlt-domain" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_run_vlt - - set_fact: - output_vlt: "{{ output_vlt|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, - 'stdout_show_vlt': item.stdout.0}] }}" - loop: "{{ show_run_vlt.results }}" - - debug: var=output_vlt - - name: "Get Dell EMC OS10 Show vlt info" - os10_command: - commands: - - command: "show vlt {{ item.stdout_show_vlt.split()[1] }} | display-xml" - provider: "{{ hostvars[item.inv_name].cli }}" - with_items: "{{ output_vlt }}" - register: show_vlt - - set_fact: - vlt_out: "{{ vlt_out|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'show_vlt_stdout': item.stdout.0}] }}" - loop: "{{ show_vlt.results }}" - register: vlt_output - - name: call lib to convert vlt info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.show_vlt_stdout }}" - with_items: - - "{{ vlt_out }}" - register: vlt_dict_output - - name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary - - name: call lib to process - vlt_validate: - show_vlt : "{{ vlt_dict_output.results }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - intended_vlt_pairs: "{{ intended_vlt_pairs }}" - register: show_vlt_info - -''' - -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native -from collections import OrderedDict -import traceback - - -class VltValidation(object): - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - self.show_vlt = self.module.params['show_vlt'] - self.show_system_network_summary = self.module.params['show_system_network_summary'] - self.intended_vlt_pairs = self.module.params['intended_vlt_pairs'] - self.exit_msg = OrderedDict() - - def get_fields(self): - spec_fields = { - 'show_vlt': { - 'type': 'list', - 'required': True - }, - 'show_system_network_summary': { - 'type': 'list', - 'required': True - }, - 'intended_vlt_pairs': { - 'type': 'list', - 'required': True - } - } - return spec_fields - - # get switch inv name from mac - def get_switch_inv_name_from_mac(self, mac): - inv_name = None - for show_system in self.show_system_network_summary: - if (str.lower(show_system["node-mac"])) == (str.lower(mac)): - inv_name = show_system.get("inv_name") - break - return inv_name - - def validate_vlt_pairs(self, actual_vlt_dict): - final_out = list() - intended_vlt_list = self.intended_vlt_pairs - for intended_vlt in intended_vlt_list: - intended_primary = intended_vlt.get("primary") - intended_secondary = intended_vlt.get("secondary") - actual_vlt = actual_vlt_dict.get(intended_primary) - temp_dict = {} - if actual_vlt is not None: - actual_secondary = actual_vlt.get("secondary") - secondary_status = actual_vlt.get("secondary_status") - if actual_secondary is not None and intended_secondary != actual_secondary: - temp_dict["error_type"] = "secondary_mismatch" - temp_dict["intended_primary"] = intended_primary - temp_dict["intended_secondary"] = intended_secondary - temp_dict["secondary"] = actual_secondary - reason = "config mismatch as {0} is expected, but the actual secondary is {1} " .format( - intended_secondary, actual_secondary) - temp_dict["possible_reason"] = reason - final_out.append(temp_dict) - else: - if actual_secondary is None: - temp_dict["intended_primary"] = intended_primary - temp_dict["intended_secondary"] = intended_secondary - temp_dict["error_type"] = "peer_missing" - reason = "peer info is not configured or peer interface is down" - temp_dict["possible_reason"] = reason - final_out.append(temp_dict) - elif intended_secondary == actual_secondary and secondary_status != "up": - temp_dict["intended_primary"] = intended_primary - temp_dict["intended_secondary"] = intended_secondary - temp_dict["secondary"] = actual_secondary - temp_dict["error_type"] = "peer_down" - reason = "peer interface is down" - temp_dict["possible_reason"] = reason - final_out.append(temp_dict) - else: - temp_dict["intended_primary"] = intended_primary - temp_dict["intended_secondary"] = intended_secondary - temp_dict["error_type"] = "vlt_config_missing" - temp_dict["possible_reason"] = "vlt is not configured" - final_out.append(temp_dict) - return final_out - - def parse_vlt_output(self): - show_vlt_dict = {} - for show_list in self.show_vlt: - source_switch = None - item = show_list.get("item") - if item is not None: - inv_info = item.get("inv_name") - source_switch = inv_info.get("inv_name") - msg = show_list.get("msg") - if msg is not None: - result = msg.get("result") - for sub_result in result: - vlt_dict = {} - rpc_reply = sub_result.get("rpc-reply") - data = rpc_reply.get("data") - if data is not None: - topo_oper_data = data.get("topology-oper-data") - if topo_oper_data is not None: - vlt_domain = topo_oper_data.get("vlt-domain") - if vlt_domain is not None: - local_info = vlt_domain.get("local-info") - if local_info is not None: - local_role = local_info.get("role") - vlt_dict[local_role] = source_switch - local_mac = local_info.get("system-mac") - vlt_dict[local_role + "_mac"] = local_mac - peer_info = vlt_domain.get("peer-info") - if peer_info is not None: - peer_mac = peer_info.get("system-mac") - peer_switch = self.get_switch_inv_name_from_mac( - peer_mac) - peer_role = peer_info.get("role") - vlt_dict[peer_role] = peer_switch - vlt_dict[peer_role + "_mac"] = peer_mac - peer_status = peer_info.get("peer-status") - vlt_dict[peer_role + - "_status"] = peer_status - if bool(vlt_dict): - primary_switch = vlt_dict.get("primary") - vlt_data = show_vlt_dict.get(primary_switch) - if vlt_data is None: - # update database specific to primary, it helps - # to avoid to skip duplicate data - show_vlt_dict[primary_switch] = vlt_dict - return show_vlt_dict - - def perform_action(self): - try: - actual_vlt_dict = self.parse_vlt_output() - final_out = self.validate_vlt_pairs(actual_vlt_dict) - self.exit_msg.update({"results": final_out}) - self.module.exit_json(changed=False, msg=self.exit_msg) - except Exception as e: - self.module.fail_json( - msg=to_native(e), - exception=traceback.format_exc()) - - -def main(): - module_instance = VltValidation() - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/modules/wiring_validate.py b/ansible_collections/dellemc/os10/plugins/modules/wiring_validate.py deleted file mode 100644 index 7947c1b19..000000000 --- a/ansible_collections/dellemc/os10/plugins/modules/wiring_validate.py +++ /dev/null @@ -1,246 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -from __future__ import (absolute_import, division, print_function) - -__copyright__ = "(c) 2020 Dell Inc. or its subsidiaries. All rights reserved." - -__metaclass__ = type - -DOCUMENTATION = ''' -module: wiring_validate -author: "Senthil Kumar Ganesan (@skg-net)" -short_description: Validate the wiring based on the planned wiring details -description: - - - Get the wiring info using lldp output and show system network summary. - -options: - show_lldp_neighbors_list: - description: - - show lldp neighbor output - type: 'list' - required: True - show_system_network_summary: - description: - - show system network summary output - type: 'list' - required: True - planned_neighbors: - description: - - planned neighbours input from group_var to compare actual - type: 'list' - required: True -''' -EXAMPLES = ''' -Copy below YAML into a playbook (e.g. play.yml) and run as follows: - -#$ ansible-playbook -i inv play.yml -name: show system Configuration -hosts: localhost -connection: local -gather_facts: False -tasks: -- name: "Get Dell EMC OS10 Show lldp" - os10_command: - commands: - - command: "show lldp neighbors" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_lldp -- local_action: copy content={{ show_lldp }} dest=show -- set_fact: - output_lldp: "{{ output_lldp|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, - 'stdout_show_lldp': item.stdout}] }}" - loop: "{{ show_lldp.results }}" -- debug: var=output_lldp -- name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary -- debug: var=show_system_network_summary -- name: call lib to process - wiring_validate: - show_lldp_neighbors_list: "{{ output_lldp }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - planned_neighbors: "{{ intended_neighbors }}" -''' - -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native -from collections import OrderedDict -import re -import traceback - - -class WiringValidation(object): - def __init__(self): - self.module = AnsibleModule(argument_spec=self.get_fields()) - self.show_lldp_neighbors_list = self.module.params['show_lldp_neighbors_list'] - self.show_system_network_summary = self.module.params['show_system_network_summary'] - self.planned_neighbors = self.module.params['planned_neighbors'] - self.exit_msg = OrderedDict() - - def get_fields(self): - spec_fields = { - 'show_lldp_neighbors_list': { - 'type': 'list', - 'required': True - }, - 'show_system_network_summary': { - 'type': 'list', - 'required': True - }, - 'planned_neighbors': { - 'type': 'list', - 'required': True - } - } - return spec_fields - - # get switch inv name from mac - def get_switch_inv_name_from_mac(self, mac): - inv_name = None - for show_system in self.show_system_network_summary: - if (str.lower(show_system["node-mac"])) == (str.lower(mac)): - inv_name = show_system.get("inv_name") - break - return inv_name - - # get service tag for switch - - def get_service_tag_and_mac(self): - svc_tag_mac = {} - for show_system in self.show_system_network_summary: - temp_dict = {} - temp_dict["svc-tag"] = show_system.get("service-tag") - temp_dict["node-mac"] = show_system.get("node-mac") - if bool(temp_dict): - svc_tag_mac[show_system["inv_name"]] = temp_dict - return svc_tag_mac - - # form actual neighbors per network with help of lldp output and show - # sytem output - def get_actual_neigbor(self, lldp_list): - final_out = list() - for lldp in lldp_list: - # check whether lldp output mac match with system summary mac and - # collect port and host info - source_switch = lldp["inv_name"] - lldp_mac = lldp["rem_mac"] - for index, rem_mac in enumerate(lldp_mac): - final_dict = {} - final_dict["source_switch"] = source_switch - final_dict["source_port"] = lldp["loc_port"][index] - final_dict["dest_port"] = lldp["rem_port"][index] - dest_switch = self.get_switch_inv_name_from_mac(rem_mac) - if dest_switch is not None: - final_dict["dest_switch"] = dest_switch - else: - final_dict["dest_switch"] = "unknown" - final_out.append(final_dict) - return final_out - - def parse_lldp_output(self): - nbr_list = list() - for item in self.show_lldp_neighbors_list: - out_dict = {} - loc_port = list() - rem_port = list() - rem_mac = list() - out_dict["host"] = item.get("host") - out_dict["inv_name"] = item.get("inv_name") - show_lldp_output = item.get("stdout_show_lldp") - if show_lldp_output is not None: - output = str(show_lldp_output[0]) - lldp_regexp = r"(\S+)\s+(\S+)\s+(\S+)\s+(\S+)" - lines = output.splitlines() - for line in lines: - if "Loc PortID" in line: - continue - match = re.match(lldp_regexp, line) - if match: - val = match.groups() - loc_port.append(val[0]) - rem_port.append(val[2]) - rem_mac.append(val[3]) - out_dict["loc_port"] = loc_port - out_dict["rem_port"] = rem_port - out_dict["rem_mac"] = rem_mac - if bool(out_dict): - nbr_list.append(out_dict) - return nbr_list - - def perform_action(self): - try: - lldp_list = self.parse_lldp_output() - actual_nbr = self.get_actual_neigbor(lldp_list) - svc_tag_mac = self.get_service_tag_and_mac() - # Validate the planned neighbors with actual neighbors - mismatch_list = list() - for planned_neighbors in self.planned_neighbors: - bflag = False - if planned_neighbors not in actual_nbr: - for actual_neighbors in actual_nbr: - if (actual_neighbors["source_switch"] == planned_neighbors["source_switch"] - and actual_neighbors["source_port"] == planned_neighbors["source_port"]): - if (actual_neighbors["dest_switch"] != - planned_neighbors["dest_switch"]): - bflag = True - if (actual_neighbors["dest_switch"] - != "unknown"): - reason = ( - "Destination switch is not an expected value, " - "expected switch: {0},port: {1}; actual switch: {2}(svc-tag:{3}, node_mac:{4}), port: {5}" .format( - planned_neighbors["dest_switch"], - planned_neighbors["dest_port"], - actual_neighbors["dest_switch"], - svc_tag_mac.get( - actual_neighbors["dest_switch"]).get("svc-tag"), - svc_tag_mac.get( - actual_neighbors["dest_switch"]).get("node-mac"), - actual_neighbors["dest_port"])) - else: - reason = ( - "Destination switch is not an expected value, " - "expected switch: {0},port: {1}; actual switch: {2}, port: {3}" .format( - planned_neighbors["dest_switch"], - planned_neighbors["dest_port"], - actual_neighbors["dest_switch"], - actual_neighbors["dest_port"])) - planned_neighbors["reason"] = reason - planned_neighbors["error_type"] = "link-mismatch" - break - if(actual_neighbors["dest_port"] != planned_neighbors["dest_port"]): - bflag = True - reason = ( - "Destination switch port is not an expected value, " - "expected port: {0} actual port: {1}" .format( - planned_neighbors["dest_port"], - actual_neighbors["dest_port"])) - planned_neighbors["reason"] = reason - planned_neighbors["error_type"] = "link-mismatch" - break - if not bflag: - reason = "link is not found for source switch: {0},port: {1}".format( - planned_neighbors["source_switch"], planned_neighbors["source_port"]) - planned_neighbors["reason"] = reason - planned_neighbors["error_type"] = "link-missing" - mismatch_list.append(planned_neighbors) - - self.exit_msg.update({"results": mismatch_list}) - self.module.exit_json(changed=False, msg=self.exit_msg) - except Exception as e: - self.module.fail_json( - msg=to_native(e), - exception=traceback.format_exc()) - - -def main(): - module_instance = WiringValidation() - module_instance.perform_action() - - -if __name__ == '__main__': - main() diff --git a/ansible_collections/dellemc/os10/plugins/terminal/os10.py b/ansible_collections/dellemc/os10/plugins/terminal/os10.py deleted file mode 100644 index c3e1d3ac2..000000000 --- a/ansible_collections/dellemc/os10/plugins/terminal/os10.py +++ /dev/null @@ -1,81 +0,0 @@ -# -# (c) 2020 Red Hat Inc. -# -# This file is part of Ansible -# -# Copyright (c) 2020 Dell Inc. -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. -# -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import re -import json - -from ansible.module_utils._text import to_text, to_bytes -from ansible.plugins.terminal import TerminalBase -from ansible.errors import AnsibleConnectionFailure - - -class TerminalModule(TerminalBase): - - terminal_stdout_re = [ - re.compile(br"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:#) ?$"), - re.compile(br"\[\w+\@[\w\-\.]+(?: [^\]])\] ?[>#\$] ?$") - ] - - terminal_stderr_re = [ - re.compile(br"% ?Error"), - re.compile(br"% ?Bad secret"), - re.compile(br"Syntax error:"), - re.compile(br"invalid input", re.I), - re.compile(br"(?:incomplete|ambiguous) command", re.I), - re.compile(br"connection timed out", re.I), - re.compile(br"[^\r\n]+ not found", re.I), - re.compile(br"'[^']' +returned error code: ?\d+"), - ] - - def on_open_shell(self): - try: - self._exec_cli_command(b'terminal length 0') - except AnsibleConnectionFailure: - raise AnsibleConnectionFailure('unable to set terminal parameters') - - def on_become(self, passwd=None): - if self._get_prompt().endswith(b'#'): - return - - cmd = {u'command': u'enable'} - if passwd: - cmd[u'prompt'] = to_text(r"[\r\n]?password: $", errors='surrogate_or_strict') - cmd[u'answer'] = passwd - - try: - self._exec_cli_command(to_bytes(json.dumps(cmd), errors='surrogate_or_strict')) - except AnsibleConnectionFailure: - raise AnsibleConnectionFailure('unable to elevate privilege to enable mode') - - def on_unbecome(self): - prompt = self._get_prompt() - if prompt is None: - # if prompt is None most likely the terminal is hung up at a prompt - return - - if prompt.strip().endswith(b')#'): - self._exec_cli_command(b'end') - self._exec_cli_command(b'disable') - - elif prompt.endswith(b'#'): - self._exec_cli_command(b'disable') diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/LICENSE b/ansible_collections/dellemc/os10/roles/os10_aaa/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/README.md b/ansible_collections/dellemc/os10/roles/os10_aaa/README.md deleted file mode 100644 index cabee7ea9..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/README.md +++ /dev/null @@ -1,136 +0,0 @@ -AAA role -======== - -This role facilitates the configuration of authentication, authorization, and acccounting (AAA). It supports the configuration of RADIUS server, TACACS server, and AAA. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The AAA role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_aaa keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``radius_server`` | dictionary | Configures the RADIUS server (see ``radius_server.*``) | os10 | -| ``radius_server.retransmit`` | integer | Configures the number of retransmissions | os10 | -| ``radius_server.timeout`` | integer | Configures the timeout for retransmissions | os10 | -| ``radius_server.host`` | dictionary | Configures the RADIUS server host (see ``host.*``) | os10 | -| ``host.ip`` | string | Configures the RADIUS server host address | os10 | -| ``host.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``host.auth_port`` | integer | Configures the authentication port (0 to 65535) | os10 | -| ``host.state`` | string: present,absent | Removes the RADIUS server host if set to absent | os10 | -| ``auth.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``tacacs_server`` | dictionary | Configures the TACACS server (see ``tacacs_server.*``) | os10 | -| ``tacacs_server.timeout`` | integer | Configures the timeout for retransmissions | os10 | -| ``tacacs_server.host`` | dictionary | Configures the TACACS server host (see ``host.*``) | os10 | -| ``host.ip`` | string | Configures the TACACS server host address | os10 | -| ``host.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``host.auth_port`` | integer | Configures the authentication port (0 to 65535) | os10 | -| ``host.state`` | string: present,absent | Removes the TACACS server host if set to absent | os10 | -| ``auth.key`` | string (required); 0,7,LINE | Configures the authentication key | os10 | -| ``aaa_accounting`` | dictionary | Configures accounting parameters (see ``aaa_accounting.*``) | os10 | -| ``aaa_accounting.accounting.accounting_type`` | dictionary | Configures accounting type | os10 | -| ``aaa_accounting.accounting.connection_type`` | dictionary | Configures accounting connection type | os10 | -| ``aaa_accounting.accounting.account_mode`` | dictionary | Configures accounting mode | os10 | -| ``aaa_accounting.accounting.server_group`` | dictionary | Configures accounting server group | os10 | -| ``aaa_accounting.accounting.state`` | string: present,absent | Configures/unconfigures accounting parameters | os10 | -| ``aaa_authentication`` | dictionary | Configures authentication parameters (see ``aaa_authentication.*``) | os10 | -| ``aaa_authentication.login`` | dictionary | Configures authentication login (see ``aaa_authentication.login.*``)| os10 | -| ``aaa_authentication.login.console`` | dictionary | Configures authentication method for console login | os10 | -| ``aaa_authentication.login.state`` | string: present,absent | Unconfigures authentication login if set to absent | os10 | -| ``aaa_authentication.login.type`` | dictionary | Configures authentication type | os10 | -| ``aaa_authentication.re_authenticate`` | boolean | Configures re-authenticate by enable if set to true | os10 | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_aaa* role to configure AAA for radius and TACACS servers. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in the *build_dir* path. By default, it is set to false and it writes a simple playbook that only references the *os10_aaa* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_aaa: - radius_server: - retransmit: 5 - timeout: 10 - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - tacacs_server: - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - timeout: 6 - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: true - aaa_accounting: - accounting: - - accounting_type: commands - connection_type: console - account_mode: start-stop - server_group: group tacacs+ - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_aaa - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_aaa/defaults/main.yml deleted file mode 100644 index 4f8b5c8cd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/defaults/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_aaa -attribute_type: - mandatory: mandatory - on_for_login_auth: on-for-login-auth - include_in_access_req: include-in-access-req - mac: "mac format" - mac_ietf: "mac format ietf" - mac_ietf_lower_case: "mac format ietf lower-case" - mac_ietf_upper_case: "mac format ietf upper-case" - mac_legacy: "mac format legacy" - mac_legacy_lower_case: "mac format legacy lower-case" - mac_legacy_upper_case: "mac format legacy upper-case" - mac_unformatted: "mac format unformatted" - mac_unformatted_lower_case: "mac format unformatted lower-case" - mac_unformatted_upper_case: "mac format unformatted upper-case" diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_aaa/handlers/main.yml deleted file mode 100644 index 0b86ef12a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_aaa diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_aaa/meta/main.yml deleted file mode 100644 index 54fde54e6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_aaa role facilitates the configuration of Authentication Authorization Acccounting (AAA) attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_aaa/tasks/main.yml deleted file mode 100644 index 77eb07fcd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# tasks file for os10 - - - name: "Generating AAA configuration for os10" - template: - src: os10_aaa.j2 - dest: "{{ build_dir }}/aaa10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning AAA configuration for os10" - os10_config: - src: os10_aaa.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/templates/os10_aaa.j2 b/ansible_collections/dellemc/os10/roles/os10_aaa/templates/os10_aaa.j2 deleted file mode 100644 index 438c0f8e5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/templates/os10_aaa.j2 +++ /dev/null @@ -1,148 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure AAA commands for os10 Devices - -os10_aaa: - radius_server: - retransmit: 5 - timeout: 10 - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - tacacs_server: - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - timeout: 6 - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: true - aaa_accounting: - accounting: - - accounting_type: commands - connection_type: console - account_mode: start-stop - server_group: group tacacs+ - state: present - -##################################################} -{% if os10_aaa is defined and os10_aaa %} - {% if os10_aaa.radius_server is defined and os10_aaa.radius_server %} - {% set item = os10_aaa.radius_server %} - {% if item.retransmit is defined and item.retransmit %} -radius-server retransmit {{ item.retransmit }} - {% else %} -no radius-server retransmit - {% endif %} - {% if item.timeout is defined and item.timeout %} -radius-server timeout {{ item.timeout }} - {% else %} -no radius-server timeout - {% endif %} - {% if item.host is defined and item.host %} - {% for it in item.host %} - {% if it.ip is defined and it.ip %} - {% if it.state is defined and it.state == "absent" %} -no radius-server host {{ it.ip }} - {% else %} - {% if it.auth_port is defined and it.auth_port %} -radius-server host {{ it.ip }} auth-port {{ it.auth_port }} key {{ it.key }} {{ it.value }} - {% else %} -radius-server host {{ it.ip }} key {{ it.key }} {{ it.value }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% if os10_aaa.tacacs_server is defined and os10_aaa.tacacs_server %} - {% set item = os10_aaa.tacacs_server %} - {% if item.timeout is defined and item.timeout %} -tacacs-server timeout {{ item.timeout }} - {% else %} -no tacacs-server timeout - {% endif %} - {% if item.host is defined and item.host %} - {% for it in item.host %} - {% if it.ip is defined and it.ip %} - {% if item.state is defined and item.state == "absent"%} -no tacacs-server host {{it.ip}} - {% else %} - {% if it.auth_port is defined and it.auth_port %} -tacacs-server host {{it.ip}} auth-port {{it.auth_port}} key {{it.key}} {{it.value}} - {% else %} -tacacs-server host {{it.ip}} key {{it.key}} {{it.value}} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% if os10_aaa.aaa_authentication is defined and os10_aaa.aaa_authentication %} - {% set aaa_list = os10_aaa.aaa_authentication %} - {% if aaa_list.login is defined and aaa_list.login %} - {% for aaa_vars in aaa_list.login %} - {% if aaa_vars.console is defined and aaa_vars.console %} - {% if aaa_vars.state is defined and aaa_vars.state == "absent"%} -no aaa authentication login console - {% else %} - {% if aaa_vars.type is defined and aaa_vars.type %} -aaa authentication login console {{aaa_vars.type}} - {% endif %} - {% endif %} - {% else %} - {% if aaa_vars.state is defined and aaa_vars.state == "absent"%} -no aaa authentication login default - {% else %} - {% if aaa_vars.type is defined and aaa_vars.type %} -aaa authentication login default {{aaa_vars.type}} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% set aaa_vars = os10_aaa.aaa_authentication %} - {% if aaa_vars.re_authenticate is defined %} - {% if aaa_vars.re_authenticate %} -aaa re-authenticate enable - {% else %} -no aaa re-authenticate enable - {% endif %} - {% endif %} - {% endif %} - {% if os10_aaa.aaa_accounting is defined and os10_aaa.aaa_accounting %} - {% set acc_list = os10_aaa.aaa_accounting %} - {% if acc_list.accounting is defined and acc_list.accounting %} - {% for aaa_vars in acc_list.accounting %} - {% if aaa_vars.accounting_type is defined and aaa_vars.accounting_type %} - {% if aaa_vars.accounting_type == "commands" %} - {% set accounting_type = aaa_vars.accounting_type + " all" %} - {% endif %} - {% if aaa_vars.connection_type is defined and aaa_vars.connection_type %} - {% if aaa_vars.state is defined and aaa_vars.state == "absent"%} -no aaa accounting {{accounting_type}} {{aaa_vars.connection_type}} - {% else %} - {% if aaa_vars.account_mode is defined and aaa_vars.account_mode == "none" %} -aaa accounting {{accounting_type}} {{aaa_vars.connection_type}} {{aaa_vars.account_mode}} - {% else %} - {% if aaa_vars.server_group is defined and aaa_vars.server_group %} -aaa accounting {{accounting_type}} {{aaa_vars.connection_type}} {{aaa_vars.account_mode}} {{aaa_vars.server_group}} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_aaa/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_aaa/tests/main.os10.yaml deleted file mode 100644 index a845c14d2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/main.os10.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -# vars file for dellemc.os10.os10_aaa, -# below gives a sample configuration -# Sample vars for OS10 device -os10_aaa: - radius_server: - retransmit: 5 - timeout: 10 - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - tacacs_server: - host: - - ip: 2001:4898:f0:f09b::1001 - key: 0 - value: "abc" - auth_port: 3 - state: present - timeout: 6 - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: true - aaa_accounting: - accounting: - - accounting_type: commands - connection_type: console - account_mode: start-stop - server_group: group tacacs+ - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_aaa/tests/test.yaml deleted file mode 100644 index b3d685fb2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_aaa diff --git a/ansible_collections/dellemc/os10/roles/os10_aaa/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_aaa/vars/main.yml deleted file mode 100644 index 6854698ef..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_aaa/vars/main.yml +++ /dev/null @@ -1 +0,0 @@ -# vars file for dellemc.os10.os10_aaa diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/LICENSE b/ansible_collections/dellemc/os10/roles/os10_acl/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/README.md b/ansible_collections/dellemc/os10/roles/os10_acl/README.md deleted file mode 100644 index 14a1fe2a5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/README.md +++ /dev/null @@ -1,130 +0,0 @@ -ACL role -======== - -This role facilitates the configuration of an access-control list (ACL). It supports the configuration of different types of ACLs (standard and extended) for both IPv4 and IPv6, and assigns the access-class to the line terminals. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ACL role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_acl keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string (required): ipv4, ipv6, mac | Configures the L3 (IPv4/IPv6) or L2 (MAC) access-control list | os10 | -| ``name`` | string (required) | Configures the name of the access-control list | os10 | -| ``description`` | string | Configures the description about the access-control list | os10 | -| ``remark`` | list | Configures the ACL remark (see ``remark.*``) | os10| -| ``remark.number`` | integer (required) | Configures the remark sequence number | os10 | -| ``remark.description`` | string | Configures the remark description | os10 | -| ``remark.state`` | string: absent,present\* | Deletes the configured remark for an ACL entry if set to absent | os10 | -| ``entries`` | list | Configures ACL rules (see ``seqlist.*``) | os10 | -| ``entries.number`` | integer (required) | Specifies the sequence number of the ACL rule | os10 | -| ``entries.permit`` | boolean (required): true,false | Specifies the rule to permit packets if set to true; specifies to reject packets if set to false | os10 | -| ``entries.protocol`` | string (required) | Specifies the type of protocol or the protocol number to filter | os10 | -| ``entries.source`` | string (required) | Specifies the source address to match in the packets | os10 | -| ``entries.src_condition`` | string | Specifies the condition to filter packets from the source address; ignored if MAC | os10 | -| ``entries.destination`` | string (required) | Specifies the destination address to match in the packets | os10 | -| ``entries.dest_condition`` | string | Specifies the condition to filter packets to the destination address | os10 | -| ``entries.other_options`` | string | Specifies the other options applied on packets (count, log, order, monitor, and so on) | os10 | -| ``entries.state`` | string: absent,present\* | Deletes the rule from the ACL if set to absent | os10 | -| ``stage_ingress`` | list | Configures ingress ACL to the interface (see ``stage_ingress.*``) | os10 | -| ``stage_ingress.name`` | string (required) | Configures the ingress ACL filter to the interface with this interface name | os10 | -| ``stage_ingress.state`` | string: absent,present\* | Deletes the configured ACL from the interface if set to absent | os10 | -| ``stage_egress`` | list | Configures egress ACL to the interface (see ``stage_egress.*``) | os10 | -| ``stage_egress.name`` | string (required) | Configures the egress ACL filter to the interface with this interface name | os10 | -| ``stage_egress.state`` | string: absent,present\* | Deletes the configured egress ACL from the interface if set to absent | os10 | -| ``lineterminal`` | list | Configures the terminal to apply the ACL (see ``lineterminal.*``) | os10 | -| ``lineterminal.state`` | string: absent,present\* | Deletes the access-class from line terminal if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the ACL if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOM`E environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_acl* role to configure different types of ACLs (standard and extended) for both IPv4 and IPv6 and assigns the access-class to the line terminals. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, it generates the configuration commands as a .part file in the *build_dir* path. By default it is set to false. It writes a simple playbook that only references the *os10_acl* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_acl: - - name: ssh - type: ipv4 - description: acl - remark: - - description: 1 - number: 3 - state: absent - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: absent - - name: ethernet 1/1/2 - state: absent - stage_egress: - - name: ethernet 1/1/3 - state: absent - lineterminal: - state: absent - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_acl - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_acl/defaults/main.yml deleted file mode 100644 index 9c7559e38..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_acl diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_acl/handlers/main.yml deleted file mode 100644 index 162d4a3fa..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_acl diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_acl/meta/main.yml deleted file mode 100644 index c354b58fc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_acl role facilitates the configuration of access control list (ACL) attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_acl/tasks/main.yml deleted file mode 100644 index ace51340e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating ACL configuration for os10" - template: - src: os10_acl.j2 - dest: "{{ build_dir }}/acl10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning ACL configuration for os10" - os10_config: - src: os10_acl.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/templates/os10_acl.j2 b/ansible_collections/dellemc/os10/roles/os10_acl/templates/os10_acl.j2 deleted file mode 100644 index 7d6cb31db..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/templates/os10_acl.j2 +++ /dev/null @@ -1,212 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{#################################### - -Purpose: -Configure ACL commands for OS10 devices - -os10_acl: - - name: ssh-only - type: ipv4 - description: acl - remark: - - description: 1 - number: 3 - state: present - entries: - - number: 10 - permit: true - protocol: tcp - source: any - destination: any - src_condition: eq 22 - dest_condition: eq 2 ack - other_options: count - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: present - - name: ethernet 1/0/1 - state: present - stage_egress: - - name: ethernet 1/1/2 - state: present - lineterminal: - state: present - state: present -#####################################} -{% if os10_acl is defined and os10_acl %} - {% for val in os10_acl %} - {% if val.name is defined and val.name %} - {% if val.state is defined and val.state == "absent" %} - {% if val.type is defined and val.type == "ipv4" %} -no ip access-list {{ val.name }} - {% elif val.type is defined and val.type == "ipv6" %} -no ipv6 access-list {{ val.name }} - {% elif val.type is defined and val.type == "mac" %} -no mac access-list {{ val.name }} - {% endif %} - {% else %} - {% if val.type is defined and val.type == "ipv4" %} -ip access-list {{ val.name }} - {% elif val.type is defined and val.type == "ipv6" %} -ipv6 access-list {{ val.name }} - {% elif val.type is defined and val.type == "mac" %} -mac access-list {{ val.name }} - {% endif %} - {% if val.description is defined %} - {% if val.description %} - description "{{ val.description }}" - {% endif %} - {% endif %} - {% if val.remark is defined and val.remark %} - {% for remark in val.remark %} - {% if remark.description is defined and remark.description %} - {% if remark.number is defined and remark.number %} - {% if remark.state is defined and remark.state == "absent" %} - no seq {{ remark.number }} - {% else %} - seq {{ remark.number }} remark "{{ remark.description }}" - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if val.entries is defined and val.entries %} - {% for rule in val.entries %} - {% if rule.number is defined and rule.number %} - {% if rule.state is defined and rule.state == "absent" %} - no seq {{ rule.number }} - {% else %} - {% if rule.permit is defined %} - {% if rule.permit %} - {% set is_permit = "permit" %} - {% else %} - {% set is_permit = "deny" %} - {% endif %} - {% endif %} - {% if val.type is defined and val.type %} - {% if rule.protocol is defined and rule.protocol %} - {% if rule.source is defined and rule.source %} - {% if rule.src_condition is defined and rule.src_condition %} - {% if rule.destination is defined and rule.destination %} - {% if rule.dest_condition is defined and rule.dest_condition %} - {% if rule.other_options is defined and rule.other_options %} - {% set other_options = rule.other_options %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.src_condition }} {{ rule.destination }} {{ rule.dest_condition }} {{ other_options }} - {% else %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.src_condition }} {{ rule.destination }} {{ rule.dest_condition }} - {% endif %} - {% else %} - {% if rule.other_options is defined and rule.other_options %} - {% set other_options = rule.other_options %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.src_condition }} {{ rule.destination }} {{ other_options }} - {% else %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.src_condition }} {{ rule.destination }} - {% endif %} - {% endif %} - {% endif %} - {% else %} - {% if rule.destination is defined and rule.destination %} - {% if rule.dest_condition is defined and rule.dest_condition %} - {% if rule.other_options is defined and rule.other_options %} - {% set other_options = rule.other_options %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.destination }} {{ rule.dest_condition }} {{ other_options }} - {% else %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.destination }} {{ rule.dest_condition }} - {% endif %} - {% else %} - {% if rule.other_options is defined and rule.other_options %} - {% set other_options = rule.other_options %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.destination }} {{ other_options }} - {% else %} - seq {{ rule.number }} {{ is_permit }} {{ rule.protocol }} {{ rule.source }} {{ rule.destination }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if val.lineterminal is defined and val.lineterminal %} - {% if val.type is defined and not val.type == "mac" %} -line vty - {% if val.lineterminal.state is defined and val.lineterminal.state == "absent" %} - {% if val.type == "ipv6" %} - no ipv6 access-class {{ val.name }} - {% elif val.type == "ipv4" %} - no ip access-class {{ val.name }} - {% endif %} - {% else %} - {% if val.type == "ipv6" %} - ipv6 access-class {{ val.name }} - {% elif val.type == "ipv4" %} - ip access-class {{ val.name }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - - {% if val.stage_ingress is defined and val.stage_ingress %} - {% for intf in val.stage_ingress %} - {% if intf.state is defined and intf.state == "absent" %} - {% if intf.name is defined and intf.name %} -interface {{ intf.name }} - {% if val.type is defined and val.type == "mac" %} - no mac access-group {{ val.name }} in - {% elif val.type is defined and val.type == "ipv6" %} - no ipv6 access-group {{ val.name }} in - {% else %} - no ip access-group {{ val.name }} in - {% endif %} - {% endif %} - {% else %} - {% if intf.name is defined and intf.name %} -interface {{ intf.name }} - {% if val.type is defined and val.type == "mac" %} - mac access-group {{ val.name }} in - {% elif val.type is defined and val.type == "ipv6" %} - ipv6 access-group {{ val.name }} in - {% else %} - ip access-group {{ val.name }} in - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if val.stage_egress is defined and val.stage_egress %} - {% for intf in val.stage_egress %} - {% if intf.state is defined and intf.state == "absent" %} - {% if intf.name is defined and intf.name %} -interface {{ intf.name }} - {% if val.type is defined and val.type == "mac" %} - no mac access-group {{ val.name }} out - {% elif val.type is defined and val.type == "ipv6" %} - no ipv6 access-group {{ val.name }} out - {% else %} - no ip access-group {{ val.name }} out - {% endif %} - {% endif %} - {% else %} - {% if intf.name is defined and intf.name %} -interface {{ intf.name }} - {% if val.type is defined and val.type == "mac" %} - mac access-group {{ val.name }} out - {% elif val.type is defined and val.type == "ipv6" %} - ipv6 access-group {{ val.name }} out - {% else %} - ip access-group {{ val.name }} out - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_acl/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_acl/tests/main.os10.yaml deleted file mode 100644 index c3db9c98e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/tests/main.os10.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -# vars file for dellemc.os10.os10_acl, -# below gives a sample configuration -# Sample variables for OS10 device -os10_acl: - - name: ssh - type: ipv4 - description: acl - remark: - - description: 1 - number: 3 - state: absent - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: absent - - name: ethernet 1/1/2 - state: absent - stage_egress: - - name: ethernet 1/1/3 - state: absent - lineterminal: - state: absent - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_acl/tests/test.yaml deleted file mode 100644 index 653f9d69d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_acl diff --git a/ansible_collections/dellemc/os10/roles/os10_acl/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_acl/vars/main.yml deleted file mode 100644 index 0cd37964d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_acl/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_acl diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/LICENSE b/ansible_collections/dellemc/os10/roles/os10_bfd/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/README.md b/ansible_collections/dellemc/os10/roles/os10_bfd/README.md deleted file mode 100644 index c69079924..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/README.md +++ /dev/null @@ -1,89 +0,0 @@ -BFD role -=========== - -This role facilitates the configuration of bidirectional forwarding detection (BFD) global attributes. It specifically enables configuration of BFD interval, min_rx, multiplier, and role. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The BFD role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_bfd keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``bfd`` | dictionary | Configures global BFD parameters (see ``bfd.*``) | os10 | -| ``bfd.interval`` | integer | Configures the time interval in ms (100 to 1000) | os10 | -| ``bfd.min_rx`` | integer | Configures maximum waiting time for receiving control packets from BFD peers in ms (100 to 1000)| os10 | -| ``bfd.multiplier`` | integer | Configures the maximum number of consecutive packets that are not received from BFD peers before session state changes to Down (3 to 50) | os10 | -| ``bfd.role`` | string: passive,active\* | Configures the BFD role | os10 | -| ``bfd.state`` | string: absent,present\* | Removes the global BFD if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables -******************** - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_bfd role* to completely set the global BFD attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The bfd role writes a simple playbook that only references the *os10_bfd* role. By including the role, you automatically get access to all of the tasks to configure BFD feature. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_bfd: - bfd: - interval: 100 - min_rx: 100 - multiplier: 3 - role: "active" - state: "present" - -**Simple playbook to setup bfd — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_bfd - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_bfd/defaults/main.yml deleted file mode 100644 index 4aa9bfbb6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_bfd diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_bfd/handlers/main.yml deleted file mode 100644 index b490464e1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_bfd diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_bfd/meta/main.yml deleted file mode 100644 index fce020597..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_bfd - author: Dell EMC Networking Engineering - description: The os10_bfd role facilitates the configuration of global bfd attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_bfd/tasks/main.yml deleted file mode 100644 index 88ac0eb59..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating bfd global configuration for os10" - template: - src: os10_bfd.j2 - dest: "{{ build_dir }}/bfd10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning bfd global configuration for os10" - os10_config: - src: os10_bfd.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/templates/os10_bfd.j2 b/ansible_collections/dellemc/os10/roles/os10_bfd/templates/os10_bfd.j2 deleted file mode 100644 index 18c946446..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/templates/os10_bfd.j2 +++ /dev/null @@ -1,34 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -#Purpose: -Configure bfd global commands for os10 Devices - -os10_bfd: - bfd: - interval: 200 - min_rx: 200 - multiplier: 3 - role: "active" - state: "present" -###############################################} -{% if os10_bfd is defined and os10_bfd %} - {% set bfd_vars = os10_bfd %} - {% if bfd_vars.bfd is defined and bfd_vars.bfd %} - {% set bfd = bfd_vars.bfd %} - {% if bfd.state is defined and bfd.state == "absent" %} -no bfd enable -no bfd interval - {% else %} -bfd enable - {% if bfd.interval is defined and bfd.min_rx is defined and bfd.multiplier is defined %} - {% if bfd.interval and bfd.min_rx and bfd.multiplier %} - {% if bfd.role is defined and bfd.role %} -bfd interval {{ bfd.interval }} min_rx {{ bfd.min_rx }} multiplier {{ bfd.multiplier }} role {{ bfd.role }} - {% else %} -bfd interval {{ bfd.interval }} min_rx {{ bfd.min_rx }} multiplier {{ bfd.multiplier }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_bfd/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_bfd/tests/main.yaml deleted file mode 100644 index 844b91c11..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/main.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# vars file for dellemc.os10.os10_bfd, -# below gives a sample configuration -# Sample variables for OS10 device -os10_bfd: - bfd: - interval: 100 - min_rx: 100 - multiplier: 3 - role: "active" - state: "present" diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_bfd/tests/test.yaml deleted file mode 100644 index a0de5db58..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_bfd diff --git a/ansible_collections/dellemc/os10/roles/os10_bfd/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_bfd/vars/main.yml deleted file mode 100644 index 781a25c8b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bfd/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_bfd diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_bgp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/README.md b/ansible_collections/dellemc/os10/roles/os10_bgp/README.md deleted file mode 100644 index e4e7c94e1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/README.md +++ /dev/null @@ -1,729 +0,0 @@ -BGP role -======== - -This role facilitates the configuration of border gateway protocol (BGP) attributes. It supports the configuration of router ID, networks, neighbors, and maximum paths. This role is abstracted for Dell EMC PowerSwitch platforms running SmartFabric OS10. - -The BGP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_bgp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``asn`` | string (required) | Configures the autonomous system (AS) number of the local BGP instance | os10 | -| ``router_id`` | string | Configures the IP address of the local BGP router instance | os10 | -| ``graceful_restart`` | boolean | Configures graceful restart capability | os10 | -| ``maxpath_ibgp`` | integer | Configures the maximum number of paths to forward packets through iBGP (1 to 64; default 1) | os10 | -| ``maxpath_ebgp`` | integer | Configures the maximum number of paths to forward packets through eBGP (1 to 64; default 1) | os10 | -| ``log_neighbor_changes`` | boolean | Configures log neighbors up/down | os10 | -| ``fast_ext_fallover`` | boolean | Configures a reset session if a link to a directly connected external peer goes down | os10 | -| ``always_compare_med`` | boolean | Configures comparing MED from different neighbors | os10 | -| ``default_loc_pref`` | integer | Configures the default local preference value | os10 | -| ``as_notation`` | string | Configures AS number notation format | os10 | -| ``enforce_first_as`` | boolean | Configures the first AS for eBGP routes | os10 | -| ``non_deterministic_med`` | boolean | Configures nondeterministic path selection algorithm | os10 | -| ``outbound_optimization`` | boolean | Configures outbound optimization for iBGP peer-group members | os10 | -| ``confederation`` | dictionary | Configures AS confederation parameters (see ``confederation.*``) | os10 | -| ``confederation.identifier`` | integer | Configures the routing domain confederation AS | os10 | -| ``confederation.peers`` | string | Configures the peer AS in BGP confederation | os10 | -| ``confederation.peers_state`` | string: absent,present\* | Deletes the peer AS in BGP confederation if set to absent | os10 | -| ``route_reflector`` | dictionary | Configures route reflection parameters (see ``route_reflector.*``) | os10 | -| ``route_reflector.client_to_client`` | boolean | Configures client-to-client route reflection | os10 | -| ``route_reflector.cluster_id`` | string | Configures the route reflector cluster-id | os10 | -| ``address_family_ipv4`` | dictionary | Configures IPv4 address family parameters (see ``address_family_ipv4.*``) | os10 | -| ``address_family_ipv4.aggregate_addr`` | list | Configures IPv4 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv4 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv4.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv4.ibgp_redist_internal`` | dictionary | Configures internal BGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the internal BGP redistribution for an IPv4 address family | os10 | -| ``address_family_ipv4.default_metric`` | integer | Configures the metric of redistributed routes for IPv4 address family | os10 | -| ``address_family_ipv4.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPv4 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``address_family_ipv6`` | dictionary | Configures IPv6 address family parameters (see ``address_family_ipv6.*``) | os10 | -| ``address_family_ipv6.aggregate_addr`` | list | Configures IPv6 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv6 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv6.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv6.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for an IPv6 address family | os10 | -| ``address_family_ipv6.default_metric`` | integer | Configures the metric of redistributed routes for IPv6 address family | os10 | -| ``address_family_ipv6.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for an IPv6 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``best_path`` | list | Configures the default best-path selection (see ``best_path.*``) | os10 | -| ``best_path.as_path`` | string (required): ignore,multipath-relax | Configures the AS path used for the best-path computation | os10 | -| ``best_path.as_path_state`` | string: absent,present\* | Deletes the AS path configuration if set to absent | os10 | -| ``best_path.ignore_router_id`` | boolean: true,false | Ignores the router identifier in best-path computation if set to true | os10 | -| ``best_path.med`` | list | Configures the MED attribute (see ``med.*``) | os10 | -| ``med.attribute`` | string (required): confed,missing-as-best | Configures the MED attribute used for the best-path computation | os10 | -| ``med.state`` | string: absent,present\* | Deletes the MED attribute if set to absent | os10 | -| ``ipv4_network`` | list | Configures an IPv4 BGP networks (see ``ipv4_network.*``) | os10 | -| ``ipv4_network.address`` | string (required) | Configures the IPv4 address of the BGP network (A.B.C.D/E format) | os10 | -| ``ipv4_network.state`` | string: absent,present\* | Deletes an IPv4 BGP network if set to absent | os10 | -| ``ipv6_network`` | list | Configures an IPv6 BGP network (see ``ipv6_network.*``) | os10 | -| ``ipv6_network.address`` | string (required) | Configures the IPv6 address of the BGP network (2001:4898:5808:ffa2::1/126 format) | os10 | -| ``ipv6_network.state`` | string: absent,present\* | Deletes an IPv6 BGP network if set to absent | os10 | -| ``neighbor`` | list | Configures IPv4 BGP neighbors (see ``neighbor.*``) | os10 | -| ``neighbor.ip`` | string (required) | Configures the IPv4 address of the BGP neighbor (10.1.1.1) | os10 | -| ``neighbor.interface`` | string | Configures the BGP neighbor interface details | os10 | -| ``neighbor.name`` | string (required) | Configures the BGP peer-group with this name; supported only when the neighbor is a peer group; mutually exclusive with *neighbor.ip* | os10 | -| ``neighbor.type`` | string (required): ipv4,ipv6,peergroup | Specifies the BGP neighbor type | os10 | -| ``neighbor.auto_peer`` |string: unnumbered-auto | Enables auto discovery of neighbors | os10 | -| ``neighbor.password`` | string | Configures the BGP neighbor password | os10 | -| ``neighbor.peergroup_type`` | string (ibgp, ebgp) | Configures the BGP neighbor peer-group type| os10 | -| ``neighbor.ebgp_peergroup`` | string | Configures the peer-group to all auto-discovered external neighbors | os10 | -| ``neighbor.ebgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered external neighbors | os10 | -| ``neighbor.ibgp_peergroup`` | string | Configures the peer-group to all auto-discovered internal neighbors | os10 | -| ``neighbor.ibgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered internal neighbors | os10 | -| ``neighbor.route_reflector_client`` | boolean | Configures router reflector client on the BGP neighbor | os10 | -| ``neighbor.local_as`` | integer | Configures the local AS for the BGP peer | os10 | -| ``neighbor.weight`` | integer | Configures the default weight for routes from the neighbor interface | os10 | -| ``neighbor.send_community`` | list | Configures the send community attribute to the BGP neighbor (see ``send_community.*``) | os10 | -| ``send_community.type`` | string (required) | Configures the send community attribute to the BGP neighbor | os10 | -| ``send_community.state`` | string: absent,present\* | Deletes the send community attribute of the BGP neighbor if set to absent | os10 | -| ``neighbor.address_family`` | list | Configures address family commands on the BGP neighbor (see ``address_family.*``)| os10 | -| ``address_family.type`` | string (required): ipv4,ipv6,l2vpn | Configures IPv4/IPv6/EVPN address family command mode on the BGP neighbor | os10 | -| ``address_family.activate`` | boolean | Configures activation/deactivation of IPv4/IPv6 address family command mode on the BGP neighbor | os10 | -| ``address_family.sender_loop_detect`` | boolean | Enables/disables the sender-side loop detection process for a BGP neighbor of IPv4/IPv6/l2vpn address family | os10 | -| ``address_family.allow_as_in`` | integer | Configures the local AS number in the as-path | os10 | -| ``address_family.next_hop_self`` | boolean | Configures disabling the next-hop calculation for the neighbor | os10 | -| ``address_family.soft_reconf`` | boolean | Configures per neighbor soft reconfiguration | os10 | -| ``address_family.add_path`` | string | Configures send or receive multiple paths (value can be 'both <no of paths>', 'send <no of paths>', 'receive')| os10 | -| ``address_family.route_map`` | list | Configures the route-map on the BGP neighbor (see ``route_map.*``) | os10 | -| ``route_map.name`` | string | Configures the name of the route-map for the BGP neighbor | os10 | -| ``route_map.filter`` | string | Configures the filter for routing updates | os10 | -| ``route_map.state`` | string, choices: absent,present\* | Deletes the route-map of the BGP neighbor if set to absent | os10 | -| ``address_family.max_prefix`` | dictionary | Configures maximum-prefix parameters (see ``max_prefix.\*``) | os10 | -| ``max_prefix.count`` | integer | Configures maximum number of prefix accepted from the peer | os10 | -| ``max_prefix.state`` | string: absent,present | Deletes maximum prefix configured for the peer | os10 | -| ``max_prefix.threshold`` | integer | Configures threshold percentage at which warning log is thrown | os10 | -| ``max_prefix.warning``| boolean | Configures a warning without dropping the session when maximum limit exceeds if set to true | os10| -| ``address_family.default_originate`` | dictionary | Configures default-originate parameters (see ``default_originate.\*``) | os10 | -| ``default_originate.route_map`` | string | Configures the name of the route-map to specify criteria to originate default | os10 | -| ``default_originate.state`` | string, choices: absent,present\* | Deletes the default-originate if set to absent | os10 | -| ``address_family.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``address_family.state`` | string: absent,present\* | Deletes the address family command mode of the BGP neighbor if set to absent | os10 | -| ``neighbor.remote_asn`` | string (required) | Configures the remote AS number of the BGP neighbor | os10 | -| ``neighbor.remote_asn_state`` | string: absent,present\* | Deletes the remote AS number from the peer group if set to absent; supported only when *neighbor.type* is "peergroup" | os10 | -| ``neighbor.timer`` | string | Configures neighbor timers; 5 10, where 5 is the keepalive interval and 10 is the holdtime | os10 | -| ``neighbor.peergroup`` | string | Configures neighbor to BGP peer-group (configured peer-group name) | os10 | -| ``neighbor.peergroup_state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor from the peer-group if set to absent | os10 | -| ``neighbor.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``neighbor.admin`` | string: up,down | Configures the administrative state of the neighbor | os10 | -| ``neighbor.adv_interval`` | integer | Configures the advertisement interval of the neighbor | os10 | -| ``neighbor.adv_start`` | integer | Set the advertisement start of the neighbor | os10 | -| ``neighbor.adv_start_state`` | string: absent,present\* | Configures or unconfigures the advertisement start of a neighbor | os10 | -| ``neighbor.conn_retry_timer`` | integer | Configures the peer connection retry timer | os10 | -| ``neighbor.remove_pri_as`` | string: absent,present | Configures the remove private AS number from outbound updates | os10 | -| ``neighbor.fall_over`` | string: absent,present | Configures the session fall on peer-route loss | os10 | -| ``neighbor.sender_loop_detect`` | boolean: true,false | Enables or disables the sender-side loop detect for neighbors | os10 | -| ``neighbor.src_loopback`` | integer | Configures the source loopback interface for routing packets | os10 | -| ``neighbor.ebgp_multihop`` | integer | Configures the maximum-hop count value allowed in eBGP neighbors that are not directly connected (default 255) | os10 | -| ``neighbor.listen`` | list | Configures listen commands on the BGP template (see ``listen.*``)| os10 | -| ``listen.subnet`` | string (required) | Configures the passive BGP neighbor IPv4/IPv6 to this subnet | os10 | -| ``listen.subnet_state`` | string: absent,present\* | Deletes the subnet range set for dynamic IPv4/IPv6 BGP neighbor if set to absent | os10 | -| ``listen.limit`` | integer | Configures maximum dynamic peers count (key is required together with ``neighbor.subnet``) | os10 | -| ``neighbor.bfd`` | boolean | Enables BFD for neighbor | os10 | -| ``neighbor.description`` | string | Configures neighbor description | os10 | -| ``neighbor.state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor if set to absent | os10 | -| ``redistribute`` | list | Configures the redistribute list to get information from other routing protocols (see ``redistribute.*``) | os10 | -| ``redistribute.route_type`` | string (required): static,connected,imported_bgp,l2vpn,ospf | Configures the name of the routing protocol to redistribute | os10 | -| ``redistribute.route_map_name`` | string | Configures the route-map to redistribute | os10 | -| ``redistribute.imported_bgp_vrf_name`` | string | Configures the redistribute imported BGP VRF name | os10 | -| ``redistribute.ospf_id`` | string | Configures the redistribute OSPF | os10 | -| ``redistribute.address_type`` | string (required): ipv4,ipv6 | Configures the address type of IPv4 or IPv6 routes | os10 | -| ``redistribute.state`` | string: absent,present\* | Deletes the redistribution information if set to absent | os10 | -| ``bfd_all_neighbors`` | dictionary | Enables BFD for all BGP neighbors | os10 | -| ``bfd_all_neighbors.interval`` | integer: 100 to 1000 | Configures time interval for sending control packets to BFD peers in ms| os10 | -| ``bfd_all_neighbors.min_rx`` | integer: 100 to 1000 | Configures maximum waiting time for receiving control packets from BFD peers in ms| os10 | -| ``bfd_all_neighbors.multiplier`` | integer: 3 to 50 | Configures maximum number of consecutive packets that are not received from BFD peers before session state changes to Down| os10 | -| ``bfd_all_neighbors.role``| string: active, passive | Configures BFD role | os10 | -| ``bfd_all_neighbors.state`` |string: absent,present\* | Deletes BFD for all neighbors if set to absent | os10 | -| ``vrfs`` | list | Enables VRF under BGP | os10 | -| ``vrf.name`` | string (Required)| Configures VRF name | os10 | -| ``vrf.router_id`` | string | Configures the IP address of the local BGP router instance in VRF | os10 | -| ``vrf.graceful_restart`` | boolean | Configures graceful restart capability in VRF | os10 | -| ``vrf.maxpath_ibgp`` | integer | Configures the maximum number of paths to forward packets through iBGP (1 to 64; default 1) in VRF | os10 | -| ``vrf.maxpath_ebgp`` | integer | Configures the maximum number of paths to forward packets through eBGP (1 to 64; default 1) in VRF | os10 | -| ``vrf.log_neighbor_changes`` | boolean | Configures log neighbors up/down in VRF | os10 | -| ``vrf.fast_ext_fallover`` | boolean | Configures a reset session if a link to a directly connected external peer goes down in VRF | os10 | -| ``vrf.always_compare_med`` | boolean | Configures comparing MED from different neighbors in VRF | os10 | -| ``vrf.default_loc_pref`` | integer | Configures the default local preference value in VRF | os10 | -| ``vrf.as_notation`` | string | Changes the AS number notation format in VRF | os10 | -| ``vrf.enforce_first_as`` | boolean | Configures the first AS for eBGP routes in VRF | os10 | -| ``vrf.non_deterministic_med`` | boolean | Configures nondeterministic path selection algorithm in VRF | os10 | -| ``vrf.outbound_optimization`` | boolean | Configures outbound optimization for iBGP peer-group members in VRF | os10 | -| ``vrf.route_reflector`` | dictionary | Configures route reflection parameters (see ``route_reflector.*``) in VRF | os10 | -| ``vrf.route_reflector.client_to_client`` | boolean | Configures client-to-client route reflection in VRF | os10 | -| ``vrf.route_reflector.cluster_id`` | string | Configures the route-reflector cluster-id in VRF | os10 | -| ``vrf.address_family_ipv4`` | dictionary | Configures IPv4 address family parameters in VRF (see ``address_family_ipv4.*``) in VRF | os10 | -| ``address_family_ipv4.aggregate_addr`` | list | Configures IPv4 BGP aggregate entries (see ``aggregate_addr.*``) in VRF | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv4 BGP aggregate address in VRF | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv4 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true in VRF | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv4 BGP aggregate entry if set to absent in VRF | os10 | -| ``address_family_ipv4.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv4.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for a IPV4 address family | os10 | -| ``address_family_ipv4.default_metric`` | integer | Configures the metric of redistributed routes for IPV4 address family | os10 | -| ``address_family_ipv4.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPV4 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``vrf.address_family_ipv6`` | dictionary | Configures IPv6 address family parameters in VRF (see ``address_family_ipv6.*``) | os10 | -| ``address_family_ipv6.aggregate_addr`` | list | Configures IPv6 BGP aggregate entries (see ``aggregate_addr.*``) | os10 | -| ``aggregate_addr.ip_and_mask`` | string | Configures the IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.adv_map`` | string | Configures the advertise map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.attr_map`` | string | Configures the attribute map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.suppress_map`` | string | Configures the suppress map for IPv6 BGP aggregate address | os10 | -| ``aggregate_addr.summary_only`` | boolean | Sets address to summary-only if true | os10 | -| ``aggregate_addr.state`` | string: absent,present\* | Deletes an IPv6 BGP aggregate entry if set to absent | os10 | -| ``address_family_ipv6.dampening`` | dictionary | Configures route-flap dampening (see ``dampening.*``) | os10 | -| ``dampening.value`` | dictionary | Configures dampening values (<half-life time> <start value to reuse> <start value to suppress> <max duration> format; default 15 750 2000 60) | os10 | -| ``dampening.route_map`` | string | Configures the route-map to specify criteria for dampening | os10 | -| ``dampening.state`` | string: absent,present\* | Deletes dampening if set to absent | os10 | -| ``address_family_ipv6.ibgp_redist_internal`` | dictionary | Configures iBGP reditribution (see ``ibgp_redist_internal.*``) | os10 | -| ``ibgp_redist_internal.state`` | boolean | Configures the iBGP redistribution for a IPv6 address family | os10 | -| ``address_family_ipv6.default_metric`` | integer | Configures the metric of redistributed routes for IPv6 address family | os10 | -| ``address_family_ipv6.distance_bgp`` | dictionary | Configures BGP distances (see ``distance_bgp.*``) | os10 | -| ``distance_bgp.value`` | dictionary | Configures the BGP administrative distance for IPv6 address family (<routes external to AS> <routes internal to AS> <local routes> format; distance bgp 2 3 4) | os10 | -| ``distance_bgp.state`` | string: absent,present\* | Deletes distance BGP if set to absent | os10 | -| ``vrf.best_path`` | list | Configures the default best-path selection in VRF (see ``best_path.*``) | os10 | -| ``best_path.as_path`` | string (required): ignore,multipath-relax | Configures the AS path used for the best-path computation | os10 | -| ``best_path.as_path_state`` | string: absent,present\* | Deletes the AS path configuration if set to absent | os10 | -| ``best_path.ignore_router_id`` | boolean: true,false | Ignores the router identifier in best-path computation if set to true | os10 | -| ``best_path.med`` | list | Configures the MED attribute (see ``med.*``) | os10 | -| ``med.attribute`` | string (required): confed,missing-as-best | Configures the MED attribute used for the best-path computation | os10 | -| ``med.state`` | string: absent,present\* | Deletes the MED attribute if set to absent | os10 | -| ``vrf.ipv4_network`` | list | Configures an IPv4 BGP networks (see ``ipv4_network.*``) | os10 | -| ``ipv4_network.address`` | string (required) | Configures the IPv4 address of the BGP network (A.B.C.D/E format) | os10 | -| ``ipv4_network.state`` | string: absent,present\* | Deletes an IPv4 BGP network if set to absent | os10 | -| ``vrf.ipv6_network`` | list | Configures an IPv6 BGP network (see ``ipv6_network.*``) | os10 | -| ``ipv6_network.address`` | string (required) | Configures the IPv6 address of the BGP network (2001:4898:5808:ffa2::1/126 format) | os10 | -| ``ipv6_network.state`` | string: absent,present\* | Deletes an IPv6 BGP network if set to absent | os10 | -| ``vrf.neighbor`` | list | Configures IPv4 BGP neighbors in VRF (see ``neighbor.*``) | os10 | -| ``neighbor.ip`` | string (required) | Configures the IPv4 address of the BGP neighbor (10.1.1.1) | os10 | -| ``neighbor.interface`` | string | Configures the BGP neighbor interface details | os10 | -| ``neighbor.name`` | string (required) | Configures the BGP peer-group with this name; supported only when the neighbor is a peer group; mutually exclusive with *neighbor.ip* | os10 | -| ``neighbor.type`` | string (required): ipv4,ipv6,peergroup | Specifies the BGP neighbor type | os10 | -| ``neighbor.auto_peer`` |string: unnumbered-auto | Enable auto-discovery of neighbors | os10 | -| ``neighbor.password`` | string | Configures the BGP neighbor password | os10 | -| ``neighbor.peergroup_type`` | string (ibgp, ebgp) | Configures the BGP neighbor peer-group type| os10 | -| ``neighbor.ebgp_peergroup`` | string | Configures the peer-group to all auto-discovered external neighbors | os10 | -| ``neighbor.ebgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered external neighbors | os10 | -| ``neighbor.ibgp_peergroup`` | string | Configures the peer-group to all auto-discovered internal neighbors | os10 | -| ``neighbor.ibgp_peergroup_state`` | string: present,absent | Removes the peer-group from all auto-discovered internal neighbors | os10 | -| ``neighbor.route_reflector_client`` | boolean | Configures router reflector client on the BGP neighbor | os10 | -| ``neighbor.local_as`` | integer | Configures the local AS for the BGP peer | os10 | -| ``neighbor.weight`` | integer | Configures the default weight for routes from the neighbor interface | os10 | -| ``neighbor.send_community`` | list | Configures the send community attribute to the BGP neighbor (see ``send_community.*``) | os10 | -| ``send_community.type`` | string (required) | Configures the send community attribute to the BGP neighbor | os10 | -| ``send_community.state`` | string: absent,present\* | Deletes the send community attribute of the BGP neighbor if set to absent | os10 | -| ``neighbor.address_family`` | list | Configures address family commands on the BGP neighbor (see ``address_family.*``)| os10 | -| ``address_family.type`` | string (required): ipv4,ipv6,l2vpn | Configures IPv4/IPv6 EVPN address family command mode on the BGP neighbor | os10 | -| ``address_family.activate`` | boolean | Configures activation or deactivation of IPv4/IPv6 address family command mode on the BGP neighbor | os10 | -| ``address_family.sender_loop_detect`` | boolean | Enables or disables the sender-side loop detection process for a BGP neighbor of IPv4/IPv6 l2vpn address family | os10 | -| ``address_family.allow_as_in`` | integer | Configures the local AS number in the as-path | os10 | -| ``address_family.next_hop_self`` | boolean | Configures disabling the next-hop calculation for the neighbor | os10 | -| ``address_family.soft_reconf`` | boolean | Configures per neighbor soft reconfiguration | os10 | -| ``address_family.add_path`` | string | Configures send or receive multiple paths (value can be 'both <no of paths>', 'send <no of paths>', 'receive')| os10 | -| ``address_family.route_map`` | list | Configures the route-map on the BGP neighbor (see ``route_map.*``) | os10 | -| ``route_map.name`` | string | Configures the name of the route-map for the BGP neighbor | os10 | -| ``route_map.filter`` | string | Configures the filter for routing updates | os10 | -| ``route_map.state`` | string, choices: absent,present* | Deletes the route-map of the BGP neighbor if set to absent | os10 | -| ``address_family.max_prefix`` | dictionary | Configures maximum-prefix parameters (see ``max_prefix.*``) | os10 | -| ``max_prefix.count`` | integer | Configures maximum number of prefix accepted from the peer | os10 | -| ``max_prefix.state`` | string: absent,present | Deletes maximum prefix configured for the peer | os10 | -| ``max_prefix.threshold`` | integer | Configures threshold percentage at which warning log is thrown | os10 | -| ``max_prefix.warning``| boolean | Configures a warning without dropping session when maximum limit exceeds if set to true | os10| -| ``address_family.default_originate`` | dictionary | Configures default-originate parameters (see ``default_originate.\*``) | os10 | -| ``default_originate.route_map`` | string | Configures the name of the route-map to specify criteria to originate default | os10 | -| ``default_originate.state`` | string, choices: absent,present\* | Deletes the default-originate if set to absent | os10 | -| ``address_family.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``address_family.state`` | string: absent,present\* | Deletes the address family command mode of the BGP neighbor if set to absent | os10 | -| ``neighbor.remote_asn`` | string (required) | Configures the remote AS number of the BGP neighbor | os10 | -| ``neighbor.remote_asn_state`` | string: absent,present\* | Deletes the remote AS number from the peer-group if set to absent; supported only when *neighbor.type* is "peergroup" | os10 | -| ``neighbor.timer`` | string | Configures neighbor timers; 5 10, where 5 is the keepalive interval and 10 is the holdtime | os10 | -| ``neighbor.peergroup`` | string | Configures neighbor to BGP peer-group (configured peer-group name) | os10 | -| ``neighbor.peergroup_state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor from the peer-group if set to absent | os10 | -| ``neighbor.distribute_list`` | list | Configures the distribute list to filter networks from routing updates (see ``distribute_list.*``) | os10 | -| ``distribute_list.in`` | string | Configures the name of the prefix-list to filter incoming packets | os10 | -| ``distribute_list.in_state`` | string: absent,present\* | Deletes the filter at incoming packets if set to absent | os10 | -| ``distribute_list.out`` | string | Configures the name of the prefix-list to filter outgoing packets | os10 | -| ``distribute_list.out_state`` | string: absent,present\* | Deletes the filter at outgoing packets if set to absent | os10 | -| ``neighbor.admin`` | string: up,down | Configures the administrative state of the neighbor | os10 | -| ``neighbor.adv_interval`` | integer | Configures the advertisement interval of the neighbor | os10 | -| ``neighbor.adv_start`` | integer | Set the advertisement start of the neighbor | os10 | -| ``neighbor.adv_start_state`` | string: absent,present\* | Configures or unconfigures the advertisement start of the neighbor | os10 | -| ``neighbor.conn_retry_timer`` | integer | Configures the peer connection retry timer | os10 | -| ``neighbor.remove_pri_as`` | string: absent,present | Removes private AS number from outbound updates | os10 | -| ``neighbor.fall_over`` | string: absent,present | Configures the session fall on peer-route loss | os10 | -| ``neighbor.sender_loop_detect`` | boolean: true,false | Enables or disables the sender-side loop detect for neighbors | os10 | -| ``neighbor.src_loopback`` | integer | Configures the source loopback interface for routing packets | os10 | -| ``neighbor.ebgp_multihop`` | integer | Configures the maximum-hop count value allowed in eBGP neighbors that are not directly connected (default 255) | os10 | -| ``neighbor.listen`` | list | Configures listen commands on the BGP template (see ``listen.*``)| os10 | -| ``listen.subnet`` | string (required) | Configures the passive BGP neighbor IPv4/IPv6 to this subnet | os10 | -| ``listen.subnet_state`` | string: absent,present\* | Deletes the subnet range set for dynamic IPv4/IPv6 BGP neighbor if set to absent | os10 | -| ``listen.limit`` | integer | Configures maximum dynamic peers count (key is required together with ``neighbor.subnet``) | os10 | -| ``neighbor.bfd`` | boolean | Enables BFD for neighbor | os10 | -| ``neighbor.description`` | string | Configures neighbor description | os10 | -| ``neighbor.state`` | string: absent,present\* | Deletes the IPv4 BGP neighbor if set to absent | os10 | -| ``vrf.redistribute`` | list | Configures the redistribute list to get information from other routing protocols in VRF (see ``redistribute.*``) | os10 | -| ``redistribute.route_type`` | string (required): static,connected,imported_bgp | Configures the name of the routing protocol to redistribute | os10 | -| ``redistribute.route_map_name`` | string | Configures the route-map to redistribute | os10 | -| ``redistribute.imported_bgp_vrf_name`` | string | Configures the redistribute imported BGP VRF name | os10 | -| ``redistribute.ospf_id`` | string | Configures the redistribute ospf | os10 | -| ``redistribute.address_type`` | string (required): ipv4,ipv6 | Configures the address type of IPv4 or IPv6 routes | os10 | -| ``redistribute.state`` | string: absent,present\* | Deletes the redistribution information if set to absent | os10 | -| ``vrf.bfd_all_neighbors`` | dictionary | Enables BFD for all BGP neighbors in VRF ((see ``bfd_all_neighbors.*``))| os10 | -| ``bfd_all_neighbors.interval`` | integer: 100 to 1000 | Configures time interval for sending control packets to BFD peers in ms| os10 | -| ``bfd_all_neighbors.min_rx`` | integer: 100 to 1000 | Configures maximum waiting time for receiving control packets from BFD peers in ms| os10 | -| ``bfd_all_neighbors.multiplier`` | integer: 3 to 50 | Configures maximum number of consecutive packets that are not received from BFD peers before session state changes to Down| os10 | -| ``bfd_all_neighbors.role``| string: active, passive | Configures BFD role | os10 | -| ``bfd_all_neighbors.state`` |string: absent,present\* | Deletes BFD for all neighbors if set to absent | os10 | -| ``vrf.state`` | string: absent,present\* | Deletes the VRF instance under router BGP if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the local router BGP instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_bgp* role to configure the BGP network and neighbors. It creates a *hosts* file with the switch details, a *host_vars* file with connection variables and the corresponding role variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. This example writes a simple playbook that only references the *os10_bgp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - as_notation: asdot - enforce_first_as: false - non_deterministic_med: true - outbound_optimization: true - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - client_to_client: false - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - activate: false - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 20::/64 - limit: 4 - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - src_loopback: 0 - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 10 - threshold: 40 - warning: true - state: present - default_originate: - route_map: aa - state: present - distribute_list: - in: XX - in_state: present - out: YY - out_state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: absent - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: false - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs: - - name: "GREEN" - router_id: 50.1.1.1 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: false - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - client_to_client: false - cluster_id: 1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - description: U_site2 vlan - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - src_loopback: 0 - address_family: - - type: ipv4 - activate: false - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - activate: false - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: present - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - activate: false - sender_loop_detect: false - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - - route_type: imported_bgp - imported_bgp_vrf_name: test6 - route_map_name: dd - address_type: ipv4 - state: present - - route_type: ospf - ospf_id: 12 - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present - state: present - - -**Simple playbook to configure BGP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_bgp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_bgp/defaults/main.yml deleted file mode 100644 index 0b8cbfc82..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_bgp diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_bgp/handlers/main.yml deleted file mode 100644 index b0141ca3f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_bgp diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_bgp/meta/main.yml deleted file mode 100644 index 047c70dc9..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_bgp role facilitates the configuration of BGP attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_bgp/tasks/main.yml deleted file mode 100644 index 05c44354b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating BGP configuration for os10" - template: - src: os10_bgp.j2 - dest: "{{ build_dir }}/bgp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning BGP configuration for os10" - os10_config: - src: os10_bgp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/templates/os10_bgp.j2 b/ansible_collections/dellemc/os10/roles/os10_bgp/templates/os10_bgp.j2 deleted file mode 100644 index d4859eba3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/templates/os10_bgp.j2 +++ /dev/null @@ -1,1244 +0,0 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -{########################################### -Purpose: -Configure BGP commands for os10 Devices -os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - client_to_client: false - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - src_loopback: 0 - address_family: - - type: ipv4 - activate: true - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - max_prefix: - - count: 10 - threshold: 80 - warning: true - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: absent - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: false - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs : - - name: "GREEN" - router_id: 1.1.1.1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - state: present - neighbor: - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - src_loopback: 0 - address_family: - - type: ipv4 - activate: true - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: absent - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: false - state: present - send_community: - - type: standard - state: present - admin: up - state: present - state: present - state: present -################################} -{% macro render_default_metric_configs(af_vars) %} - {% if af_vars.default_metric is defined %} - {% if af_vars.default_metric %} - default-metric {{ af_vars.default_metric }} - {% else %} - no default-metric - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_outbound_optimization_configs(out_opt_vars) %} - {% if out_opt_vars %} - outbound-optimization - {% else %} - outbound-optimization - {% endif %} -{% endmacro %} - -{% macro render_non_deterministic_med_configs(non_deter_med_vars) %} - {% if non_deter_med_vars %} - non-deterministic-med - {% else %} - no non-deterministic-med - {% endif %} -{% endmacro %} - -{% macro render_enforce_first_as_configs(enforce_first_as_vars) %} - {% if enforce_first_as_vars %} - enforce-first-as - {% else %} - no enforce-first-as - {% endif %} -{% endmacro %} - -{% macro render_as_notation_configs(as_vars) %} - {% if as_vars %} - as-notation {{ as_vars }} - {% endif %} -{% endmacro %} - -{% macro render_neigh_configs(neigh_vars,indent_space) %} - {% if neigh_vars is defined and neigh_vars %} - {% for neighbor in neigh_vars %} - {% if neighbor.type is defined %} - {% if neighbor.type == "ipv4" or neighbor.type =="ipv6" %} - {% if neighbor.ip is defined and neighbor.ip %} - {% set tag_or_ip = neighbor.ip %} - {% if neighbor.state is defined and neighbor.state == "absent" %} - {{ indent_space }}no neighbor {{ tag_or_ip }} - {% else %} - {{ indent_space }}neighbor {{ tag_or_ip }} - {% if neighbor.description is defined %} - {% if neighbor.description %} - {{ indent_space }}description "{{ neighbor.description }}" - {% else %} - {{ indent_space }}no description - {% endif %} - {% endif %} - {% if neighbor.peergroup is defined and neighbor.peergroup %} - {% if neighbor.peergroup_state is defined and neighbor.peergroup_state == "absent" %} - {{ indent_space }}no inherit template {{ neighbor.peergroup }} - {% else %} - {{ indent_space }}inherit template {{ neighbor.peergroup }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% if neighbor.interface is defined and neighbor.interface %} - {% set tag_or_ip = neighbor.interface %} - {% if neighbor.state is defined and neighbor.state == "absent" %} - {{ indent_space }}no neighbor interface {{ neighbor.interface }} - {% else %} - {{ indent_space }}neighbor interface {{ neighbor.interface }} - {% if neighbor.description is defined %} - {% if neighbor.description %} - {{ indent_space }}description "{{ neighbor.description }}" - {% else %} - {{ indent_space }}no description - {% endif %} - {% endif %} - {% if neighbor.admin is defined %} - {% if neighbor.admin == "up" %} - {{ indent_space }}no shutdown - {% else %} - {{ indent_space }}shutdown - {% endif %} - {% endif %} - {% if neighbor.peergroup is defined and neighbor.peergroup %} - {% if neighbor.peergroup_state is defined and neighbor.peergroup_state == "absent" %} - {{ indent_space }}no inherit template {{ neighbor.peergroup }} - {% elif neighbor.peergroup_type is defined %} - {{ indent_space }}inherit template {{ neighbor.peergroup }} inherit-type {{ neighbor.peergroup_type }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% if neighbor.auto_peer is defined and neighbor.auto_peer %} - {% set tag_or_ip = neighbor.auto_peer %} - {% if neighbor.state is defined and neighbor.state == "absent" %} - {{ indent_space }}no neighbor {{ neighbor.auto_peer }} - {% else %} - {{ indent_space }}neighbor {{ neighbor.auto_peer }} - {% if neighbor.description is defined %} - {% if neighbor.description %} - {{ indent_space }}description "{{ neighbor.description }}" - {% else %} - {{ indent_space }}no description - {% endif %} - {% endif %} - {% if neighbor.admin is defined %} - {% if neighbor.admin == "up" %} - {{ indent_space }}no shutdown - {% else %} - {{ indent_space }}shutdown - {% endif %} - {% endif %} - {% if neighbor.ebgp_peergroup is defined and neighbor.ebgp_peergroup %} - {% if neighbor.ebgp_peergroup_state is defined and neighbor.ebgp_peergroup_state == "absent" %} - {{ indent_space }}no inherit ebgp-template {{ neighbor.ebgp_peergroup }} - {% else %} - {{ indent_space }}inherit ebgp-template {{ neighbor.ebgp_peergroup }} - {% endif %} - {% endif %} - {% if neighbor.ibgp_peergroup is defined and neighbor.ibgp_peergroup %} - {% if neighbor.ibgp_peergroup_state is defined and neighbor.ibgp_peergroup_state == "absent" %} - {{ indent_space }}no inherit ibgp-template {{ neighbor.ibgp_peergroup }} - {% else %} - {{ indent_space }}inherit ibgp-template {{ neighbor.ibgp_peergroup }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% elif neighbor.type == "peergroup" %} - {% if neighbor.name is defined and neighbor.name %} - {% set tag_or_ip = neighbor.name %} - {% if neighbor.state is defined and neighbor.state == "absent" %} - {{ indent_space }}no template {{ tag_or_ip }} - {% else %} - {{ indent_space }}template {{ tag_or_ip }} - {% if neighbor.description is defined %} - {% if neighbor.description %} - {{ indent_space }}description "{{ neighbor.description }}" - {% else %} - {{ indent_space }}no description - {% endif %} - {% endif %} - {% if neighbor.listen is defined and neighbor.listen %} - {% for item in neighbor.listen %} - {% if item.subnet is defined and item.subnet %} - {% if item.subnet_state is defined and item.subnet_state =="absent" %} - {{ indent_space }}no listen {{ item.subnet }} - {% else %} - {% set listen_str = item.subnet %} - {% if item.limit is defined and item.limit %} - {% set listen_str = listen_str ~ " limit " ~ item.limit %} - {% endif %} - {{ indent_space }}listen {{ listen_str }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% endif %} - {% endif %} - {% endif %} - {% if tag_or_ip is defined and tag_or_ip %} - {% if (neighbor.state is defined and not neighbor.state == "absent" ) or neighbor.state is not defined %} - {% if neighbor.remote_asn is defined and neighbor.remote_asn %} - {% if neighbor.remote_asn_state is defined and neighbor.remote_asn_state == "absent" %} - {{ indent_space }}no remote-as {{ neighbor.remote_asn }} - {% else %} - {{ indent_space }}remote-as {{ neighbor.remote_asn }} - {% endif %} - {% endif %} - {% if neighbor.local_as is defined %} - {% if neighbor.local_as %} - {{ indent_space }}local-as {{ neighbor.local_as }} - {% else %} - {{ indent_space }}no local-as - {% endif %} - {% endif %} - {% if neighbor.weight is defined %} - {% if neighbor.weight %} - {{ indent_space }}weight {{ neighbor.weight }} - {% else %} - {{ indent_space }}no weight - {% endif %} - {% endif %} - {% if neighbor.src_loopback is defined %} - {% if neighbor.src_loopback|int(-1) != -1 %} - {{ indent_space }}update-source loopback{{ neighbor.src_loopback }} - {% else %} - {{ indent_space }}no update-source loopback - {% endif %} - {% endif %} - - {% if neighbor.ebgp_multihop is defined %} - {% if neighbor.ebgp_multihop %} - {{ indent_space }}ebgp-multihop {{ neighbor.ebgp_multihop }} - {% else %} - {{ indent_space }}no ebgp-multihop - {% endif %} - {% endif %} - {% if neighbor.route_reflector_client is defined %} - {% if neighbor.route_reflector_client %} - {{ indent_space }}route-reflector-client - {% else %} - {{ indent_space }}no route-reflector-client - {% endif %} - {% endif %} - {% if neighbor.password is defined %} - {% if neighbor.password %} - {{ indent_space }}password {{ neighbor.password }} - {% else %} - {{ indent_space }}no password a - {% endif %} - {% endif %} - {% if neighbor.send_community is defined and neighbor.send_community %} - {% for comm in neighbor.send_community %} - {% if comm.type is defined and comm.type %} - {% if comm.state is defined and comm.state == "absent" %} - {{ indent_space }}no send-community {{ comm.type }} - {% else %} - {{ indent_space }}send-community {{ comm.type }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if neighbor.address_family is defined and neighbor.address_family %} - {% for af in neighbor.address_family %} - {% if af.type is defined and af.type %} - {% if af.state is defined and af.state == "absent" %} - {% if af.type == "l2vpn" %} - {{ indent_space }}no address-family {{ af.type }} evpn - {% else %} - {{ indent_space }}no address-family {{ af.type }} unicast - {% endif %} - {% else %} - {% if af.type == "l2vpn" %} - {{ indent_space }}address-family {{ af.type }} evpn - {% else %} - {{ indent_space }}address-family {{ af.type }} unicast - {% endif %} - {% if af.activate is defined %} - {% if af.activate %} - {{ indent_space }}activate - {% else %} - {{ indent_space }}no activate - {% endif %} - {% endif %} - {% if af.sender_loop_detect is defined %} - {% if af.sender_loop_detect %} - {{ indent_space }}sender-side-loop-detection - {% else %} - {{ indent_space }}no sender-side-loop-detection - {% endif %} - {% endif %} - {% if af.allow_as_in is defined %} - {% if af.allow_as_in %} - {{ indent_space }}allowas-in {{ af.allow_as_in }} - {% else %} - {{ indent_space }}no allowas-in - {% endif %} - {% endif %} - {% if af.route_map is defined and af.route_map %} - {% for item in af.route_map %} - {% if item.name is defined and item.name %} - {% if item.filter is defined and item.filter %} - {% if item.state is defined and item.state == "absent" %} - {{ indent_space }}no route-map {{ item.name }} {{ item.filter }} - {% else %} - {{ indent_space }}route-map {{ item.name }} {{ item.filter }} - {% endif%} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if af.next_hop_self is defined %} - {% if af.next_hop_self %} - {{ indent_space }}next-hop-self - {% else %} - {{ indent_space }}no next-hop-self - {% endif %} - {% endif %} - {% if af.soft_reconf is defined %} - {% if af.soft_reconf %} - {{ indent_space }}soft-reconfiguration inbound - {% else %} - {{ indent_space }}no soft-reconfiguration inbound - {% endif %} - {% endif %} - {% if af.add_path is defined %} - {% if af.add_path %} - {{ indent_space }}add-path {{ af.add_path }} - {% else %} - {{ indent_space }}no add-path - {% endif %} - {% endif %} - {% if af.max_prefix is defined %} - {% if af.max_prefix.count is defined and af.max_prefix.count %} - {% if af.max_prefix.state is defined and af.max_prefix.state == "absent" %} - {{ indent_space }}no maximum-prefix {{ af.max_prefix.count }} - {% else %} - {% set max_pfrx_str = af.max_prefix.count %} - {% if af.max_prefix.threshold is defined and af.max_prefix.threshold %} - {% set max_pfrx_str = max_pfrx_str ~ " " ~ af.max_prefix.threshold %} - {% endif %} - {% if af.max_prefix.warning is defined and af.max_prefix.warning %} - {% set max_pfrx_str = max_pfrx_str ~ " warning-only" %} - {% endif %} - {{ indent_space }}maximum-prefix {{ max_pfrx_str }} - {% endif %} - {% endif %} - {% endif %} - {% if af.default_originate is defined %} - {% if af.default_originate.state is defined and af.default_originate.state == "absent" %} - {{ indent_space }}no default-originate - {% else %} - {% set def_origin_str = " " %} - {% if af.default_originate.route_map is defined and af.default_originate.route_map %} - {% set def_origin_str = "route-map " ~ af.default_originate.route_map %} - {% endif %} - {{ indent_space }}default-originate {{ def_origin_str }} - {% endif %} - {% endif %} - {% if af.distribute_list is defined and af.distribute_list %} - {% if af.distribute_list.in is defined and af.distribute_list.in %} - {% if af.distribute_list.in_state is defined and af.distribute_list.in_state == "absent" %} - {{ indent_space }}no distribute-list {{ af.distribute_list.in }} in - {% else %} - {{ indent_space }}distribute-list {{ af.distribute_list.in }} in - {% endif %} - {% endif %} - {% if af.distribute_list.out is defined and af.distribute_list.out %} - {% if af.distribute_list.out_state is defined and af.distribute_list.out_state == "absent" %} - {{ indent_space }}no distribute-list {{ af.distribute_list.out }} out - {% else %} - {{ indent_space }}distribute-list {{ af.distribute_list.out }} out - {% endif %} - {% endif %} - {% endif %} - - - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if neighbor.adv_interval is defined %} - {% if neighbor.adv_interval %} - {{ indent_space }}advertisement-interval {{ neighbor.adv_interval }} - {% else %} - {{ indent_space }}no advertisement-interval - {% endif %} - {% endif %} - {% if neighbor.adv_start is defined and neighbor.adv_start >= 0 %} - {% if neighbor.adv_start_state is defined and neighbor.adv_start_state == "absent" %} - {{ indent_space }}no advertisement-start - {% else %} - {{ indent_space }}advertisement-start {{ neighbor.adv_start }} - {% endif %} - {% endif %} - {% if neighbor.conn_retry_timer is defined %} - {% if neighbor.conn_retry_timer %} - {{ indent_space }}connection-retry-timer {{ neighbor.conn_retry_timer }} - {% else %} - {{ indent_space }}no connection-retry-timer - {% endif %} - {% endif %} - {% if neighbor.remove_pri_as is defined and neighbor.remove_pri_as == "present" %} - {{ indent_space }}remove-private-as - {% elif neighbor.remove_pri_as is defined and neighbor.remove_pri_as == "absent" %} - {{ indent_space }}no remove-private-as - {% endif %} - {% if neighbor.fall_over is defined and neighbor.fall_over == "present" %} - {{ indent_space }}fall-over - {% elif neighbor.fall_over is defined and neighbor.fall_over == "absent" %} - {{ indent_space }}no fall-over - {% endif %} - {% if neighbor.bfd is defined and neighbor.bfd %} - {{ indent_space }}bfd - {% elif neighbor.bfd is defined and not neighbor.bfd %} - {{ indent_space }}no bfd - {% endif %} - {% if neighbor.timer is defined %} - {% if neighbor.timer %} - {{ indent_space }}timers {{ neighbor.timer }} - {% else %} - {{ indent_space }}no timers - {% endif %} - {% endif %} - {% if neighbor.admin is defined %} - {% if neighbor.admin == "up" %} - {{ indent_space }}no shutdown - {% else %} - {{ indent_space }}shutdown - {% endif %} - {% endif %} - {% if neighbor.distribute_list is defined and neighbor.distribute_list %} - {{ indent_space }}address-family ipv4 unicast - {% if neighbor.distribute_list.in is defined and neighbor.distribute_list.in %} - {% if neighbor.distribute_list.in_state is defined and neighbor.distribute_list.in_state == "absent" %} - {{ indent_space }}no distribute-list {{ neighbor.distribute_list.in }} in - {% else %} - {{ indent_space }}distribute-list {{ neighbor.distribute_list.in }} in - {% endif %} - {% endif %} - {% if neighbor.distribute_list.out is defined and neighbor.distribute_list.out %} - {% if neighbor.distribute_list.out_state is defined and neighbor.distribute_list.out_state == "absent" %} - {{ indent_space }}no distribute-list {{ neighbor.distribute_list.out }} out - {% else %} - {{ indent_space }}distribute-list {{ neighbor.distribute_list.out }} out - {% endif %} - {% endif %} - {% endif %} - {% if neighbor.sender_loop_detect is defined %} - {{ indent_space }}address-family ipv4 unicast - {% if neighbor.sender_loop_detect %} - {{ indent_space }}sender-side-loop-detection - {% else %} - {{ indent_space }}no sender-side-loop-detection - {% endif %} - {% endif %} - - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endmacro %} - -{% macro render_ibgp_redist_internal_configs(af_vars) %} - {% if af_vars.ibgp_redist_internal is defined and af_vars.ibgp_redist_internal%} - {% if af_vars.ibgp_redist_internal.state is defined and af_vars.ibgp_redist_internal.state == "absent" %} - no bgp redistribute-internal - {% else %} - bgp redistribute-internal - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_distance_bgp_configs(af_vars) %} - {% if af_vars.distance_bgp is defined and af_vars.distance_bgp %} - {% if af_vars.distance_bgp.state is defined and af_vars.distance_bgp.state == "absent" %} - no distance bgp - {% else %} - {% if af_vars.distance_bgp.value is defined and af_vars.distance_bgp.value %} - distance bgp {{ af_vars.distance_bgp.value }} - {% endif %} - {% endif %} - {% endif %} -{% endmacro %} - - -{% macro render_dampening_configs(af_vars) %} - {% if af_vars.dampening is defined and af_vars.dampening %} - {% if af_vars.dampening.state is defined and af_vars.dampening.state == "absent" %} - no dampening - {% else %} - {% if af_vars.dampening.value is defined and af_vars.dampening.value %} - {% if af_vars.dampening.route_map is defined and af_vars.dampening.route_map %} - dampening {{ af_vars.dampening.value }} route-map {{ af_vars.dampening.route_map }} - {% else %} - dampening {{ af_vars.dampening.value }} - {% endif %} - {% else %} - {% if af_vars.dampening.route_map is defined and af_vars.dampening.route_map %} - dampening 15 750 2000 60 route-map {{ af_vars.dampening.route_map }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_af_configs(af_vars) %} - {% if af_vars is defined and af_vars %} - {% if af_vars.aggregate_address is defined and af_vars.aggregate_address %} - {% for addr in af_vars.aggregate_address %} - {% if addr.ip_and_mask is defined and addr.ip_and_mask %} - {% if addr.state is defined and addr.state == "absent" %} - no aggregate-address {{ addr.ip_and_mask }} - {% else %} - {% set aggr_str = addr.ip_and_mask %} - {% if addr.adv_map is defined and addr.adv_map %} - {% set aggr_str = aggr_str ~ " advertise-map " ~ addr.adv_map %} - {% endif %} - {% if addr.as_set is defined and addr.as_set %} - {% set aggr_str = aggr_str ~ " as-set " %} - {% endif %} - {% if addr.attr_map is defined and addr.attr_map %} - {% set aggr_str = aggr_str ~ " attribute-map " ~ addr.attr_map %} - {% endif %} - {% if addr.summary is defined and addr.summary %} - {% set aggr_str = aggr_str ~ " summary-only" %} - {% endif %} - {% if addr.suppress_map is defined and addr.suppress_map %} - {% set aggr_str = aggr_str ~ " suppress-map " ~ addr.suppress_map %} - {% endif %} - aggregate-address {{ aggr_str }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_rtid_configs(routerid_vars) %} - {% if routerid_vars %} - router-id {{ routerid_vars }} - {% else %} - no router-id - {% endif %} -{% endmacro %} - -{% macro render_bfd_all_neigh_configs(bfd_all_neigh_vars) %} - {% if bfd_all_neigh_vars.state is defined and bfd_all_neigh_vars.state == "absent"%} - no bfd all-neighbors - {% else %} - {% set bfd_vars = bfd_all_neigh_vars %} - {% if bfd_vars.interval is defined and bfd_vars.min_rx is defined and bfd_vars.multiplier is defined %} - bfd all-neighbors interval {{ bfd_vars.interval }} min_rx {{ bfd_vars.min_rx }} multiplier {{ bfd_vars.multiplier }} role {{ bfd_vars.role }} - {% else %} - bfd all-neighbors - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_log_neigh_change_configs(log_neigh_change_vars) %} - {% if log_neigh_change_vars %} - log-neighbor-changes - {% else %} - no log-neighbor-changes - {% endif %} -{% endmacro %} - -{% macro render_maxpath_ebgp_configs(maxpath_ebgp_vars) %} - {% if maxpath_ebgp_vars %} - maximum-paths ebgp {{ maxpath_ebgp_vars }} - {% else %} - no maximum-paths ebgp - {% endif %} -{% endmacro %} - -{% macro render_maxpath_ibgp_configs(maxpath_ibgp_vars) %} - {% if maxpath_ibgp_vars %} - maximum-paths ibgp {{ maxpath_ibgp_vars }} - {% else %} - no maximum-paths ibgp - {% endif %} -{% endmacro %} - -{% macro render_graceful_restart_configs(graceful_restart_vars) %} - {% if graceful_restart_vars %} - graceful-restart role receiver-only - {% else %} - no graceful-restart role receiver-only - {% endif %} -{% endmacro %} - -{% macro render_always_compare_med_configs(always_compare_med_vars) %} - {% if always_compare_med_vars %} - always-compare-med - {% else %} - no always-compare-med - {% endif %} -{% endmacro %} - -{% macro render_default_loc_pref_configs(default_loc_pref_vars) %} - {% if default_loc_pref_vars %} - default local-preference {{ default_loc_pref_vars }} - {% else %} - no default local-preference - {% endif %} -{% endmacro %} - -{% macro render_fast_ext_fallover_configs(fast_ext_fallover_vars) %} - {% if fast_ext_fallover_vars %} - fast-external-fallover - {% else %} - no fast-external-fallover - {% endif %} -{% endmacro %} - -{% macro render_confederation_configs(confederation_vars) %} - {% if confederation_vars.identifier is defined %} - {% if confederation_vars.identifier %} - confederation identifier {{ confederation_vars.identifier }} - {% else %} - no confederation identifier 1 - {% endif %} - {% endif %} - {% if confederation_vars.peers is defined and confederation_vars.peers %} - {% if confederation_vars.peers_state is defined and confederation_vars.peers_state == "absent" %} - no confederation peers {{ confederation_vars.peers }} - {% else %} - confederation peers {{ confederation_vars.peers }} - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_route_reflector_client_configs(route_reflector_vars) %} - {% if route_reflector_vars.client_to_client is defined %} - {% if route_reflector_vars.client_to_client %} - client-to-client reflection - {% else %} - no client-to-client reflection - {% endif %} - {% endif %} -{% endmacro %} -{% macro render_route_reflector_cluster_configs(route_reflector_vars) %} - {% if route_reflector_vars.cluster_id is defined %} - {% if route_reflector_vars.cluster_id %} - cluster-id {{ route_reflector_vars.cluster_id }} - {% else %} - no cluster-id 1 - {% endif %} - {% endif %} -{% endmacro %} - -{% macro render_best_path_as_configs(best_path_vars) %} - {% if best_path_vars.as_path is defined and best_path_vars.as_path %} - {% if best_path_vars.as_path_state is defined and best_path_vars.as_path_state == "absent" %} - no bestpath as-path {{ best_path_vars.as_path }} - {% else %} - bestpath as-path {{ best_path_vars.as_path }} - {% endif %} - {% endif %} -{% endmacro %} -{% macro render_best_path_routerid_configs(best_path_vars) %} - {% if best_path_vars.ignore_router_id is defined %} - {% if best_path_vars.ignore_router_id %} - bestpath router-id ignore - {% else %} - no bestpath router-id ignore - {% endif %} - {% endif %} -{% endmacro %} -{% macro render_best_path_med_configs(best_path_vars,indent_space) %} - {% if best_path_vars.med is defined and best_path_vars.med %} - {% for med in best_path_vars.med %} - {% if med.attribute is defined and med.attribute %} - {% if med.state is defined and med.state == "absent" %} - {{ indent_space }}no bestpath med {{ med.attribute }} - {% else %} - {{ indent_space }}bestpath med {{ med.attribute }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endmacro %} - -{% macro render_ipv4_network_configs(ipv4_network_vars) %} - {% for net in ipv4_network_vars %} - {% if net.address is defined and net.address %} - {% if net.state is defined and net.state == "absent"%} - no network {{ net.address }} - {% else %} - network {{ net.address }} - {% endif %} - {% endif %} - {% endfor %} -{% endmacro %} - -{% macro render_ipv6_network_configs(ipv6_network_vars) %} - {% for net in ipv6_network_vars %} - {% if net.address is defined and net.address %} - {% if net.state is defined and net.state == "absent"%} - no network {{ net.address }} - {% else %} - network {{ net.address }} - {% endif %} - {% endif %} - {% endfor %} -{% endmacro %} - -{% macro render_redistribute_configs(redistribute_vars,indent_space) %} - {% for route in redistribute_vars %} - {% if route.route_type is defined and route.route_type %} - {% if route.address_type is defined and route.address_type %} - {{ indent_space }}address-family {{ route.address_type }} unicast - {% if route.state is defined and route.state == "absent" %} - {% if route.route_type == "imported_bgp" %} - {% set redist_str = "imported-bgp-routes vrf " ~ route.imported_bgp_vrf_name %} - {% elif route.route_type == "ospf" and route.ospf_id %} - {% set redist_str = route.route_type ~ " " ~ route.ospf_id %} - {% elif route.route_type == "l2vpn" %} - {% set redist_str = route.route_type ~ " evpn" %} - {% else %} - {% set redist_str = route.route_type %} - {% endif %} - {{ indent_space }}no redistribute {{ redist_str }} - {% else %} - {% if route.route_map_name is defined and route.route_map_name %} - {% if route.route_type == "imported_bgp" %} - {% set redist_str = "imported-bgp-routes vrf " ~ route.imported_bgp_vrf_name ~ " route-map " ~ route.route_map_name %} - {% elif route.route_type == "ospf" and route.ospf_id %} - {% set redist_str = route.route_type ~ " " ~ route.ospf_id ~ " route-map " ~ route.route_map_name %} - {% elif route.route_type == "l2vpn" %} - {% set redist_str = route.route_type ~ " evpn route-map " ~ route.route_map_name %} - {% else %} - {% set redist_str = route.route_type ~ " route-map " ~ route.route_map_name %} - {% endif %} - {{ indent_space }}redistribute {{ redist_str }} - {% else %} - {% if route.route_type == "imported_bgp" %} - {% set redist_str = "imported-bgp-routes vrf " ~ route.imported_bgp_vrf_name %} - {% elif route.route_type == "ospf" and route.ospf_id %} - {% set redist_str = route.route_type ~ " " ~ route.ospf_id %} - {% elif route.route_type == "l2vpn" %} - {% set redist_str = route.route_type ~ " evpn" %} - {% else %} - {% set redist_str = route.route_type %} - {% endif %} - {{ indent_space }}redistribute {{ redist_str }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} -{% endmacro %} - -{% if os10_bgp is defined and os10_bgp %} -{% set bgp_vars = os10_bgp %} -{% if bgp_vars.state is defined and bgp_vars.state == "absent" %} -no router bgp -{% else %} - {# Add Feature to the switch #} - {% if bgp_vars.asn is defined and bgp_vars.asn %} -router bgp {{ bgp_vars.asn }} - {% set indent_space = "" %} - {% if bgp_vars.router_id is defined %} - {% set routerid_vars = bgp_vars.router_id %} -{{ render_rtid_configs(routerid_vars) }} - {% endif %} - - {% if bgp_vars.as_notation is defined %} - {% set as_vars = bgp_vars.as_notation %} -{{ render_as_notation_configs(as_vars) }} - {% endif %} - - {% if bgp_vars.enforce_first_as is defined %} - {% set enforce_first_as_vars = bgp_vars.enforce_first_as %} -{{ render_enforce_first_as_configs(enforce_first_as_vars) }} - {% endif %} - - {% if bgp_vars.non_deterministic_med is defined %} - {% set non_deter_med_vars = bgp_vars.non_deterministic_med %} -{{ render_non_deterministic_med_configs(non_deter_med_vars) }} - {% endif %} - - {% if bgp_vars.outbound_optimization is defined %} - {% set out_opt_vars = bgp_vars.outbound_optimization %} -{{ render_outbound_optimization_configs(out_opt_vars) }} - {% endif %} - - {% if bgp_vars.bfd_all_neighbors is defined and bgp_vars.bfd_all_neighbors is defined %} - {% set bfd_all_neigh_vars = bgp_vars.bfd_all_neighbors %} -{{ render_bfd_all_neigh_configs(bfd_all_neigh_vars) }} - {% endif %} - - {% if bgp_vars.log_neighbor_changes is defined %} - {% set log_neigh_change_vars = bgp_vars.log_neighbor_changes %} -{{ render_log_neigh_change_configs(log_neigh_change_vars) }} - {% endif %} - - {% if bgp_vars.maxpath_ebgp is defined %} - {% set maxpath_ebgp_vars = bgp_vars.maxpath_ebgp %} -{{ render_maxpath_ebgp_configs(maxpath_ebgp_vars) }} - {% endif %} - - {% if bgp_vars.maxpath_ibgp is defined %} - {% set maxpath_ibgp_vars = bgp_vars.maxpath_ibgp %} -{{ render_maxpath_ibgp_configs(maxpath_ibgp_vars) }} - {% endif %} - - {% if bgp_vars.graceful_restart is defined %} - {% set graceful_restart_vars = bgp_vars.graceful_restart %} -{{ render_graceful_restart_configs(graceful_restart_vars) }} - {% endif %} - - {% if bgp_vars.always_compare_med is defined %} - {% set always_compare_med_vars = bgp_vars.always_compare_med %} -{{ render_always_compare_med_configs(always_compare_med_vars) }} - {% endif %} - - {% if bgp_vars.default_loc_pref is defined %} - {% set default_loc_pref_vars = bgp_vars.default_loc_pref %} -{{ render_default_loc_pref_configs(default_loc_pref_vars) }} - {% endif %} - - {% if bgp_vars.fast_ext_fallover is defined %} - {% set fast_ext_fallover_vars = bgp_vars.fast_ext_fallover %} -{{ render_fast_ext_fallover_configs(fast_ext_fallover_vars) }} - {% endif %} - - {% if bgp_vars.confederation is defined and bgp_vars.confederation %} - {% set confederation_vars = bgp_vars.confederation %} -{{ render_confederation_configs(confederation_vars) }} - {% endif %} - - {% if bgp_vars.route_reflector is defined and bgp_vars.route_reflector %} - {% set route_reflector_vars = bgp_vars.route_reflector %} -{{ render_route_reflector_client_configs(route_reflector_vars) }} -{{ render_route_reflector_cluster_configs(route_reflector_vars) }} - {% endif %} - - {% if bgp_vars.best_path is defined and bgp_vars.best_path %} - {% set best_path_vars = bgp_vars.best_path %} -{{ render_best_path_as_configs(best_path_vars) }} -{{ render_best_path_routerid_configs(best_path_vars) }} -{{ render_best_path_med_configs(best_path_vars,indent_space) }} - {% endif %} - - {% if bgp_vars.address_family_ipv4 is defined and bgp_vars.address_family_ipv4 %} - {% set af_vars = bgp_vars.address_family_ipv4 %} - address-family ipv4 unicast -{{ render_af_configs(af_vars) }} -{{ render_ibgp_redist_internal_configs(af_vars) }} -{{ render_dampening_configs(af_vars) }} -{{ render_default_metric_configs(af_vars) }} -{{ render_distance_bgp_configs(af_vars) }} - {% endif %} - - {% if bgp_vars.address_family_ipv6 is defined and bgp_vars.address_family_ipv6 %} - {% set af_vars = bgp_vars.address_family_ipv6 %} - address-family ipv6 unicast -{{ render_af_configs(af_vars) }} -{{ render_ibgp_redist_internal_configs(af_vars) }} -{{ render_dampening_configs(af_vars) }} -{{ render_default_metric_configs(af_vars) }} -{{ render_distance_bgp_configs(af_vars) }} - {% endif %} - - {% if bgp_vars.ipv4_network is defined and bgp_vars.ipv4_network %} - {% set ipv4_network_vars = bgp_vars.ipv4_network %} - address-family ipv4 unicast -{{ render_ipv4_network_configs(ipv4_network_vars) }} - {% endif %} - - {% if bgp_vars.ipv6_network is defined and bgp_vars.ipv6_network %} - {% set ipv6_network_vars = bgp_vars.ipv6_network %} - address-family ipv6 unicast -{{ render_ipv6_network_configs(ipv6_network_vars) }} - {% endif %} - - {% if bgp_vars.redistribute is defined and bgp_vars.redistribute %} - {% set redistribute_vars = bgp_vars.redistribute %} -{{ render_redistribute_configs(redistribute_vars,indent_space) }} - {% endif %} - - {% if bgp_vars.neighbor is defined and bgp_vars.neighbor %} - {% set neigh_vars = bgp_vars.neighbor %} -{{ render_neigh_configs(neigh_vars,indent_space) }} - {% endif %} - - {% if bgp_vars.vrfs is defined %} - {% set indent_space = " " %} - {% for vrf in bgp_vars.vrfs %} - {% if vrf.state is defined and vrf.state == "absent" %} - no vrf {{ vrf.name }} - {% else %} - vrf {{ vrf.name }} - - {% if vrf.router_id is defined %} - {% set routerid_vars = vrf.router_id %} - {{ render_rtid_configs(routerid_vars) }} - {% endif %} - - {% if vrf.as_notation is defined %} - {% set as_vars = vrf.as_notation %} - {{ render_as_notation_configs(as_vars) }} - {% endif %} - - {% if vrf.enforce_first_as is defined %} - {% set enforce_first_as_vars = vrf.enforce_first_as %} - {{ render_enforce_first_as_configs(enforce_first_as_vars) }} - {% endif %} - - {% if vrf.non_deterministic_med is defined %} - {% set non_deter_med_vars = vrf.non_deterministic_med %} - {{ render_non_deterministic_med_configs(non_deter_med_vars) }} - {% endif %} - - {% if vrf.outbound_optimization is defined %} - {% set out_opt_vars = vrf.outbound_optimization %} - {{ render_outbound_optimization_configs(out_opt_vars) }} - {% endif %} - - {% if vrf.bfd_all_neighbors is defined and vrf.bfd_all_neighbors is defined %} - {% set bfd_all_neigh_vars = vrf.bfd_all_neighbors %} - {{ render_bfd_all_neigh_configs(bfd_all_neigh_vars) }} - {% endif %} - - {% if vrf.log_neighbor_changes is defined %} - {% set log_neigh_change_vars = vrf.log_neighbor_changes %} - {{ render_log_neigh_change_configs(log_neigh_change_vars) }} - {% endif %} - - {% if vrf.maxpath_ebgp is defined %} - {% set maxpath_ebgp_vars = vrf.maxpath_ebgp %} - {{ render_maxpath_ebgp_configs(maxpath_ebgp_vars) }} - {% endif %} - - {% if vrf.maxpath_ibgp is defined %} - {% set maxpath_ibgp_vars = vrf.maxpath_ibgp %} - {{ render_maxpath_ibgp_configs(maxpath_ibgp_vars) }} - {% endif %} - - {% if vrf.graceful_restart is defined %} - {% set graceful_restart_vars = vrf.graceful_restart %} - {{ render_graceful_restart_configs(graceful_restart_vars) }} - {% endif %} - - {% if vrf.always_compare_med is defined %} - {% set always_compare_med_vars = vrf.always_compare_med %} - {{ render_always_compare_med_configs(always_compare_med_vars) }} - {% endif %} - - {% if vrf.default_loc_pref is defined %} - {% set default_loc_pref_vars = vrf.default_loc_pref %} - {{ render_default_loc_pref_configs(default_loc_pref_vars) }} - {% endif %} - - {% if vrf.fast_ext_fallover is defined %} - {% set fast_ext_fallover_vars = vrf.fast_ext_fallover %} - {{ render_fast_ext_fallover_configs(fast_ext_fallover_vars) }} - {% endif %} - - {% if vrf.route_reflector is defined and vrf.route_reflector %} - {% set route_reflector_vars = vrf.route_reflector %} - {{ render_route_reflector_client_configs(route_reflector_vars) }} - {{ render_route_reflector_cluster_configs(route_reflector_vars) }} - {% endif %} - - {% if vrf.best_path is defined and vrf.best_path %} - {% set best_path_vars = vrf.best_path %} - {{ render_best_path_as_configs(best_path_vars) }} - {{ render_best_path_routerid_configs(best_path_vars) }} -{{ render_best_path_med_configs(best_path_vars,indent_space) }} - {% endif %} - - {% if vrf.address_family_ipv4 is defined and vrf.address_family_ipv4 %} - {% set af_vars = vrf.address_family_ipv4 %} - address-family ipv4 unicast - {{ render_af_configs(af_vars) }} - {{ render_dampening_configs(af_vars) }} - {{ render_ibgp_redist_internal_configs(af_vars) }} - {{ render_default_metric_configs(af_vars) }} - {{ render_distance_bgp_configs(af_vars) }} - {% endif %} - - {% if vrf.address_family_ipv6 is defined and vrf.address_family_ipv6 %} - {% set af_vars = vrf.address_family_ipv6 %} - address-family ipv6 unicast - {{ render_af_configs(af_vars) }} - {{ render_dampening_configs(af_vars) }} - {{ render_ibgp_redist_internal_configs(af_vars) }} - {{ render_default_metric_configs(af_vars) }} - {{ render_distance_bgp_configs(af_vars) }} - {% endif %} - - {% if vrf.ipv4_network is defined and vrf.ipv4_network %} - {% set ipv4_network_vars = vrf.ipv4_network %} - address-family ipv4 unicast - {{ render_ipv4_network_configs(ipv4_network_vars) }} - {% endif %} - - {% if vrf.ipv6_network is defined and vrf.ipv6_network %} - {% set ipv6_network_vars = vrf.ipv6_network %} - address-family ipv6 unicast - {{ render_ipv6_network_configs(ipv6_network_vars) }} - {% endif %} - - {% if vrf.redistribute is defined and vrf.redistribute %} - {% set redistribute_vars = vrf.redistribute %} -{{ render_redistribute_configs(redistribute_vars,indent_space) }} - {% endif %} - - {% if vrf.neighbor is defined and vrf.neighbor %} - {% set neigh_vars = vrf.neighbor %} -{{ render_neigh_configs(neigh_vars,indent_space) }} - {% endif %} - - {% endif %} - {% endfor %} - {% endif %} - {% endif %} -{% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_bgp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_bgp/tests/main.os10.yaml deleted file mode 100644 index e556186d1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/main.os10.yaml +++ /dev/null @@ -1,384 +0,0 @@ ---- -# vars file for dellemc.os10.os10_bgp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_bgp: - asn: 12 - router_id: 90.1.1.4 - as_notation: asdot - enforce_first_as: false - non_deterministic_med: true - outbound_optimization: true - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - client_to_client: false - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - activate: false - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 6.6.6.6/32 - limit: 3 - subnet_state: present - - subnet: 23::/64 - limit: - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - src_loopback: 0 - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 30 - threshold: 50 - state: present - default_originate: - route_map: aa - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: absent - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: false - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs: - - name: "test1" - router_id: 70.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: false - enforce_first_as: false - non_deterministic_med: true - outbound_optimization: true - fast_ext_fallover: false - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - client_to_client: false - cluster_id: 2000 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - distance_bgp: - value: 3 4 6 - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - description: "template peer1" - adv_interval: 50 - adv_start: 100 - adv_start_state: present - ebgp_multihop: 20 - fall_over: present - conn_retry_timer: 20 - remove_pri_as: present - bfd: yes - address_family: - - type: ipv4 - state: present - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.10.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - src_loopback: 0 - address_family: - - type: ipv4 - activate: false - distribute_list: - in: dd - in_state: present - out: dd - out_state: present - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: false - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - default_originate: - route_map: aa - state: present - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ebgp_peergroup: ebgp_pg - ebgp_peergroup_state: present - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - activate: false - sender_loop_detect: false - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - default_originate: - route_map: dd - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - - route_type: imported_bgp - imported_bgp_vrf_name: test2 - route_map_name: dd - address_type: ipv4 - state: present - - route_type: ospf - ospf_id: 12 - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - as_notation: asdot - state: present - - name: "test2" - router_id: 80.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - as_notation: asdot - state: present - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_bgp/tests/test.yaml deleted file mode 100644 index fd5211f4d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_bgp diff --git a/ansible_collections/dellemc/os10/roles/os10_bgp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_bgp/vars/main.yml deleted file mode 100644 index de9999bd2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_bgp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_bgp diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/LICENSE b/ansible_collections/dellemc/os10/roles/os10_copy_config/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/README.md b/ansible_collections/dellemc/os10/roles/os10_copy_config/README.md deleted file mode 100644 index eadefecb0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/README.md +++ /dev/null @@ -1,131 +0,0 @@ -Copy-config role -================ - -This role is used to push the backup running configuration into a Dell EMC PowerSwitch platform running Dell EMC SmartFabric OS10, and merges the configuration in the template file with the running configuration of the device. - -The copy-config role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- No predefined variables are part of this role -- Use *host_vars* or *group_vars* as part of the template file -- Configuration file is host-specific -- Copy the host-specific configuration to the respective file under the template directory in *<host_name>.j2* format -- Variables and values are case-sensitive - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_copy_config* role to push the configuration file into the device. It creates a *hosts* file with the switch details and corresponding variables. It writes a simple playbook that only references the *os10_copy_config* role. By including the role, you automatically get access to all of the tasks to push configuration file. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - - # This variable shall be applied in the below jinja template for each host by defining here - os10_bgp - asn: 64801 - -**Sample roles/os10_copy_config/templates/leaf1.j2** - - ! Leaf1 BGP profile on Dell OS10 switch - snmp-server community public ro - hash-algorithm ecmp crc - ! - interface ethernet1/1/1:1 - no switchport - ip address 100.1.1.2/24 - ipv6 address 2001:100:1:1::2/64 - mtu 9216 - no shutdown - ! - interface ethernet1/1/9:1 - no switchport - ip address 100.2.1.2/24 - ipv6 address 2001:100:2:1::2/64 - mtu 9216 - no shutdown - ! - router bgp {{ os10_bgp.asn }} - bestpath as-path multipath-relax - bestpath med missing-as-worst - router-id 100.0.2.1 - ! - address-family ipv4 unicast - ! - address-family ipv6 unicast - ! - neighbor 100.1.1.1 - remote-as 64901 - no shutdown - ! - neighbor 100.2.1.1 - remote-as 64901 - no shutdown - ! - neighbor 2001:100:1:1::1 - remote-as 64901 - no shutdown - ! - address-family ipv4 unicast - no activate - exit - ! - address-family ipv6 unicast - activate - exit - ! - neighbor 2001:100:2:1::1 - remote-as 64901 - no shutdown - ! - address-family ipv4 unicast - no activate - exit - ! - address-family ipv6 unicast - activate - exit - ! - -**Simple playbook to setup to push configuration file into device — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_copy_config - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/defaults/main.yml deleted file mode 100644 index de0edc0c2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_copy_config diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/handlers/main.yml deleted file mode 100644 index e11a88057..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_copy_config diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/meta/main.yml deleted file mode 100644 index 166589390..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/meta/main.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: > - This role shall be used to push the backup running configuration into the device. - This role shall merge the configuration in the template file with the running configuration of the device - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/tasks/main.yml deleted file mode 100644 index dd62a63ff..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/tasks/main.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# tasks file for dellemc.os10.os10_copy_config - - name: "Merge the config file to running configuration for OS10" - os10_config: - src: "{{ hostname }}.j2" - when: (ansible_network_os is defined and ansible_network_os== "dellemc.os10.os10") -# notify: save config os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/templates/leaf1.j2 b/ansible_collections/dellemc/os10/roles/os10_copy_config/templates/leaf1.j2 deleted file mode 100644 index b02686f5e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/templates/leaf1.j2 +++ /dev/null @@ -1,3 +0,0 @@ -! Version 10.3.0E -! Last configuration change at March 09 21:47:35 2020 -! diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/inventory b/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/inventory deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/main.yml deleted file mode 100644 index ed97d539c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/main.yml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/test.yml deleted file mode 100644 index 6c7b80394..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - dellemc.os10.os10_copy_config diff --git a/ansible_collections/dellemc/os10/roles/os10_copy_config/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_copy_config/vars/main.yml deleted file mode 100644 index 9f021ecf6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_copy_config/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_copy_config diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/LICENSE b/ansible_collections/dellemc/os10/roles/os10_dns/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/README.md b/ansible_collections/dellemc/os10/roles/os10_dns/README.md deleted file mode 100644 index b65d7622a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/README.md +++ /dev/null @@ -1,125 +0,0 @@ -DNS role -======== - -This role facilitates the configuration of the domain name service (DNS). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The DNS role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_dns keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``name_server`` | list | Configures DNS (see ``name_server.*``) | os10 | -| ``name_server.ip`` | list | Configures the name server IP | os10 | -| ``name_server.vrf`` | list | Configures VRF for each IP | os10 | -| ``name_server.state`` | string: absent,present\* | Deletes the name server IP if set to absent | os10 | -| ``domain_list`` | list | Configures domain-list (see ``domain_list.*``) | os10 | -| ``domain_list.name`` | list | Configures the domain-list name | os10 | -| ``domain_list.vrf`` | list | Configures VRF for each domain-list name | os10 | -| ``domain_list.state`` | string: absent,present\* | Deletes the domain-list if set to absent | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_dns* role to completely set up the DNS server configuration. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. It writes a simple playbook that only references the *os10_dns* role. By including the role, you automatically get access to all of the tasks to configure DNS. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_dns: - domain_lookup: true - name_server: - - ip: - - 3.1.1.1 - - 3.1.1.2 - vrf: - - test - - test1 - - ip: - - 3.1.1.2 - vrf: - - test1 - state: absent - - ip: - - 2.2.2.2 - - ip: - - 3.3.2.2 - state: absent - domain_list: - - name: - - dname7 - - dname8 - vrf: - - test - - test1 - - name: - - dname7 - vrf: - - test - - test1 - state: absent - - name: - - dname3 - - dname4 - - name: - - dname5 - - dname6 - state: absent - -> **NOTE**: vrf should be present which can be configured using os10_vrf role - -**Simple playbook to setup DNS — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_dns - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_dns/defaults/main.yml deleted file mode 100644 index d826575e4..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_dns diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_dns/handlers/main.yml deleted file mode 100644 index a6cd5e697..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_dns diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_dns/meta/main.yml deleted file mode 100644 index 1f0baa16f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_dns role facilitates the configuration DNS attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_dns/tasks/main.yml deleted file mode 100644 index 417ebacf1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# tasks file for Dellos10 - - - name: "Generating DNS configuration for os10" - template: - src: os10_dns.j2 - dest: "{{ build_dir }}/dns10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning DNS configuration for os10" - os10_config: - src: os10_dns.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/templates/os10_dns.j2 b/ansible_collections/dellemc/os10/roles/os10_dns/templates/os10_dns.j2 deleted file mode 100644 index f381b3d0f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/templates/os10_dns.j2 +++ /dev/null @@ -1,101 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{#################################### -Purpose: -Configure DNS commands for OS10 devices -os10_dns: -os10_dns: - domain_lookup: true - name_server: - - ip: - - 3.1.1.1 - - 3.1.1.2 - vrf: - - test - - test1 - - ip: - - 3.1.1.2 - vrf: - - test1 - state: absent - - ip: - - 2.2.2.2 - - ip: - - 3.3.2.2 - state: absent - domain_list: - - name: - - dname7 - - dname8 - vrf: - - test - - test1 - - name: - - dname7 - vrf: - - test - - test1 - state: absent - - name: - - dname3 - - dname4 - - name: - - dname5 - - dname6 - state: absent -#####################################} -{% if (os10_dns is defined and os10_dns) %} - {% if (os10_dns.name_server is defined and os10_dns.name_server) %} - {% for name_server in os10_dns.name_server %} - {% set absent = "" %} - {% if name_server.state is defined and name_server.state == "absent" %} - {% set absent = "no " %} - {% endif %} - - {% set vrf_name_list = name_server.vrf %} - {% if (vrf_name_list is defined and vrf_name_list ) %} - {% for vrf_name in vrf_name_list %} - {% set ip_list = name_server.ip %} - {% if (ip_list is defined and ip_list ) %} - {% for ip_val in ip_list %} - {{ absent }}ip name-server vrf {{ vrf_name }} {{ ip_val }} - {% endfor %} - {% elif name_server.state is defined and name_server.state == "absent"%} - {{ absent }}ip name-server vrf {{ vrf_name }} - {% endif %} - {% endfor %} - {% else %} - {% set ip_list = name_server.ip %} - {% if (ip_list is defined and ip_list ) %} - {{ absent }}ip name-server {{ ip_list|join(' ') }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if (os10_dns.domain_list is defined and os10_dns.domain_list) %} - {% for domain in os10_dns.domain_list %} - {% set absent = "" %} - {% if domain.state is defined and domain.state == "absent" %} - {% set absent = "no " %} - {% endif %} - - {% set vrf_name_list = domain.vrf %} - {% if (vrf_name_list is defined and vrf_name_list ) %} - {% for vrf_name in vrf_name_list %} - {% set name_list = domain.name %} - {% if (name_list is defined and name_list ) %} - {% for name_val in name_list %} - {{ absent }}ip domain-list vrf {{ vrf_name }} {{ name_val }} - {% endfor %} - {% elif domain.state is defined and domain.state == "absent"%} - {{ absent }}ip domain-list vrf {{ vrf_name }} - {% endif %} - {% endfor %} - {% else %} - {% set name_list = domain.name %} - {% if (name_list is defined and name_list ) %} - {{ absent }}ip domain-list {{ name_list|join(' ') }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_dns/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_dns/tests/main.yaml deleted file mode 100644 index 6305318dc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/tests/main.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -# vars file for dellemc.os10.os10_dns, -# below gives a sample configuration -# Sample variables for OS10 device -os10_dns: - domain_lookup: true - name_server: - - ip: - - 3.1.1.1 - - 3.1.1.2 - vrf: - - test - - test1 - - ip: - - 3.1.1.2 - vrf: - - test1 - state: absent - - ip: - - 2.2.2.2 - - ip: - - 3.3.2.2 - state: absent - domain_list: - - name: - - dname7 - - dname8 - vrf: - - test - - test1 - - name: - - dname7 - vrf: - - test - - test1 - state: absent - - name: - - dname3 - - dname4 - - name: - - dname5 - - dname6 - state: absent diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_dns/tests/test.yaml deleted file mode 100644 index ab6aaca5a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_dns diff --git a/ansible_collections/dellemc/os10/roles/os10_dns/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_dns/vars/main.yml deleted file mode 100644 index 199599560..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_dns/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_dns diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_ecmp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/README.md b/ansible_collections/dellemc/os10/roles/os10_ecmp/README.md deleted file mode 100644 index 6932fdf6f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/README.md +++ /dev/null @@ -1,78 +0,0 @@ -ECMP role -========= - -This role facilitates the configuration of equal cost multi-path (ECMP), and it supports the configuration of ECMP for IPv4. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ECMP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_ecmp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``ecmp_group_max_paths`` | integer | Configures the number of maximum paths per ECMP group | os10 | -| ``trigger_threshold`` | integer | Configures the number of link bundle utilization trigger threshold | os10 | - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_ecmp* role to configure ECMP for IPv4. The example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The example writes a simple playbook that only references the *os10_ecmp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_ecmp: - ecmp_group_max_paths: 3 - trigger_threshold: 50 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_ecmp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_ecmp/defaults/main.yml deleted file mode 100644 index 406d1cfc4..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_ecmp diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_ecmp/handlers/main.yml deleted file mode 100644 index 24ccf4de3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_ecmp diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_ecmp/meta/main.yml deleted file mode 100644 index f6448d4c5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_ecmp role facilitates the configuration of ECMP group attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_ecmp/tasks/main.yml deleted file mode 100644 index 012d41195..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# tasks file for os10 - - - name: "Generating ECMP configuration for os10" - template: - src: os10_ecmp.j2 - dest: "{{ build_dir }}/ecmp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning ECMP configuration for os10" - os10_config: - src: os10_ecmp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/templates/os10_ecmp.j2 b/ansible_collections/dellemc/os10/roles/os10_ecmp/templates/os10_ecmp.j2 deleted file mode 100644 index 6a0b04dd0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/templates/os10_ecmp.j2 +++ /dev/null @@ -1,25 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{#################################### -Purpose: -Configure ECMP commands for OS10 devices -os10_ecmp: - ecmp_group_max_paths: 3 - trigger_threshold: 50 -#####################################} -{% if os10_ecmp is defined and os10_ecmp %} - {% if os10_ecmp.ecmp_group_max_paths is defined %} - {% if os10_ecmp.ecmp_group_max_paths %} -ip ecmp-group maximum-paths {{ os10_ecmp.ecmp_group_max_paths }} - {% else %} -no ip ecmp-group maximum-paths - {% endif %} - {% endif %} - {% if os10_ecmp.trigger_threshold is defined %} - {% if os10_ecmp.trigger_threshold %} -link-bundle-utilization trigger-threshold {{ os10_ecmp.trigger_threshold }} - {% else %} -no link-bundle-utilization trigger-threshold - {% endif %} - {% endif %} - -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/main.os10.yaml deleted file mode 100644 index ff00dfd4c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/main.os10.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# vars file for dellemc.os10.os10_ecmp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_ecmp: - ecmp_group_max_paths: 3 - trigger_threshold: 50 diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/test.yaml deleted file mode 100644 index 2df95ee65..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_ecmp diff --git a/ansible_collections/dellemc/os10/roles/os10_ecmp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_ecmp/vars/main.yml deleted file mode 100644 index cfd6a141c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ecmp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_ecmp diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/LICENSE b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/README.md b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/README.md deleted file mode 100644 index 0ff99bf2f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/README.md +++ /dev/null @@ -1,119 +0,0 @@ -os10_fabric_summary -===================================== -This role is used to get show system information of all devices in the fabric. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Fabric summary role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``os10_cli_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the default value is used | -| ``os10_cli_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Dependencies ------------- - -- *xmltodict* library should be installed to get show command output in dict format from XML -- To install the package use the *pip install xmltodict* command - -Example playbook ----------------- - -This example uses the *os10_fabric_summary* role to completely get the show attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the ansible_network_os variable with the corresponding Dell EMC OS10 name. - -The *os10_fabric_summary* role has a simple playbook that only references the *os10_fabric_summary* role. - -**Sample hosts file** - - site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine1 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine2 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - [spine] - site1-spine1 - site1-spine2 - site2-spine1 - site2-spine2 - [LeafAndSpineSwitch:children] - spine - -**Sample host_vars/site1-spine1** - - - cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - os10_cli_user: xxxx - os10_cli_pass: xxxx - ansible_network_os: dellemc.os10.os10 - -**Simple playbook to setup fabric summary — provision.yaml** - - --- - - name: show system summary command - hosts: localhost - gather_facts: False - connection: local - roles: - - os10_fabric_summary - -**Run** - - ansible-playbook -i hosts provision.yaml - -**Samaple Output** - - "results": [ - { - "device type": "S6010-ON", - "host": "10.11.180.21", - "hostname": "host3", - "inv_name": "site1-spine1", - "node-mac": "e4:f0:04:9b:e5:dc", - "service-tag": "D33FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.22", - "hostname": "host22", - "inv_name": "site1-spine2", - "node-mac": "e4:f0:04:9b:eb:dc", - "service-tag": "J33FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.24", - "hostname": "site2-spine1", - "inv_name": "site2-spine1", - "node-mac": "e4:f0:04:9b:ee:dc", - "service-tag": "343FXC2", - "software-version": "10.4.9999EX" - }, - { - "device type": "S6010-ON", - "host": "10.11.180.23", - "hostname": "site2-spine2", - "inv_name": "site2-spine2", - "node-mac": "e4:f0:04:9b:f1:dc", - "service-tag": "543FXC2", - "software-version": "10.4.9999EX" - } - ] - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/meta/main.yml deleted file mode 100644 index 428d79f6d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_fabric_summary - author: Dell EMC Networking Engineering - description: This role provides the system network information of all the switches in the fabric Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tasks/main.yml deleted file mode 100644 index 784d66428..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tasks/main.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: "Get Dell EMC OS10 Show system summary" - os10_command: - commands: ['show system | display-xml'] - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_system -- name: "set fact to form database" - set_fact: - output: "{{ output|default([])+ [{'inv_name': item.item, 'host': item.invocation.module_args.provider.host, 'stdout_show_system': item.stdout}] }}" - loop: "{{ show_system.results }}" -- name: "debug the output of system summary DB" - debug: var=output -- name: "show system network call to lib " - show_system_network_summary: - cli_responses: "{{ output }}" - output_type: "{{ output_method if output_method is defined else 'json' }}" - register: show_system_network_summary -- name: "debug the output of system summary DB" - debug: var=show_system_network_summary diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine1 b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine1 deleted file mode 100644 index 36a99cdb1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine1 +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 - diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine2 b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine2 deleted file mode 100644 index 36a99cdb1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site1-spine2 +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 - diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine1 b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine1 deleted file mode 100644 index 36a99cdb1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine1 +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 - diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine2 b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine2 deleted file mode 100644 index 36a99cdb1..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/host_vars/site2-spine2 +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 - diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/inventory.yaml deleted file mode 100644 index ff511df50..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/inventory.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site2-spine1 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site2-spine2 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - -[spine] -site1-spine1 -site1-spine2 -site2-spine1 -site2-spine2 - -[LeafAndSpineSwitch:children] -spine diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/main.yaml deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/main.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/test.yml deleted file mode 100644 index e865c7903..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_fabric_summary/tests/test.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: setup for os10 fabric summary - hosts: localhost - gather_facts: False - connection: local - roles: - - dellemc.os10.os10_fabric_summary diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/LICENSE b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/README.md b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/README.md deleted file mode 100644 index dd98aa956..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/README.md +++ /dev/null @@ -1,152 +0,0 @@ -ACL flow-based monitor role -=========================== - -This role facilitates configuring ACL flow-based monitoring attributes. Flow-based mirroring is a mirroring session in which traffic matches specified policies that are mirrored to a destination port. Port-based mirroring maintains a database that contains all monitoring sessions (including port monitor sessions). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The ACL flow-based role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take the `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_flow_monitor` (dictionary) with session ID key (in *session <ID>* format; 1 to 18) -- Variables and values are case-sensitive - -**session ID keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``session_type`` | string: local_*_,rspan-source,erspan-source | Configures the monitoring session type | os10 | -| ``description`` | string | Configures the monitor session description | os10 | -| ``port_match`` | list | Displays a list of interfaces with location source and destination | os10 | -| ``port_match.interface_name`` | string | Configures the interface | os10 | -| ``port_match.location`` | string: source,destination | Configures the source/destination of an interface | os10 | -| ``port_match.state`` | string: absent,present\* | Deletes the interface if set to absent | os10 | -| ``flow_based`` | boolean | Enables flow-based monitoring | os10 | -| ``shutdown`` | string: up,down\* | Enable/disables the monitoring session | os10 | -| ``state`` | string: absent,present\* | Deletes the monitoring session corresponding to the session ID if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_flow_monitor* role to configure session monitor configuration. It creates a *hosts* file with the switch details and corresponding variables. The hosts file defines the `anisble_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in the *build_dir* path. By default, the variable is set to false. -It writes a simple playbook that only references the *os10_flow_monitor* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: ethernet 1/1/4 - location: source - state: present - - interface_name: ethernet 1/1/3 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 2: - session_type: local - description: "Discription of session goes here" - port_match: - - interface_name: ethernet 1/1/6 - location: source - state: present - - interface_name: ethernet 1/1/7 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 3: - state: absent - os10_acl: - - name: testflow - type: ipv4 - description: testflow description - extended: true - entries: - - number: 5 - permit: true - protocol: icmp - source: any - destination: any - other_options: capture session 1 count - state: present - - number: 10 - permit: true - protocol: ip - source: 102.1.1.0/24 - destination: any - other_option: capture session 1 count byte - state: present - - number: 15 - permit: false - protocol: udp - source: any - destination: any - other_options: capture session 2 count byte - state: present - - number: 20 - permit: false - protocol: tcp - source: any - destination: any - other_options: capture session 2 count byte - state: present - stage_ingress: - - name: ethernet 1/1/1 - state: present - -> **NOTE**: Destination port should not be an L2/L3 port which can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_flow_monitor - - dellemc.os10.os10_acl - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/defaults/main.yml deleted file mode 100644 index 3cc17642e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_flow_monitor diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/handlers/main.yml deleted file mode 100644 index 91b1038ec..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_flow_moitor diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/meta/main.yml deleted file mode 100644 index c81fad541..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_flow_monitor role facilitates the configuration of ACL flow based monitor attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - os10 - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tasks/main.yml deleted file mode 100644 index b5bf0bc3c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for Dellos10 - - name: "Generating Flow monitor configuration for os10" - template: - src: os10_flow_monitor.j2 - dest: "{{ build_dir }}/flow_monitor10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning Flow monitor configuration for os10" - os10_config: - src: os10_flow_monitor.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/templates/os10_flow_monitor.j2 b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/templates/os10_flow_monitor.j2 deleted file mode 100644 index 535c61809..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/templates/os10_flow_monitor.j2 +++ /dev/null @@ -1,86 +0,0 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -{########################################## -Purpose: -Configure Flow monitor commands for os10 Devices -os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: ethernet 1/1/4 - location: source - state: present - - interface_name: ethernet 1/1/3 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 2: - session_type: local - description: "Discription of session goes here" - port_match: - - interface_name: ethernet 1/1/6 - location: source - state: present - - interface_name: ethernet 1/1/7 - location: destination - state: present - flow_based: false - shutdown: up - state: present - session 3: - state: absent -#########################################} -{% if os10_flow_monitor is defined and os10_flow_monitor %} -{% for key in os10_flow_monitor.keys() %} -{% set session_id = key.split(" ") %} -{% set session_vars = os10_flow_monitor[key] %} -{% set session_type = "" %} - -{% if session_vars.session_type is defined and session_vars.session_type != "local" %} -{% set session_type = "type " + session_vars.session_type %} -{% endif %} - - {% if session_vars.state is defined and session_vars.state == "absent" %} -no monitor session {{ session_id[1] }} - {% else %} -monitor session {{ session_id[1] }} {{ session_type }} - - {% if session_vars.description is defined and session_vars.description %} - description "{{ session_vars.description }}" - {% else %} - no description - {% endif %} - - {% if session_vars.port_match is defined and session_vars.port_match %} - {% for match_vars in session_vars.port_match %} - {% set negate = "" %} - {% if match_vars["state"] is defined and match_vars["state"] == "absent" %} - {% set negate = "no " %} - {% endif %} - {% set location = "source" %} - {% if match_vars["location"] is defined and match_vars["location"] == "destination" %} - {% set location = "destination" %} - {% endif %} - {{ negate }}{{ location }} interface {{ match_vars["interface_name"] }} - {% endfor %} - {% endif %} - - {% if session_vars.shutdown is defined and session_vars.shutdown == "up" %} - no shut - {% else %} - shut - {% endif %} - -{% if session_vars.flow_based is defined %} - {% if session_vars.flow_based %} - flow-based enable - {% else %} - no flow-based enable - {% endif %} -{% endif %} - -{% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/main.yaml deleted file mode 100644 index 750932c85..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/main.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -# vars file for dellemc.os10.os10_flow_monitor, -# below gives a example configuration -# Sample variables for OS10 device -os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: ethernet 1/1/4 - location: source - state: present - - interface_name: ethernet 1/1/3 - location: destination - state: present - flow_based: true - shutdown: up - state: present - session 2: - session_type: local - description: "Discription of session goes here" - port_match: - - interface_name: ethernet 1/1/6 - location: source - state: present - - interface_name: ethernet 1/1/7 - location: destination - state: present - flow_based: false - shutdown: up - state: present - session 3: - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/test.yaml deleted file mode 100644 index 44a56b7ec..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_flow_monitor diff --git a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_flow_monitor/vars/main.yml deleted file mode 100644 index 0943cd2c0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_flow_monitor/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_flow_monitor diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/LICENSE b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/README.md b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/README.md deleted file mode 100644 index 9ae8f731c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/README.md +++ /dev/null @@ -1,73 +0,0 @@ -Image upgrade role -=================================== - -This role facilitates upgrades or installation of a software image. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Image upgrade role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_image_upgrade keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``operation_type`` | string: cancel,install | Displays the type of image operation | os10 | -| ``software_image_url`` | string | Configures the URL path to the image file | os10 | -| ``software_version`` | string | Displays the software version of the image file | os10 | -| ``number_of_retries`` | int | Configures the numbe of retries to check the status of image install process | os10 | - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_image_upgrade* role to upgrade/install software image. It creates a *hosts* file with the switch details, corresponding *host_vars* file, and a simple playbook that references the *os10_image_upgrade* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - os10_image_upgrade: - operation_type: install - software_image_url: tftp://10.16.148.8/PKGS_OS10-Enterprise-10.2.9999E.5790-installer-x86_64.bin - software_version: 10.2.9999E - number_of_retries: 50 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_image_upgrade - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/defaults/main.yml deleted file mode 100644 index 809f7a436..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_image_upgrade diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/handlers/main.yml deleted file mode 100644 index 7bfc6bc73..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_image_upgrade diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/meta/main.yml deleted file mode 100644 index b35a5382e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_image_upgrade role facilitates install/upgrade software image for OS10 switches - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tasks/main.yml deleted file mode 100644 index ee2d557d0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tasks/main.yml +++ /dev/null @@ -1,37 +0,0 @@ ---- - - block: - - name: "Process image {{ os10_image_upgrade.operation_type }} operation" - vars: - command_postfix: "{{ os10_image_upgrade.operation_type }} {{ '' if os10_image_upgrade.operation_type == 'cancel' else os10_image_upgrade.software_image_url }}" - os10_command: - commands: - - command: "image {{ command_postfix }}" - prompt: "yes/no]:" - answer: "yes" - register: result - - name: "Get image {{ os10_image_upgrade.operation_type }} operation status" - os10_command: - commands: "show image status" - register: image_status - - name: "Validate image status" - fail: msg="Image {{ os10_image_upgrade.operation_type }} operation Failed" - when: image_status.stdout.0.find("Failed") > 1 - - name: "Wait for image {{ os10_image_upgrade.operation_type }} operation" - os10_command: - commands: "show image status" - register: result - until: result.stdout.0.find("In progress") < 1 - retries: "{{ os10_image_upgrade.number_of_retries }}" - delay: 15 - - name: "Wait for image {{ os10_image_upgrade.operation_type }} operation" - os10_command: - commands: "show image status" - register: image_status - - name: "Validate software version" - fail: msg="Image {{ os10_image_upgrade.operation_type }} operation Failed" - when: image_status.stdout.0.find("Failed") > 1 - - name: "Image {{ os10_image_upgrade.operation_type }} status" - debug: msg="Image {{ os10_image_upgrade.operation_type }} successful" - when: image_status.stdout.0.find("Failed") <= -1 - when: - - os10_image_upgrade.operation_type == "install" diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/inventory b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/inventory deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/main.yml deleted file mode 100644 index 66507dc75..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/main.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# vars file for dellemc.os10.os10_image_upgrade, -# below gives a example configuration - -os10_image_upgrade: - operation_type: install - software_image_url: http://10.16.127.7//tftpboot/NGOS/FMB-ar-rel_10.5.1-release/AmazonInstallers/last_good/PKGS_OS10-Enterprise-10.5.1.0.124stretch-installer-x86_64.bin - software_version: 10.5.1.0 - number_of_retries: 50 diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/test.yml deleted file mode 100644 index a2ed11615..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - dellemc.os10.os10_image_upgrade diff --git a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_image_upgrade/vars/main.yml deleted file mode 100644 index a9fa11547..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_image_upgrade/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_image_upgrade, below gives a example configuration diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/LICENSE b/ansible_collections/dellemc/os10/roles/os10_interface/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/README.md b/ansible_collections/dellemc/os10/roles/os10_interface/README.md deleted file mode 100644 index bbb4f8ee6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/README.md +++ /dev/null @@ -1,178 +0,0 @@ -Interface role -============== - -This role facilitates the configuration of interface attributes. It supports the configuration of admin state, description, MTU, IP address, IP helper, suppress_ra, and port mode. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Interface role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_interface` (dictionary) holds a dictionary with the interface name; interface name can correspond to any of the valid OS interfaces with the unique interface identifier name -- For physical interfaces, the interface name must be in *<interfacename> <tuple>* format; for logical interfaces, the interface must be in *<logical_interfacename> <id>* format; physical interface name can be *ethernet 1/1/32* -- For interface ranges, the interface name must be in *range <interface_type> <node/slot/port[:subport]-node/slot/port[:subport]>* format; *range ethernet 1/1/1-1/1/4* -- Logical interface names can be *vlan 1* or *port-channel 1* -- Variables and values are case-sensitive - -> **NOTE**: Only define supported variables for the interface type, and do not define the *switchport* variable for a logical interface. - -**interface name keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``desc`` | string | Configures a single line interface description | os10 | -| ``portmode`` | string | Configures port-mode according to the device type | os10 | -| ``switchport`` | boolean: true,false\* | Configures an interface in L2 mode | os10 | -| ``admin`` | string: up,down\* | Configures the administrative state for the interface; configuring the value as administratively "up" enables the interface; configuring the value as administratively "down" disables the interface | os10 | -| ``mtu`` | integer | Configures the MTU size for L2 and L3 interfaces (1280 to 65535) | os10 | -| ``fanout`` | string:dual, single; string:10g-4x, 40g-1x, 25g-4x, 100g-1x, 50g-2x (os10) | Configures fanout to the appropriate value | os10 | -| ``suppress_ra`` | string; present,absent | Configures IPv6 router advertisements if set to present | os10 | -| ``ip_type_dynamic`` | boolean: true,false | Configures IP address DHCP if set to true (*ip_and_mask* is ignored if set to true) | os10 | -| ``ipv6_type_dynamic`` | boolean: true,false | Configures an IPv6 address for DHCP if set to true (*ipv6_and_mask* is ignored if set to true) | os10 | -| ``ipv6_autoconfig`` | boolean: true,false | Configures stateless configuration of IPv6 addresses if set to true (*ipv6_and_mask* is ignored if set to true) | os10 | -| ``vrf`` | string | Configures the specified VRF to be associated to the interface | os10 | -| ``min_ra`` | string | Configures RA minimum interval time period | os10 | -| ``max_ra`` | string | Configures RA maximum interval time period | os10 | -| ``ip_and_mask`` | string | Configures the specified IP address to the interface | os10 | -| ``ipv6_and_mask`` | string | Configures a specified IPv6 address to the interface | os10 | -| ``virtual_gateway_ip`` | string | Configures an anycast gateway IP address for a VxLAN virtual network as well as VLAN interfaces| os10 | -| ``virtual_gateway_ipv6`` | string | Configures an anycast gateway IPv6 address for VLAN interfaces| os10 | -| ``state_ipv6`` | string: absent,present\* | Deletes the IPV6 address if set to absent | os10 | -| ``ip_helper`` | list | Configures DHCP server address objects (see ``ip_helper.*``) | os10 | -| ``ip_helper.ip`` | string (required) | Configures the IPv4 address of the DHCP server (A.B.C.D format) | os10 | -| ``ip_helper.state`` | string: absent,present\* | Deletes the IP helper address if set to absent | os10 | -| ``flowcontrol`` | dictionary | Configures the flowcontrol attribute (see ``flowcontrol.*``) | os10 | -| ``flowcontrol.mode`` | string: receive,transmit | Configures the flowcontrol mode | os10 | -| ``flowcontrol.enable`` | string: on,off | Configures the flowcontrol mode on | os10 | -| ``flowcontrol.state`` | string: absent,present\* | Deletes the flowcontrol if set to absent | os10 | -| ``ipv6_bgp_unnum`` | dictionary | Configures the IPv6 BGP unnum attributes (see ``ipv6_bgp_unnum.*``) below | os10 | -| ``ipv6_bgp_unnum.state`` | string: absent,present\* | Disables auto discovery of BGP unnumbered peer if set to absent | os10 | -| ``ipv6_bgp_unnum.peergroup_type`` | string: ebgp,ibgp | Specifies the type of template to inherit from | os10 | - -| ``stp_rpvst_default_behaviour`` | boolean: false,true | Configures RPVST default behaviour of BPDU's when set to True which is default | os10 | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_interface* role to set up description, MTU, admin status, port mode, and switchport details for an interface. The example creates a *hosts* file with the switch details and orresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, this variable is set to false. The example writes a simple playbook that only references the *os10_interface* role. - -**Sample hosts file** - - leaf3 ansible_host= <ip_address> - -**Sample host_vars/leaf3** - - hostname: "leaf3" - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_interface: - ethernet 1/1/32: - desc: "Connected to Core 2" - mtu: 2500 - stp_rpvst_default_behaviour: False - portmode: - admin: up - switchport: False - ip_and_mask: - ip_type_dynamic: True - ipv6_type_dynamic: True - ethernet 1/1/12: - desc: "ipv6 auto config" - switchport: False - mtu: 2500 - admin: up - ipv6_autoconfig: True - ethernet 1/1/14: - fanout: 10g-4x - ethernet 1/1/13: - desc: "set ipv6 address" - switchport: False - admin: up - ipv6_and_mask: 2001:4898:5809:faa2::10/126 - state_ipv6: present - ethernet 1/1/1: - desc: "Connected to Leaf1" - portmode: "trunk" - switchport: True - suppress_ra: present - admin: up - stp_rpvst_default_behaviour: False - ethernet 1/1/3: - desc: site2-spine2 - ip_and_mask: 10.9.0.4/31 - mtu: 9216 - switchport: False - admin: up - flowcontrol: - mode: "receive" - enable: "on" - state: "present" - - vlan 100: - ip_and_mask: - ipv6_and_mask: 2001:4898:5808:ffaf::1/64 - state_ipv6: present - ip_helper: - - ip: 10.0.0.33 - state: present - admin: up - range ethernet 1/1/1-1/1/32: - mtu: 2500 - port-channel 10: - admin: up - switchport: False - suppress_ra: - stp_rpvst_default_behaviour: True - ipv6_bgp_unnum: - state: present - peergroup_type: ebgp - vlan 10: - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - admin: up - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf3 - roles: - - dellemc.os10.os10_interface - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_interface/defaults/main.yml deleted file mode 100644 index 6f2146327..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_interface diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_interface/handlers/main.yml deleted file mode 100644 index 72e658748..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_interface diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_interface/meta/main.yml deleted file mode 100644 index 8f0bfd3ba..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_interface role facilitates the configuration of interface attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_interface/tasks/main.yml deleted file mode 100644 index c8656c510..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating interface configuration for os10" - template: - src: os10_interface.j2 - dest: "{{ build_dir }}/intf10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning interface configuration for os10" - os10_config: - src: os10_interface.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/templates/os10_interface.j2 b/ansible_collections/dellemc/os10/roles/os10_interface/templates/os10_interface.j2 deleted file mode 100644 index c4dc61b70..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/templates/os10_interface.j2 +++ /dev/null @@ -1,258 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{##################################################### -Purpose: -Configure interface commands for os10 Devices. -os10_interface: - ethernet 1/1/31: - desc: "OS10 intf" - portmode: trunk - mtu: 2000 - switchport: False - admin: up - ip_type_dynamic: True - ip_and_mask: "192.168.11.1/24" - virtual_gateway_ip: "172.17.17.1" - suppress_ra: present - ipv6_autoconfig: True - ipv6_and_mask: 2001:4898:5808:ffa2::5/126 - state_ipv6: present - ip_helper: - - ip: 10.0.0.36 - state: present - flowcontrol: - mode: "receive" - enable: "on" - state: "present" - ethernet 1/1/3: - fanout: 10g-4x - range ethernet 1/1/1-1/1/4: - switchport: True - admin: down - stp_rpvst_default_behaviour: False - virtual-network 100: - vrf: "test" - ip_and_mask: "15.1.1.1/24" - virtual_gateway_ip: "15.1.1.254" - admin: up - port-channel 10: - admin: up - switchport: False - suppress_ra: - ipv6_bgp_unnum: - state: present - peergroup_type: ebgp - port-channel 20: - admin: up - stp_rpvst_default_behaviour: True - vlan 10: - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - admin: up - -#####################################################} -{% if os10_interface is defined and os10_interface %} -{% for key in os10_interface.keys() %} - {% set intf_vars = os10_interface[key] %} - {% set port = key.split(" ") %} - {% set interface_key = "" %} - {% if intf_vars.fanout is defined %} - {% if intf_vars.fanout %} -interface breakout {{ port[1] }} map {{ intf_vars.fanout }} - {% else %} -no interface breakout {{ port[1] }} - {% endif %} - {% endif %} -{% endfor %} -{% for key in os10_interface.keys() %} - {% set intf_vars = os10_interface[key] %} - {% set port = key.split(" ") %} - {% set interface_key = "" %} - {% if (intf_vars.fanout is defined and not intf_vars.fanout) or (intf_vars.fanout is not defined) %} - {% if key.startswith('range')%} - {% set interface_key = port[0] + " " + port[1] + port[2] %} - {% else %} - {% set interface_key = port[0] + port[1] %} - {% endif %} -interface {{ interface_key }} - {% if intf_vars.desc is defined %} - {% if intf_vars.desc %} - {% if intf_vars.desc|wordcount > 1 %} - description "{{ intf_vars.desc }}" - {% else %} - description {{ intf_vars.desc }} - {% endif %} - {% else %} - no description - {% endif %} - {% endif %} - - - - {% if intf_vars.switchport is defined %} - {% if intf_vars.switchport %} - {% if intf_vars.portmode is defined and intf_vars.portmode %} - switchport mode {{ intf_vars.portmode }} - {% endif %} - {% else %} - no switchport - {% endif %} - {% else %} - {% if intf_vars.portmode is defined %} - {% if intf_vars.portmode %} - switchport mode {{ intf_vars.portmode }} - {% else %} - no switchport - {% endif %} - {% endif %} - {% endif %} - - {% if intf_vars.mtu is defined %} - {% if intf_vars.mtu %} - mtu {{ intf_vars.mtu }} - {% else %} - no mtu - {% endif %} - {% endif %} - - {% if intf_vars.ip_type_dynamic is defined %} - {% if intf_vars.ip_type_dynamic %} - ip address dhcp - {% else %} - no ip address - {% endif %} - {% else %} - {% if intf_vars.vrf is defined %} - {% if intf_vars.vrf %} - ip vrf forwarding {{ intf_vars.vrf }} - {% else %} - no ip address vrf - {% endif %} - {% endif %} - {% if intf_vars.ip_and_mask is defined %} - {% if intf_vars.ip_and_mask %} - ip address {{ intf_vars.ip_and_mask }} - {% else %} - no ip address - {% endif %} - {% endif %} - {% endif %} - - {% if intf_vars.virtual_gateway_ip is defined %} - {% if intf_vars.virtual_gateway_ip %} - ip virtual-router address {{ intf_vars.virtual_gateway_ip }} - {% else %} - no ip virtual-router address - {% endif %} - {% endif %} - - {% if intf_vars.virtual_gateway_ipv6 is defined %} - {% if intf_vars.virtual_gateway_ipv6 %} - ipv6 virtual-router address {{ intf_vars.virtual_gateway_ipv6 }} - {% else %} - no ipv6 virtual-router address - {% endif %} - {% endif %} - - {% if intf_vars.suppress_ra is defined %} - {% if intf_vars.suppress_ra == "present" %} - no ipv6 nd send-ra - {% else %} - ipv6 nd send-ra - {% endif %} - {% endif %} - - {% if intf_vars.stp_rpvst_default_behaviour is defined %} - {% if intf_vars.stp_rpvst_default_behaviour %} - spanning-tree rapid-pvst default-behavior - {% else %} - no spanning-tree rapid-pvst default-behavior - {% endif %} - {% endif %} - - {% if intf_vars.ipv6_autoconfig is defined %} - {% if intf_vars.ipv6_autoconfig %} - ipv6 address autoconfig - {% else %} - no ipv6 address - {% endif %} - {% elif intf_vars.ipv6_type_dynamic is defined %} - {% if intf_vars.ipv6_type_dynamic %} - ipv6 address dhcp - {% else %} - no ipv6 address - {% endif %} - {% else %} - {% if intf_vars.ipv6_and_mask is defined %} - {% if intf_vars.ipv6_and_mask %} - {% if intf_vars.state_ipv6 is defined and intf_vars.state_ipv6 == "absent" %} - no ipv6 address {{ intf_vars.ipv6_and_mask }} - {% else %} - ipv6 address {{ intf_vars.ipv6_and_mask }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% if intf_vars.max_ra is defined %} - {% if intf_vars.max_ra %} - ipv6 nd max-ra-interval {{ intf_vars.max_ra }} - {% else %} - no ipv6 nd max-ra-interval - {% endif %} - {% endif %} - {% if intf_vars.min_ra is defined %} - {% if intf_vars.min_ra %} - ipv6 nd min-ra-interval {{ intf_vars.min_ra }} - {% else %} - no ipv6 nd min-ra-interval - {% endif %} - {% endif %} - {% if intf_vars.ip_helper is defined and intf_vars.ip_helper %} - {% for helper in intf_vars.ip_helper %} - {% if helper.ip is defined and helper.ip %} - {% if helper.state is defined and helper.state == "absent" %} - no ip helper-address {{ helper.ip }} - {% else %} - ip helper-address {{ helper.ip }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if intf_vars.flowcontrol is defined and intf_vars.flowcontrol %} - {% if intf_vars.flowcontrol.mode is defined %} - {% if intf_vars.flowcontrol.mode %} - {% if intf_vars.flowcontrol.state is defined and intf_vars.flowcontrol.state == "absent" %} - no flowcontrol {{ intf_vars.flowcontrol.mode }} - {% else %} - {% if intf_vars.flowcontrol.enable is defined %} - {% if intf_vars.flowcontrol.enable == "on" %} - flowcontrol {{ intf_vars.flowcontrol.mode }} on - {% else %} - flowcontrol {{ intf_vars.flowcontrol.mode }} off - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - - {% if intf_vars.admin is defined %} - {% if intf_vars.admin == "up" %} - no shutdown - {% elif intf_vars.admin == "down" %} - shutdown - {% endif %} - {% endif %} - {% if intf_vars.ipv6_bgp_unnum is defined and intf_vars.ipv6_bgp_unnum %} - {% if intf_vars.ipv6_bgp_unnum.state == "absent" %} - no ipv6 bgp unnumbered - {% elif intf_vars.ipv6_bgp_unnum.state == "present" and intf_vars.ipv6_bgp_unnum.peergroup_type == "ebgp" %} - ipv6 bgp unnumbered ebgp-template - {% elif intf_vars.ipv6_bgp_unnum.state == "present" and intf_vars.ipv6_bgp_unnum.peergroup_type == "ibgp" %} - ipv6 bgp unnumbered ibgp-template - {% endif %} - {% endif %} - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_interface/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_interface/tests/main.os10.yaml deleted file mode 100644 index d77b7fc68..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/tests/main.os10.yaml +++ /dev/null @@ -1,72 +0,0 @@ ---- -# vars file for dellemc.os10.os10_interface -# Sample variables for OS10 device -os10_interface: - ethernet 1/1/32: - desc: "Connected to Core 2" - mtu: 2500 - portmode: - admin: up - switchport: False - ip_and_mask: - ip_type_dynamic: True - ipv6_type_dynamic: True - ethernet 1/1/12: - desc: "ipv6 auto config" - switchport: False - mtu: 2500 - admin: up - ipv6_autoconfig: True - ethernet 1/1/14: - fanout: 10g-4x - ethernet 1/1/13: - desc: "set ipv6 address" - switchport: False - admin: up - ipv6_and_mask: 2001:4898:5809:faa2::10/126 - state_ipv6: present - ethernet 1/1/1: - desc: "Connected to Leaf1" - portmode: "trunk" - switchport: True - suppress_ra: present - admin: up - stp_rpvst_default_behaviour: False - ethernet 1/1/3: - desc: site2-spine2 - ip_and_mask: 10.9.0.4/31 - mtu: 9216 - switchport: False - admin: up - flowcontrol: - mode: "receive" - enable: "on" - state: "present" - stp_rpvst_default_behaviour: True - vlan 100: - ip_and_mask: - ipv6_and_mask: 2001:4898:5808:ffaf::1/64 - state_ipv6: present - ip_helper: - - ip: 10.0.0.33 - state: present - admin: up - range ethernet 1/1/1-1/1/32: - mtu: 2500 - admin: up - switchport: False - port-channel 10: - admin: up - switchport: False - suppress_ra: - ipv6_bgp_unnum: - state: present - peergroup_type: ebgp - port-channel 20: - admin: up - stp_rpvst_default_behaviour: False - vlan 10: - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - admin: up diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_interface/tests/test.yaml deleted file mode 100644 index 5b1ac0946..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_interface diff --git a/ansible_collections/dellemc/os10/roles/os10_interface/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_interface/vars/main.yml deleted file mode 100644 index 247ea1577..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_interface/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_interface diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/LICENSE b/ansible_collections/dellemc/os10/roles/os10_lag/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/README.md b/ansible_collections/dellemc/os10/roles/os10_lag/README.md deleted file mode 100644 index eb679dcff..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/README.md +++ /dev/null @@ -1,103 +0,0 @@ -LAG role -======== - -This role facilitates the configuration of link aggregation group (LAG) attributes, and supports the creation and deletion of a LAG and its member ports. It also supports the configuration of an interface type as a static or dynamic LAG and minimum required link. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The LAG role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Object drives the tasks in this role -- `os10_lag` (dictionary) contains the hostname (dictionary) -- Hostname is the value of the *hostname* variable that corresponds to the name of the OS device -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value to any variable negates the corresponding configuration -- `os10_lag` (dictionary) holds a dictionary with the port-channel ID key in `Po <ID>` format (1 to 128) -- Variables and values are case-sensitive - -**port-channel ID keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string: static,dynamic | Configures the interface either as a static or dynamic LAG | os10 | -| ``min_links`` | integer | Configures the minimum number of links in the LAG that must be in *operup* status (1 to 32) | os10 | -| ``max_bundle_size`` | integer | Configures the maximum bundle size for the port channel | os10 | -| ``lacp_system_priority`` | integer | Configures the LACP system-priority value | os10 | -| ``lacp_fallback_enable`` | boolean | Configures LACP fallback | os10 | -| ``channel_members`` | list | Specifies the list of port members to be associated to the port-channel (see ``channel_members.*``) | os10 | -| ``channel_members.port`` | string | Specifies valid interface names to be configured as port-channel members | os10 | -| ``channel_members.mode`` | string: active,passive,on | Configures mode of channel members | os10 | -| ``channel_members.port_priority`` | integer | Configures port priority on devices for channel members | os10 | -| ``channel_members.lacp_rate_fast`` | boolean | Configures the LACP rate as fast if set to true | os10 | -| ``state`` | string: absent,present\* | Deletes the LAG corresponding to the port-channel ID if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_lag* role to setup port channel ID and description, and configures hash algorithm and minimum links for the LAG. Channel members can be configured for the port-channel either in static or dynamic mode. You can also delete the LAG with the port-channel ID or delete the members associated to it. This example creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_lag* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: ethernet 1/1/31 - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_lag - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_lag/defaults/main.yml deleted file mode 100644 index 6eaa54eac..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_lag diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_lag/handlers/main.yml deleted file mode 100644 index 06b4bef88..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_lag diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_lag/meta/main.yml deleted file mode 100644 index 6fcd3c68c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_lag role facilitates the configuration of LAG attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_lag/tasks/main.yml deleted file mode 100644 index e103552f6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating LAG configuration for os10" - template: - src: os10_lag.j2 - dest: "{{ build_dir }}/lag10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning LAG configuration for os10" - os10_config: - src: os10_lag.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/templates/os10_lag.j2 b/ansible_collections/dellemc/os10/roles/os10_lag/templates/os10_lag.j2 deleted file mode 100644 index 722ff5ffe..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/templates/os10_lag.j2 +++ /dev/null @@ -1,89 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{################################ -Purpose: -Configure LAG commands for os10 Devices. -os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: ethernet 1/1/31 - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: present -################################} -{% if os10_lag is defined and os10_lag %} -{% for key in os10_lag.keys() %} -{% set channel_id = key.split(" ") %} -{% set lag_vars = os10_lag[key] %} - - {% if lag_vars.lacp_system_priority is defined %} - {% if lag_vars.lacp_system_priority %} -lacp system-priority {{ lag_vars.lacp_system_priority }} - {% else %} -no lacp system-priority - {% endif %} - {% endif %} - - {% if lag_vars.state is defined and lag_vars.state == "absent" %} -no interface port-channel {{ channel_id[1] }} - {% else %} -interface port-channel{{ channel_id[1] }} - {% if lag_vars.min_links is defined %} - {% if lag_vars.min_links %} - minimum-links {{ lag_vars.min_links }} - {% else %} - no minimum-links - {% endif %} - {% endif %} - {% if lag_vars.max_bundle_size is defined %} - {% if lag_vars.max_bundle_size %} - lacp max-bundle {{ lag_vars.max_bundle_size }} - {% else %} - no lacp max-bundle - {% endif %} - {% endif %} - {% if lag_vars.lacp_fallback_enable is defined and lag_vars.lacp_fallback_enable %} - lacp fallback enable - {% endif %} - {% if lag_vars.channel_members is defined %} - {% for ports in lag_vars.channel_members %} - {% if ports.port is defined and ports.port %} -interface {{ ports.port }} - {% if lag_vars.type is defined and lag_vars.type == "static" %} - {% if ports.mode is defined and ports.mode == "on" %} - channel-group {{ channel_id[1] }} mode on - {% else %} - no channel-group - {% endif %} - {% elif lag_vars.type is defined and lag_vars.type == "dynamic" %} - {% if ports.mode is defined and ports.mode == "active" or ports.mode == "passive" %} - channel-group {{ channel_id[1] }} mode {{ ports.mode }} - {% else %} - no channel-group - {% endif %} - {% endif %} - {% if ports.lacp_rate_fast is defined %} - {% if ports.lacp_rate_fast %} - lacp rate fast - {% else %} - no lacp rate fast - {% endif %} - {% endif %} - {% if ports.port_priority is defined %} - {% if ports.port_priority %} - lacp port-priority {{ ports.port_priority }} - {% else %} - no lacp port-priority - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_lag/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_lag/tests/main.os10.yaml deleted file mode 100644 index 525189817..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/tests/main.os10.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# vars file for dellemc.os10.os10_lag -# Sample variables for OS10 device -os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: ethernet 1/1/31 - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_lag/tests/test.yaml deleted file mode 100644 index 6c130a0e0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_lag diff --git a/ansible_collections/dellemc/os10/roles/os10_lag/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_lag/vars/main.yml deleted file mode 100644 index 5b1cd5b18..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lag/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_lag diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_lldp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/README.md b/ansible_collections/dellemc/os10/roles/os10_lldp/README.md deleted file mode 100644 index 0c08af4dc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/README.md +++ /dev/null @@ -1,149 +0,0 @@ -LLDP role -========= - -This role facilitates the configuration of link layer discovery protocol (LLDP) attributes at a global and interface level. It supports the configuration of hello, mode, multiplier, advertise TLVs, management interface, FCoE, and iSCSI at global and interface level. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The LLDP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_lldp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``enable`` | boolean | Enables or disables LLDP at a global level | os10 | -| ``multiplier`` | integer | Configures the global LLDP multiplier (2 to 10) | os10 | -| ``reinit`` | integer | Configures the reinit value (1 to 10) | os10 | -| ``timer`` | integer | Configures the timer value (5 to 254) | os10 | -| ``advertise`` | dictionary | Configures LLDP-MED and TLV advertisement at the global level (see ``advertise.*``) | os10 | -| ``advertise.med`` | dictionary | Configures MED TLVs advertisement (see ``med_tlv.*``) | os10 | -| ``med.fast_start_repeat_count`` | integer | Configures med fast start repeat count value (1 to 10) | os10 | -| ``med.application`` | list | Configures global MED TLVs advertisement for an application (see ``application.*``) | os10 | -| ``application.name`` | string | Configures the application name for MED TLVs advertisement | os10 | -| ``application.vlan_id`` | integer | Configures the VLAN ID for the application MED TLVs advertisement (1 to 4094) | os10 | -| ``application.l2_priority`` | integer | Configures the L2 priority for the application MED TLVs advertisement (0 to 7) | os10 | -| ``application.code_point_value`` | integer | Configures differentiated services code point values for MED TLVs advertisement (0 to 63) | os10 | -| ``application.vlan_type`` | string: tag, untag | Configures the VLAN type for the application MED TLvs advertisement | os10 | -| ``application.network_policy_id`` | integer | Configures network policy ID for the application MED TLVs advertisement | os10 | -| ``application.state`` | string: present\*,absent | Deletes the application if set to absent | os10 | -| ``local_interface`` | dictionary | Configures LLDP at the interface level (see ``local_interface.*``) | os10 | -| ``local_interface.<interface name>`` | dictionary | Configures LLDP at the interface level (see ``<interface name>.*``) | os10 | -| ``<interface name>.mode`` | string: rx,tx | Configures LLDP mode configuration at the interface level | os10 | -| ``<interface name>.mode_state`` | string: absent,present | Configures transmit/receive at the interface level| os10 | -| ``<interface name>.advertise`` | dictionary | Configures LLDP-MED TLV advertisement at the interface level (see ``advertise.*``) | os10 | -| ``advertise.med`` | dictionary | Configures MED TLVs advertisement at the interface level (see ``med_tlv.*``) | os10 | -| ``med.enable`` | boolean | Enables interface level MED capabilities | os10 | -| ``med.tlv`` | string | Configures MED TLV advertisement at interface level | os10 | -| ``med.tlv_state`` | string: present\*,absent | Deletes the interface level MED configuration if set to absent | os10 | -| ``med.application`` | list | Configures MED TLVs advertisement for the application at the interface level (see ``application.*``) | os10 | -| ``application.network_policy_id`` | integer | Configures the *network_policy_id* for the application of MED | os10 | -| ``application.state`` | string: present\*,absent | Deletes the associated network policy ID for the application if set to absent.| os10 | -| ``advertise.tlv`` | list | Configures TLVs advertisement at interface level (see `<interface_name>.tlv.*`) | os10 | -| ``tlv.name`` | string: basic-tlv,dcbxp,dcbxp-appln,dot1-tlv,dot3-tlv | Configures corresponding to the TLV name specified at the interface | os10 | -| ``tlv.value`` | string | Specifies corresponding TLV value according to the name as a string | os10 | -| ``tlv.state`` | string: present\*,absent | Deletes the interface level TLVs advertisement if set to absent | os10 | - - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_lldp* role to configure protocol lldp. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_lldp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_lldp: - enable: false - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - ethernet 1/1/1: - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: present - application: - - network_policy_id: 4 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_lldp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_lldp/defaults/main.yml deleted file mode 100644 index 464b4d96e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_lldp diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_lldp/handlers/main.yml deleted file mode 100644 index f49343b1f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_lldp diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_lldp/meta/main.yml deleted file mode 100644 index 7d843eed2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/meta/main.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: > - The os10_lldp role facilitates the configuration of Link Layer Discovery Protocol(LLDP) attributes in devices - running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_lldp/tasks/main.yml deleted file mode 100644 index fc86a9d47..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for Dellos10 - - name: "Generating LLDP configuration for os10" - template: - src: os10_lldp.j2 - dest: "{{ build_dir }}/lldp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning LLDP configuration for os10" - os10_config: - src: os10_lldp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/templates/os10_lldp.j2 b/ansible_collections/dellemc/os10/roles/os10_lldp/templates/os10_lldp.j2 deleted file mode 100644 index 6d362e21d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/templates/os10_lldp.j2 +++ /dev/null @@ -1,195 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{################################################### -Purpose: -Configure LLDP commands for os10 Devices. - -os10_lldp: - enable: false - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - ethernet 1/1/1: - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv : inventory - tlv_state: present - application: - - network_policy_id: 4 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present - -{###############################################################################################} -{% if os10_lldp is defined and os10_lldp %} -{% for key,value in os10_lldp.items() %} - {% if key == "enable" %} - {% if value %} -lldp enable - {% else %} -no lldp enable - {% endif %} - {% elif key == "reinit" %} - {% if value %} -lldp reinit {{ value }} - {% else %} -no lldp reinit - {% endif %} - {% elif key == "multiplier" %} - {% if value %} -lldp holdtime-multiplier {{ value }} - {% else %} -no lldp holdtime-multiplier - {% endif %} - {% elif key == "timer" %} - {% if value %} -lldp timer {{ value }} - {% else %} -no lldp timer - {% endif %} - {% elif key == "advertise" %} - {% if value %} - {% for ke,valu in value.items() %} - {% if ke == "med" %} - {% if valu %} - {% for med,val in valu.items() %} - {% if med == "fast_start_repeat_count" %} - {% if val %} -lldp med fast-start-repeat-count {{ val }} - {% else %} -no lldp med fast-start-repeat-count - {% endif %} - {% elif med == "application" %} - {% if val %} - {% for item in val %} - {% if item.network_policy_id is defined and item.network_policy_id %} - {% if item.state is defined and item.state == "absent" %} -no lldp med network-policy {{ item.network_policy_id }} - {% else %} - {% if item.name is defined and item.name %} - {% if item.vlan_id is defined and item.vlan_id %} - {% if item.vlan_type is defined and item.vlan_type %} - {% if item.l2_priority is defined and item.l2_priority %} - {% if item.code_point_value is defined and item.code_point_value %} -lldp med network-policy {{ item.network_policy_id }} app {{ item.name }} vlan {{ item.vlan_id }} vlan-type {{ item.vlan_type }} priority {{ item.l2_priority }} dscp {{ item.code_point_value }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} -{% endfor %} -{% endif %} -{% if os10_lldp is defined and os10_lldp %} -{% for key in os10_lldp.keys() %} -{% set lldp_vars = os10_lldp[key] %} -{% if key == "local_interface" %} - {% for intf in lldp_vars.keys() %} - {% set intf_vars = lldp_vars[intf] %} -interface {{ intf }} - {% if intf_vars.mode is defined and intf_vars.mode %} - {% if intf_vars.mode_state is defined and intf_vars.mode_state == "absent" %} - {% if intf_vars.mode == "rx" %} - no lldp receive - {% elif intf_vars.mode == "tx" %} - no lldp transmit - {% endif %} - {% else %} - {% if intf_vars.mode == "rx" %} - lldp receive - {% elif intf_vars.mode == "tx" %} - lldp transmit - {% endif %} - {% endif %} - {% endif %} - - {% if intf_vars.advertise is defined and intf_vars.advertise %} - {% if intf_vars.advertise.med is defined and intf_vars.advertise.med %} - {% if intf_vars.advertise.med.enable is defined %} - {% if intf_vars.advertise.med.enable %} - lldp med enable - {% else %} - lldp med disable - {% endif %} - {% endif %} - {% if intf_vars.advertise.med.tlv is defined and intf_vars.advertise.med.tlv %} - {% if intf_vars.advertise.med.tlv_state is defined and intf_vars.advertise.med.tlv_state == "absent" %} - no lldp med tlv-select {{ intf_vars.advertise.med.tlv }} - {% else %} - lldp med tlv-select {{ intf_vars.advertise.med.tlv }} - {% endif %} - {% endif %} - {% if intf_vars.advertise.med.application is defined and intf_vars.advertise.med.application %} - {% for item in intf_vars.advertise.med.application %} - {% if item.network_policy_id is defined and item.network_policy_id %} - {% if item.state is defined and item.state == "absent" %} - lldp med network-policy remove {{ item.network_policy_id }} - {% else %} - lldp med network-policy add {{ item.network_policy_id }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% if intf_vars.advertise.tlv is defined and intf_vars.advertise.tlv %} - {% for it in intf_vars.advertise.tlv %} - {% if it.name is defined and it.name %} - {% if it.state is defined and it.state == "absent" %} - {% if it.value is defined and it.value %} - no lldp tlv-select {{ it.name }} {{ it.value }} - {% else %} - no lldp tlv-select {{ it.name }} - {% endif %} - {% else %} - {% if it.value is defined and it.value %} - lldp tlv-select {{ it.name }} {{ it.value }} - {% else %} - lldp tlv-select {{ it.name }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endfor %} -{% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_lldp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_lldp/tests/main.os10.yaml deleted file mode 100644 index f07408ed7..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/main.os10.yaml +++ /dev/null @@ -1,48 +0,0 @@ ---- -# vars file for dellemc.os10.os10_lldp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_lldp: - enable: false - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - ethernet 1/1/1: - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: present - application: - - network_policy_id: 4 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_lldp/tests/test.yaml deleted file mode 100644 index e928c00f2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_lldp diff --git a/ansible_collections/dellemc/os10/roles/os10_lldp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_lldp/vars/main.yml deleted file mode 100644 index 8802ce769..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_lldp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_lldp diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/LICENSE b/ansible_collections/dellemc/os10/roles/os10_logging/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/README.md b/ansible_collections/dellemc/os10/roles/os10_logging/README.md deleted file mode 100644 index c8a2dbf23..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/README.md +++ /dev/null @@ -1,97 +0,0 @@ -Logging role -============ - -This role facilitates the configuration of global logging attributes, and it supports the configuration of logging servers. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Logging role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_logging keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``logging`` | list | Configures the logging server (see ``logging.*``) | os10 | -| ``logging.ip`` | string (required) | Configures the IPv4 address for the logging server (A.B.C.D format) | os10 | -| ``logging.state`` | string: absent,present\* | Deletes the logging server if set to absent | os10 | -| ``console`` | dictionary | Configures logging to the console (see ``console.*``) | os10 | -| ``console.enable`` | boolean | Enables/disables logging to the console | os10 | -| ``console.severity`` | string | Configures the minimum severity level for logging to the console | os10 | -| ``log_file`` | dictionary | Configures logging to a log file (see ``log_file.*``) | os10 | -| ``log_file.enable`` | boolean | Enables/disables logging to a log file | os10 | -| ``log_file.severity`` | string | Configures the minimum severity level for logging to a log file | os10 | -| ``source_interface`` | string | Configures the source interface for logging | os10 | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_logging* role to completely set up logging servers. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_logging: - logging: - - ip: 1.1.1.1 - state: absent - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "ethernet1/1/30" - -**Simple playbook to setup logging — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_logging - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_logging/defaults/main.yml deleted file mode 100644 index 2fbccfcde..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_logging diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_logging/handlers/main.yml deleted file mode 100644 index b79ed93fe..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_logging diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_logging/meta/main.yml deleted file mode 100644 index a9b06cab6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_logging role facilitates the configuration of logging attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_logging/tasks/main.yml deleted file mode 100644 index 91ce9e7bb..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating logging configuration for os10" - template: - src: os10_logging.j2 - dest: "{{ build_dir }}/logging10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning logging configuration for os10" - os10_config: - src: os10_logging.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/templates/os10_logging.j2 b/ansible_collections/dellemc/os10/roles/os10_logging/templates/os10_logging.j2 deleted file mode 100644 index 442376b54..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/templates/os10_logging.j2 +++ /dev/null @@ -1,67 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure logging commands for os10 Devices -os10_logging: - logging: - - ip: 1.1.1.1 - state: present - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "ethernet1/1/30" -###############################################} -{% if os10_logging is defined and os10_logging %} - {% for key,value in os10_logging.items() %} - {% if key == "logging" %} - {% for item in value %} - {% if item.ip is defined and item.ip %} - {% if item.state is defined and item.state == "absent" %} -no logging server {{ item.ip }} - {% else %} -logging server {{ item.ip }} - {% endif %} - {% endif %} - {% endfor %} - {% elif key == "log_file" %} - {% if value.enable is defined %} - {% if value.enable %} -logging log-file enable - {% else %} -logging log-file disable - {% endif %} - {% endif %} - {% if value.severity is defined %} - {% if value.severity %} -logging log-file severity {{ value.severity }} - {% else %} -no logging log-file severity - {% endif %} - {% endif %} - {% elif key == "console" %} - {% if value.enable is defined %} - {% if value.enable %} -logging console enable - {% else %} -logging console disable - {% endif %} - {% endif %} - {% if value.severity is defined %} - {% if value.severity %} -logging console severity {{ value.severity }} - {% else %} -no logging console severity - {% endif %} - {% endif %} - {% elif key == "source_interface" %} - {% if value %} -logging source-interface {{ value }} - {% else %} -no logging source-interface - {% endif %} - {% endif %} - {% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_logging/tests/inventory.yaml deleted file mode 100644 index d32792f7d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.16.148.72 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_logging/tests/main.os10.yaml deleted file mode 100644 index c9255b23e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/tests/main.os10.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# vars file for dellemc.os10.os10_logging, -# below gives a sample configuration -# Sample variables for OS10 device -os10_logging: - logging: - - ip: 1.1.1.1 - state: absent - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "ethernet1/1/30" diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_logging/tests/test.yaml deleted file mode 100644 index cb66b3a8c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_logging diff --git a/ansible_collections/dellemc/os10/roles/os10_logging/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_logging/vars/main.yml deleted file mode 100644 index 736ff3b8f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_logging/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_logging diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/LICENSE b/ansible_collections/dellemc/os10/roles/os10_network_validation/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/README.md b/ansible_collections/dellemc/os10/roles/os10_network_validation/README.md deleted file mode 100644 index e9014c42b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/README.md +++ /dev/null @@ -1,304 +0,0 @@ -Network validation role -========================= - -This roles is used to verify network validation. It validates network features of a wiring connection, BGP neighbors, MTU between neighbors, and VLT pairing. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. The Network validation role requires an SSH connection for connectivity to a Dell EMC OS10 device. You can use any of the built-in OS connection variables. - -- **Wiring validation** — Based on the LLDP neighbor establishment, the intended neighbor input model is defined by the _group_var/all_ user which is compared with the actual LLDP neighbor; report is generated if there is any mismatch with the intended neighbors - -- **BGP validation** — Based on the BGP neighbor state establishment, report is generated if the BGP neighbor state is not in an established state - -- **MTU validation** — Based on the interface MTU, the report is generated if there is an MTU mismatch between LLDP neighbors - -- **VLT validation** — Based on the VLT information, the report is generated if the backup VLT link is down or not present - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- Variables and values are case-sensitive - -**wiring_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_neighbors`` | list | Defines topology details planned | os10 | -| ``source_switch`` | string | Defines the source switch inventory name planned | os10 | -| ``source_port`` | string | Defines the source port planned | os10 | -| ``dest_switch`` | string | Defines the destination switch inventory name planned | os10 | -| ``dest_port`` | string | Defines the destination port planned | os10 | - -**bgp_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_bgp_neighbors`` | list | Defines topology details planned | os10 | -| ``source_switch`` | string | Defines the source switch inventory name planned | os10 | - -**vlt_validation keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``intended_vlt_pairs`` | list | Defines topology details planned | os10 | -| ``primary`` | string | Defines the primary role of switch inventory name planned | os10 | -| ``secondary`` | string | Defines the secondary role of switch inventory name planned | os10 | - -Connection variables --------------------- - -Ansible Dell EMC roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible _group_vars_ or _host_vars_ directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if the value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; defaults to 22 | -| ``os10_cli_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the default value is used | -| ``os10_cli_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the _become_ method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use, if required, to enter privileged mode on the remote device; if `ansible_become` is set to no, this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (*) denotes the default value if none is specified. - -Dependencies ------------- - -- The _xmltodict_ library should be installed to convert show command output in dictionary format from XML -- To install the package, use the pip install xmltodict command -- The *os10_fabric_summary* role must be included to query system network summary information - -Example playbook ----------------- - -This example uses the *os10_network_validation* role to verify network validations. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - - -**Sample hosts file** - - site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine1 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - site2-spine2 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - [spine] - site1-spine1 - site1-spine2 - site2-spine1 - site2-spine2 - [LeafAndSpineSwitch:children] - spine - - -**Sample host_vars/site1-spine1** - - cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - - os10_cli_user: xxxx - os10_cli_pass: xxxx - ansible_network_os: dellemc.os10.os10 - - -#### Sample ``group_var/all`` - -**Sample input for wiring validation** - - - intended_neighbors: - - source_switch: site1-spine2 - source_port: ethernet1/1/5 - dest_port: ethernet1/1/29 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/6 - dest_port: ethernet1/1/30 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/7 - dest_port: ethernet1/1/31 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/8 - dest_port: ethernet1/1/32 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/9 - dest_port: ethernet1/1/21 - dest_switch: site1-spine1 - - source_switch: site1-spine2 - source_port: ethernet1/1/7 - dest_port: ethernet1/1/29 - dest_switch: site1-spine3 - -**Sample input for BGP validation** - - intended_bgp_neighbors: - - source_switch: site1-spine1 - neighbor_ip: ["10.11.0.1","10.9.0.1","10.9.0.3","10.9.0.5","1.1.1.1"] - - source_switch: site1-spine2 - neighbor_ip: ["10.11.0.0","10.9.0.9","10.9.0.11","10.9.0.15"] - -**Sample input for VLT validation** - - intended_vlt_pairs: - - primary: site1-spine1 - secondary: site2-spine2 - - primary: site2-spine1 - secondary: site2-spine2 - - -#### Simple playbook to setup network validation - -**Sample playbook of ``validation.yaml`` to run complete validation** - - --- - - name: setup network validation - hosts: localhost - gather_facts: no - connection: local - roles: - - os10_network_validation - -**Sample playbook to run wiring validation** - - --- - - name: setup wiring validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: wiring_validation.yaml - -**Sample playbook to run BGP validation** - - --- - - name: setup bgp validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: bgp_validation.yaml - -**Sample playbook to run VLT validation** - - --- - - name: setup vlt validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: vlt_validation.yaml - -**Sample playbook to run MTU validation** - - --- - - name: setup mtu validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: mtu_validation.yaml - - -**Run** - -Execute the playbook and examine the results. - - ansible-playbook -i inventory.yaml validation.yaml - -**sample output of wiring validation** - - "results": [ - { - "dest_port": "ethernet1/1/1", - "dest_switch": "site2-spine2", - "error_type": "link-missing", - "reason": "link is not found for source switch: site2-spine1,port: ethernet1/1/1", - "source_port": "ethernet1/1/1", - "source_switch": "site2-spine1" - }, - { - "dest_port": "ethernet1/1/2", - "dest_switch": "site2-spine1", - "error_type": "link-mismatch", - "reason": "Destination switch is not an expected value, expected switch: site2-spine1,port: ethernet1/1/2; actual switch: site1-spine2(svc-tag:J33FXC2, node_mac:e4:f0:04:9b:eb:dc), port: ethernet1/1/1", - "source_port": "ethernet1/1/1", - "source_switch": "site1-spine1" - } - ] - -**sample output of BGP validation** - - "results": [ - { - "bgp_neighbor": "10.9.0.1", - "bgp_state": "idle", - "error_type": "remote_port_down", - "possible_reason": "remote port site2-spine1 ethernet1/1/2 is down", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "-", - "bgp_state": "idle", - "error_type": "not_an_intended_neighbor", - "possible_reason": "neighbor 10.9.0.7 is not an intended, please add this neighbor in the intended_bgp_neighbors", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "1.1.1.1", - "error_type": "config_missing", - "possible_reason": "neighbor config missing", - "source_switch": "site1-spine1" - }, - { - "bgp_neighbor": "10.9.0.9", - "bgp_state": "idle", - "error_type": "remote_port_down", - "possible_reason": "remote port site2-spine1 ethernet1/1/3 is down", - "source_switch": "site1-spine2" - } - ] - -**sample output of VLT validation** - - "results": [ - { - "error_type": "secondary_mismatch", - "intended_primary": "site1-spine1", - "intended_secondary": "site2-spine2", - "possible_reason": "config mismatch as site2-spine2 is expected, but the actual secondary is site1-spine2 ", - "secondary": "site1-spine2" - }, - { - "error_type": "peer_missing", - "intended_primary": "site2-spine1", - "intended_secondary": "site2-spine2", - "possible_reason": "peer info is not configured or peer interface is down" - } - ] - -**sample output of MTU validation** - - "msg": { - "results": "There is no MTU mistmatch between neighbors" - } - - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.
\ No newline at end of file diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_network_validation/meta/main.yml deleted file mode 100644 index b01fd4b1f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/meta/main.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_network_validation - author: Dell EMC Networking Engineering - description: The os10_network_validation role faclitates to provide the Network validation in devices running on Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 - - dependencies: - - role: os10_fabric_summary diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/bgp_validation.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/bgp_validation.yaml deleted file mode 100644 index a289b50cf..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/bgp_validation.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: "Get Dell EMC OS10 Show ip bgp summary" - os10_command: - commands: - - command: "show ip bgp summary | display-xml" - - command: "show ip interface brief | display-xml" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_bgp -- name: "set fact to form bgp database" - set_fact: - output_bgp: "{{ output_bgp|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'stdout_show_bgp': item.stdout.0, 'stdout_show_ip': item.stdout.1}] }}" - loop: "{{ show_bgp.results }}" -- name: call lib to convert bgp info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_bgp }}" - with_items: - - "{{ output_bgp }}" - register: show_bgp_list -- name: call lib to convert ip interface info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_ip }}" - with_items: - - "{{ output_bgp }}" - register: show_ip_intf_list -- name: call lib for bgp validation - bgp_validate: - show_ip_bgp: "{{ show_bgp_list.results }}" - show_ip_intf_brief: "{{ show_ip_intf_list.results }}" - bgp_neighbors: "{{ intended_bgp_neighbors }}" - register: bgp_validation_output -- name: "debug bgp database" - debug: var=bgp_validation_output.msg.results diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/main.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/main.yaml deleted file mode 100644 index c81545b80..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/main.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- name: "Validate the wiring info" - import_tasks: wiring_validation.yaml -- name: "Validate the BGP info" - import_tasks: bgp_validation.yaml -- name: "Validate the VLT info" - import_tasks: vlt_validation.yaml -- name: "Validate the MTU info for lldp neigbors" - import_tasks: mtu_validation.yaml diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/mtu_validation.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/mtu_validation.yaml deleted file mode 100644 index fbc58538e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/mtu_validation.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: "Get Dell EMC OS10 MTU mismatch info" - os10_command: - commands: - - command: "show lldp neighbors" - - command: "show ip interface brief | display-xml" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_output -- name: "set fact to form database" - set_fact: - output_mtu: "{{ output_mtu|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'stdout_show_lldp': item.stdout.0, 'stdout_show_ip': item.stdout.1 }] }}" - loop: "{{ show_output.results }}" -- name: "debug the output database" - debug: var=output_mtu -- name: call lib to convert ip interface info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.stdout_show_ip }}" - with_items: "{{ output_mtu }}" - register: show_ip_intf_list -- name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary -- name: "call lib to process" - mtu_validate: - show_lldp_neighbors_list: "{{ output_mtu }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - show_ip_intf_brief: "{{ show_ip_intf_list.results }}" - register: mtu_validation -- name: "debug mtu validation result" - debug: var=mtu_validation.msg.results diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/vlt_validation.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/vlt_validation.yaml deleted file mode 100644 index 1a673e190..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/vlt_validation.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- name: "Get Dell EMC OS10 Show run vlt" - os10_command: - commands: - - command: "show running-configuration vlt | grep vlt-domain" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_run_vlt -- name: "set fact to form show vlt database" - set_fact: - output_vlt: "{{ output_vlt|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'stdout_show_vlt': item.stdout.0}] }}" - loop: "{{ show_run_vlt.results }}" -- name: "debug output_vlt" - debug: var=output_vlt -- name: "Get Dell EMC OS10 Show vlt info" - os10_command: - commands: - - command: "show vlt {{ item.stdout_show_vlt.split()[1] }} | display-xml" - provider: "{{ hostvars[item.inv_name].cli }}" - with_items: "{{ output_vlt }}" - register: show_vlt -- name: "set fact to form vlt database" - set_fact: - vlt_out: "{{ vlt_out|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'show_vlt_stdout': item.stdout.0}] }}" - loop: "{{ show_vlt.results }}" - register: vlt_output -- name: call lib to convert vlt info from xml to dict format - base_xml_to_dict: - cli_responses: "{{ item.show_vlt_stdout }}" - with_items: - - "{{ vlt_out }}" - register: vlt_dict_output -- name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary -- name: call lib to process - vlt_validate: - show_vlt: "{{ vlt_dict_output.results }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - intended_vlt_pairs: "{{ intended_vlt_pairs }}" - register: show_vlt_info -- name: "debug vlt validation result" - debug: var=show_vlt_info.msg.results diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/wiring_validation.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/wiring_validation.yaml deleted file mode 100644 index d89ac18c6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tasks/wiring_validation.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: "Get Dell EMC OS10 wiring info" - os10_command: - commands: - - command: "show lldp neighbors" - provider: "{{ hostvars[item].cli }}" - with_items: "{{ groups['all'] }}" - register: show_lldp -- name: "set facts to form lldp db" - set_fact: - output_lldp: "{{ output_lldp|default([])+ [{'host': item.invocation.module_args.provider.host, 'inv_name': item.item, 'stdout_show_lldp': item.stdout}] }}" - loop: "{{ show_lldp.results }}" -- name: "Get Dell EMC OS10 Show system" - import_role: - name: os10_fabric_summary - register: show_system_network_summary -- name: call lib to process - wiring_validate: - show_lldp_neighbors_list: "{{ output_lldp }}" - show_system_network_summary: "{{ show_system_network_summary.msg.results }}" - planned_neighbors: "{{ intended_neighbors }}" - register: wiring_validation -- name: "debug the wiring validation results" - debug: var=wiring_validation.msg.results diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/group_vars/all b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/group_vars/all deleted file mode 100644 index 01c4856ec..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/group_vars/all +++ /dev/null @@ -1,30 +0,0 @@ -#wiring_validation input -intended_neighbors: - - source_switch: site1-spine1 - source_port: ethernet1/1/1 - dest_port: ethernet1/1/1 - dest_switch: site1-spine2 - - source_switch: site2-spine1 - source_port: ethernet1/1/1 - dest_port: ethernet1/1/1 - dest_switch: site2-spine2 - - source_switch: site1-spine1 - source_port: ethernet1/1/1 - dest_port: ethernet1/1/2 - dest_switch: site2-spine1 - - source_switch: site1-spine1 - source_port: ethernet1/1/2 - dest_port: ethernet1/1/2 - dest_switch: site2-spine2 -#bgp_validation input -intended_bgp_neighbors: - - source_switch: site1-spine1 - neighbor_ip: ["10.11.0.1", "10.9.0.1", "10.9.0.3", "10.9.0.5", "1.1.1.1"] - - source_switch: site1-spine2 - neighbor_ip: ["10.11.0.0", "10.9.0.9", "10.9.0.11", "10.9.0.15"] -#vlt_validation input -intended_vlt_pairs: - - primary: site1-spine1 - secondary: site1-spine2 - - primary: site2-spine1 - secondary: site2-spine2 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine1 b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine1 deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine1 +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine2 b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine2 deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site1-spine2 +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine1 b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine1 deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine1 +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine2 b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine2 deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/host_vars/site2-spine2 +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/inventory.yaml deleted file mode 100644 index d18389471..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/inventory.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -site1-spine1 ansible_host=10.11.180.21 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site1-spine2 ansible_host=10.11.180.22 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site2-spine1 ansible_host=10.11.180.24 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 -site2-spine2 ansible_host=10.11.180.23 os10_cli_user=admin os10_cli_pass=admin ansible_network_os=dellemc.os10.os10 - -[spine] -site1-spine1 -site1-spine2 -site2-spine1 -site2-spine2 - -[LeafAndSpineSwitch:children] -spine diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/main.yaml deleted file mode 100644 index 1f450079a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/main.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -cli: - host: "{{ ansible_host }}" - username: "{{ os10_cli_user | default('admin') }}" - password: "{{ os10_cli_pass | default('admin') }}" - timeout: 300 - -os10_cli_user: xxxx -os10_cli_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/test.yaml deleted file mode 100644 index aff21dfed..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_network_validation/tests/test.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -# Sample playbook to validate network validation role -- name: setup network validation - hosts: localhost - gather_facts: False - connection: local - roles: - - dellemc.os10.os10_network_validation - -# Sample playbook to validate wiring validation -- name: setup play for wiring validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: wiring_validation.yaml - -# Sample playbook to validate bgp validation -- name: setup playbook to validate bgp validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: bgp_validation.yaml - -# Sample playbook to validate vlt validation -- name: setup playbook to validate vlt validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: vlt_validation.yaml - -# Sample playbook to validate mtu validation -- name: setup playbook to validate mtu validation - hosts: localhost - gather_facts: False - connection: local - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_network_validation - tasks_from: mtu_validation.yaml diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_ntp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/README.md b/ansible_collections/dellemc/os10/roles/os10_ntp/README.md deleted file mode 100644 index 17e879c6b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/README.md +++ /dev/null @@ -1,124 +0,0 @@ -NTP role -======== - -This role facilitates the configuration of network time protocol (NTP) attributes. It specifically enables configuration of NTP server, NTP source, authentication, and broadcast service. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The NTP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_ntp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``server`` | list | Configures the NTP server (see ``server.*``) | os10 | -| ``server.ip`` | string (required) | Configures an IPv4 address for the NTP server (A.B.C.D format) | os10 | -| ``server.key`` | integer | Configures the peer authentication key for the NTP server | os10 | -| ``server.prefer`` | boolean | Configures the peer preference | os10 | -| ``server.state`` | string: absent,present\* | Deletes the NTP server if set to absent | os10 | -| ``source`` | string | Configures the interface for the source address | os10 | -| ``master`` | integer | Configures the local clock to act as the server | os10 | -| ``authenticate`` | boolean | Configures authenticate time sources | os10 | -| ``authentication_key`` | list | Configures authentication key for trusted time sources (see ``authentication_key.*``) | os10 | -| ``authentication_key.key_num`` | integer | Configures authentication key number | os10 | -| ``authentication_key.key_string_type`` | integer: 0,9 | Configures hidden authentication key string if the value is 9, and configures unencrypted authentication key string if the value is 0 | os10 | -| ``authentication_key.key_string`` | string | Configures the authentication key string | os10 | -| ``authentication_key.type`` | string: md5,sha1,sha2-256 | Configures the authentication type | os10 | -| ``authentication_key.state`` | string: absent,present\* | Deletes the authenticaton key if set to absent | os10 | -| ``trusted_key`` | list | Configures key numbers for trusted time sources (see ``trusted_key.*``) | os10 | -| ``trusted_key.key_num`` | integer | Configures the key number | os10 | -| ``trusted_key.state`` | string: absent,present\* | Deletes the trusted key if set to absent | os10 | -| ``intf`` | dictionary | Configures NTP on the interface (see ``intf.*``) | os10 | -| ``intf.<interface name>`` | dictionary | Configures NTP on the interface (see ``<interface name>.*``) | os10 | -| ``<interface name>.disable`` | boolean | Configures NTP disable on the interface | os10 | -| ``<interface name>.broadcast`` | boolean | Configures NTP broadcast client service on the interface | os10 | -| ``vrf`` | dictionary | Enables NTP on VRF (see ``vrf.*``) | os10 | -| ``vrf.name`` | string | Name of the VRF to enable NTP | os10 | -| ``vrf.state`` | string: absent,present\* | Disables NTP on the VRF if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_ntp* role to set the NTP server, source ip, authentication and broadcast service. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When the `os10_cfg_generate` variable is set to true, it generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. The example writes a simple playbook that only references the *os10_ntp* role. - -By including the role, you automatically get access to all of the tasks to configure NTP attributes. The sample *host_vars* is for os10. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - host: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_ntp: - source: ethernet 1/1/2 - master: 5 - authenticate: true - authentication_key: - - key_num: 123 - key_string_type: 9 - key_string: test - type: md5 - state: present - trusted_key: - - key_num: 1323 - state: present - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: present - intf: - ethernet 1/1/2: - disable: true - broadcast: true - vrf: - name: red - state: present - -**Simple playbook to setup NTP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_ntp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/defaults/main.yml deleted file mode 100644 index 7d2d8eee2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_ntp diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/handlers/main.yml deleted file mode 100644 index 965f50b51..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_ntp diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/meta/main.yml deleted file mode 100644 index 3befe0cd3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_ntp role facilitates the configuration of NTP attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/tasks/main.yml deleted file mode 100644 index 202e5601c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/tasks/main.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating NTP configuration for os10" - template: - src: os10_ntp.j2 - dest: "{{ build_dir }}/ntp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning NTP configuration for os10" - os10_config: - src: os10_ntp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output - - - name: "Generating NTP VRF configuration for os10" - lineinfile: - path: "{{ build_dir }}/ntp10_{{ hostname }}.conf.part" - line: "{{ lookup('template', 'os10_ntp_vrf.j2') }}" - insertafter: EOF - when: > - (ansible_network_os is defined and - ansible_network_os == "dellemc.os10.os10" and - ((os10_cfg_generate | default('False')) | bool) and - os10_ntp.vrf is defined and - os10_ntp.vrf) - - - name: "Provisioning NTP VRF configuration for os10" - os10_config: - lines: - - command: "{{ lookup('template', 'os10_ntp_vrf.j2') }}" - prompt: "Do you want to continue" - answer: "yes" - when: > - (ansible_network_os is defined and - ansible_network_os == "dellemc.os10.os10" and - os10_ntp.vrf is defined and - os10_ntp.vrf) -# notify: save config os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp.j2 b/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp.j2 deleted file mode 100644 index 7524c935e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp.j2 +++ /dev/null @@ -1,125 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure NTP commands for os10 Devices -os10_ntp: - source: ethernet 1/1/2 - master: 5 - authenticate: true - vrf: - name: red - authentication_key: - - key_num: 123 - key_string_type: 7 - key_string: test - type: md5 - state: present - trusted_key: - - key_num: 1323 - state: present - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: present - intf: - ethernet 1/1/2: - disable: true - broadcast: true -###############################################} -{% if os10_ntp is defined and os10_ntp %} - {% if os10_ntp.source is defined %} - {% if os10_ntp.source %} -ntp source {{ os10_ntp.source }} - {% else %} -no ntp source - {% endif %} - {% endif %} - {% if os10_ntp.master is defined %} - {% if os10_ntp.master %} -ntp master {{ os10_ntp.master }} - {% else %} -no ntp master - {% endif %} - {% endif %} - {% if os10_ntp.authenticate is defined %} - {% if os10_ntp.authenticate %} -ntp authenticate - {% else %} -no ntp authenticate - {% endif %} - {% endif %} - {% if os10_ntp.server is defined and os10_ntp.server %} - {% for item in os10_ntp.server %} - {% if item.ip is defined and item.ip %} - {% if item.state is defined and item.state == "absent" %} -no ntp server {{ item.ip }} - {% else %} - {% if item.key is defined and item.key %} - {% if item.prefer is defined and item.prefer %} -ntp server {{ item.ip }} key {{ item.key }} prefer - {% else %} -ntp server {{ item.ip }} key {{ item.key }} - {% endif %} - {% else %} - {% if item.prefer is defined and item.prefer %} -ntp server {{ item.ip }} prefer - {% else %} -ntp server {{ item.ip }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if os10_ntp.authentication_key is defined and os10_ntp.authentication_key %} - {% for item in os10_ntp.authentication_key %} - {% if item.key_num is defined and item.key_num %} - {% if item.state is defined and item.state == "absent" %} -no ntp authentication-key {{ item.key_num }} - {% else %} - {% if item.key_string_type is defined and item.key_string_type >= 0 %} - {% if item.key_string is defined and item.key_string %} - {% if item.type is defined and item.type %} - {% set auth_type = item.type %} - {% else %} - {% set auth_type = 'md5' %} - {% endif%} -ntp authentication-key {{ item.key_num }} {{ auth_type }} {{ item.key_string_type }} {{ item.key_string }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if os10_ntp.trusted_key is defined and os10_ntp.trusted_key %} - {% for item in os10_ntp.trusted_key %} - {% if item.key_num is defined and item.key_num %} - {% if item.state is defined and item.state == "absent" %} -no ntp trusted-key {{ item.key_num }} - {% else %} -ntp trusted-key {{ item.key_num }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if os10_ntp.intf is defined and os10_ntp.intf %} - {% for key in os10_ntp.intf.keys() %} -interface {{ key }} - {% if os10_ntp.intf[key].disable is defined %} - {% if os10_ntp.intf[key].disable %} - ntp disable - {% else %} - no ntp disable - {% endif %} - {% endif %} - {% if os10_ntp.intf[key].broadcast is defined %} - {% if os10_ntp.intf[key].broadcast %} - ntp broadcast client - {% else %} - no ntp broadcast client - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp_vrf.j2 b/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp_vrf.j2 deleted file mode 100644 index d2e12a397..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/templates/os10_ntp_vrf.j2 +++ /dev/null @@ -1,18 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure NTP VRF for os10 Devices -os10_ntp: - vrf: - name: red - state: present -###############################################} -{% if os10_ntp is defined and os10_ntp %} - {% if os10_ntp.vrf is defined and os10_ntp.vrf.name is defined %} - {% if os10_ntp.vrf.state is defined and os10_ntp.vrf.state == "absent" %} -no ntp enable vrf {{ os10_ntp.vrf.name }} - {% else %} -ntp enable vrf {{ os10_ntp.vrf.name }} - {% endif%} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/inventory b/ansible_collections/dellemc/os10/roles/os10_ntp/tests/inventory deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_ntp/tests/main.os10.yaml deleted file mode 100644 index cc2a9b09a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/main.os10.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -# vars file for dellemc.os10.os10_ntp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_ntp: - source: ethernet 1/1/2 - master: 5 - authenticate: true - authentication_key: - - key_num: 123 - key_string_type: 0 - key_string: test - state: present - trusted_key: - - key_num: 1323 - state: present - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: present - intf: - ethernet 1/1/2: - disable: true - broadcast: true diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/tests/test.yml deleted file mode 100644 index dce69c7b5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - dellemc.os10.os10_ntp diff --git a/ansible_collections/dellemc/os10/roles/os10_ntp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_ntp/vars/main.yml deleted file mode 100644 index e90d53c06..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_ntp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_ntp diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/LICENSE b/ansible_collections/dellemc/os10/roles/os10_prefix_list/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/README.md b/ansible_collections/dellemc/os10/roles/os10_prefix_list/README.md deleted file mode 100644 index dce141e8f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/README.md +++ /dev/null @@ -1,104 +0,0 @@ -Prefix-list role -================ - -This role facilitates the configuration of a prefix-list. It supports the configuration of an IP prefix-list, and assigns the prefix-list to line terminals. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The prefix-list role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` value -- If `os10_cfg_generate` set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_prefix_list keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``type`` | string (required): ipv4,ipv6 | Configures an L3 (IPv4/IPv6) prefix-list | os10 | -| ``name`` | string (required) | Configures the prefix-list name | os10 | -| ``description`` | string | Configures the prefix-list description | os10 | -| ``entries`` | list | Configures rules in the prefix-list (see ``seqlist.*``) | os10 | -| ``entries.number`` | int (required) | Specifies the sequence number of the prefix-list rule | os10 | -| ``entries.permit`` | boolean (required): true,false | Specifies the rule to permit packets if set to true, and specifies to reject packets if set to false | os10 | -| ``entries.net_num`` | string (required) | Specifies the network number | os10 | -| ``entries.mask`` | string (required) | Specifies the mask | os10 | -| ``entries.condition_list`` | list | Configures conditions to filter packets (see ``condition_list.*``)| os10 | -| ``condition_list.condition`` | list | Specifies the condition to filter packets from the source address | os10 | -| ``condition_list.prelen`` | string (required) | Specifies the allowed prefix length | os10 | -| ``entries.state`` | string: absent,present\* | Deletes the rule from the prefix-list if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the prefix-list if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_prefix_list* role to configure prefix-list for both IPv4 and IPv6. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_prefix_list* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: present - state: present - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_prefix_list - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/defaults/main.yml deleted file mode 100644 index 8d2180296..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_prefix_list diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/handlers/main.yml deleted file mode 100644 index 72b64726c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_prefix_list diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/.galaxy_install_info b/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/.galaxy_install_info deleted file mode 100644 index ccddfc422..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/.galaxy_install_info +++ /dev/null @@ -1 +0,0 @@ -{install_date: 'Fri Mar 10 15:35:29 2017', version: v1.0.1} diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/main.yml deleted file mode 100644 index 287ff507a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/meta/main.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_prefix_list role facilitates the configuration of prefix list attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/tasks/main.yml deleted file mode 100644 index 449b80ba6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating prefix list configuration for os10" - template: - src: os10_prefix_list.j2 - dest: "{{ build_dir }}/prefixlist10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning prefix list configuration for os10" - os10_config: - src: os10_prefix_list.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/templates/os10_prefix_list.j2 b/ansible_collections/dellemc/os10/roles/os10_prefix_list/templates/os10_prefix_list.j2 deleted file mode 100644 index fe598331d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/templates/os10_prefix_list.j2 +++ /dev/null @@ -1,95 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{#################################### -Purpose: -Configure pl on OS10 devices -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: present - state: present -#####################################} -{% if (os10_prefix_list is defined and os10_prefix_list) %} - {% for val in os10_prefix_list %} - {% if val.name is defined and val.name %} - {% if val.state is defined and val.state == "absent" %} - {% if val.type is defined and val.type == "ipv4" %} -no ip prefix-list {{ val.name }} - {% elif val.type is defined and val.type == "ipv6" %} -no ipv6 prefix-list {{ val.name }} - {% endif %} - {% else %} - {% if val.type is defined and val.type == "ipv4" %} - {% set ip = "ip" %} - {% elif val.type is defined and val.type == "ipv6" %} - {% set ip = "ipv6" %} - {% endif %} - {% if val.description is defined %} - {% if val.description %} -{{ ip }} prefix-list {{ val.name }} description {{ val.description }} - {% else %} -no {{ ip }} prefix-list {{ val.name }} description {{ val.description }} - {% endif %} - {% endif %} - {% if val.entries is defined and val.entries %} - {% for rule in val.entries %} - {% if rule.number is defined and rule.number %} - {% if rule.state is defined %} - {% if rule.state == "absent" %} -no {{ ip }} prefix-list {{ val.name }} seq {{ rule.number }} - {% else %} - {% if rule.permit is defined %} - {% if rule.permit %} - {% set is_permit = "permit" %} - {% else %} - {% set is_permit = "deny" %} - {% endif %} - {% endif %} - {% if rule.net_num is defined and rule.net_num %} - {% if rule.mask is defined %} - {% if rule.mask or rule.mask == 0 %} - {% if rule.condition_list is defined and rule.condition_list %} - {% set condition_string = [' '] %} - {% set item = "" %} - {% if rule.condition_list | length > 1 %} - {% for condition in rule.condition_list %} - {% if rule.condition_list[0].condition == "ge" and rule.condition_list[1].condition == "le" %} - {% set item = condition_string[0] + condition.condition + ' ' + condition.prelen|string + ' ' %} - {% endif %} - {% if condition_string.insert(0,item) %} {% endif %} - {% endfor %} - {% else %} - {% for condition in rule.condition_list %} - {% if rule.condition_list[0].condition == "ge" or rule.condition_list[0].condition == "le" %} - {% set item = condition_string[0] + condition.condition + ' ' + condition.prelen|string + ' ' -%} - {% endif %} - {% if condition_string.insert(0,item) %} {% endif %} - {% endfor %} - {% endif %} -{{ ip }} prefix-list {{ val.name }} seq {{ rule.number }} {{ is_permit }} {{ rule.net_num }}/{{ rule.mask }}{{ condition_string[0] }} - {% else %} -{{ ip }} prefix-list {{ val.name }} seq {{ rule.number}} {{ is_permit }} {{ rule.net_num }}/{{ rule.mask }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/main.os10.yaml deleted file mode 100644 index 3e8250fdd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/main.os10.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# vars file for dellemc.os10.os10_prefix_list, -# below gives a sample configuration -# Sample variables for OS10 device -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: present - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/test.yaml deleted file mode 100644 index 46fb739ae..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_prefix_list diff --git a/ansible_collections/dellemc/os10/roles/os10_prefix_list/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_prefix_list/vars/main.yml deleted file mode 100644 index bcff7f3fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_prefix_list/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_prefix_list diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/LICENSE b/ansible_collections/dellemc/os10/roles/os10_qos/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/README.md b/ansible_collections/dellemc/os10/roles/os10_qos/README.md deleted file mode 100644 index 584159707..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/README.md +++ /dev/null @@ -1,90 +0,0 @@ -QoS role -======== - -This role facilitates the configuration quality of service (QoS) attributes like policy-map and class-map. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The QoS role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_qos keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``policy_map`` | list | Configures the policy-map (see ``policy_map.*``) | os10 | -| ``policy_map.name`` | string (required) | Configures the policy-map name | os10 | -| ``policy_map.type`` | string: qos\*, application, control-plane, network-qos, queuing in os10 | Configures the policy-map type | os10 | -| ``policy_map.state`` | string: present\*,absent | Deletes the policy-map if set to absent | os10 | -| ``class_map`` | list | Configures the class-map (see ``class_map.*``) | os10 | -| ``class_map.name`` | string (required) | Configures the class-map name | os10 | -| ``class_map.type`` | string: qos\*,application,control-plane,network-qos,queuing | Configures the class-map type | os10 | -| ``class_map.state`` | string: present\*,absent | Deletes the class-map if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_qos* role to configure the policy-map class-map. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_qos* role. By including the role, you automatically get access to all of the tasks to configure QoS features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_qos: - policy_map: - - name: testpolicy - type: qos - state: present - class_map: - - name: testclass - type: application - state: present - -**Simple playbook to setup qos — leaf.yaml** - - - hosts: leaf1 - roles: - - Dell-Networking.os10.os10_qos - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_qos/defaults/main.yml deleted file mode 100644 index 447b43293..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/defaults/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# defaults file for os10_qos -match_type: - match_all: match-all - match_any: match-any diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_qos/handlers/main.yml deleted file mode 100644 index 43fd82c70..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for os10_qos diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_qos/meta/main.yml deleted file mode 100644 index 0b07e1d92..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_qos role facilitates the configuration of qos attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_qos/tasks/main.yml deleted file mode 100644 index 6921f69a2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for Dellos10 - - name: "Provisioning Qos configuration for os10" - os10_config: - src: os10_qos.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output - - - name: "Generating Qos configuration for os10" - template: - src: os10_qos.j2 - dest: "{{ build_dir }}/qos10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/templates/os10_qos.j2 b/ansible_collections/dellemc/os10/roles/os10_qos/templates/os10_qos.j2 deleted file mode 100644 index a94c54158..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/templates/os10_qos.j2 +++ /dev/null @@ -1,48 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{##################################################### -Purpose: -Configure qos commands for os10 Devices. -os10_qos: - policy_map: - - name: testpolicy - type: qos - state: present - class_map: - - name: testclass - type: application - state: present -#####################################################} -{% if os10_qos is defined and os10_qos %} -{% for key in os10_qos.keys() %} - {% if key =="policy_map" %} - {% for vars in os10_qos[key] %} - {% if vars.name is defined and vars.name %} - {% if vars.state is defined and vars.state == "absent" %} -no policy-map {{ vars.name }} - {% else %} - {% if vars.type is defined and vars.type %} -policy-map type {{ vars.type }} {{ vars.name }} - {% else %} -policy-map type qos {{ vars.name }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% elif key =="class_map" %} - {% for vars in os10_qos[key] %} - {% if vars.name is defined and vars.name %} - {% if vars.state is defined and vars.state == "absent" %} -no class-map {{ vars.name }} - {% else %} - {% if vars.type is defined and vars.type %} -class-map type {{ vars.type }} {{ vars.name }} - {% else %} -class-map type qos {{ vars.name }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/tests/inventory b/ansible_collections/dellemc/os10/roles/os10_qos/tests/inventory deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_qos/tests/main.os10.yaml deleted file mode 100644 index 191d94cec..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/tests/main.os10.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Sample variables for OS10 device -os10_qos: - policy_map: - - name: testpolicy - type: qos - state: present - class_map: - - name: testclas - type: qos - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_qos/tests/test.yml deleted file mode 100644 index 4107ee811..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - os10_qos diff --git a/ansible_collections/dellemc/os10/roles/os10_qos/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_qos/vars/main.yml deleted file mode 100644 index ecee178ee..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_qos/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for os10_qos diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/LICENSE b/ansible_collections/dellemc/os10/roles/os10_raguard/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/README.md b/ansible_collections/dellemc/os10/roles/os10_raguard/README.md deleted file mode 100644 index abf7cf4af..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/README.md +++ /dev/null @@ -1,126 +0,0 @@ -IPv6 RA uard role -=================== - -This role facilitates the configuration of IPv6 RA Guard attributes. It specifically enables configuration of IPv6 RA Guard feature enable/disable, IPv6 RA Guard policy definition and policy parameter configuration, and attachment of IPv6 RA Guard policy to an interface. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The IPv6 RA Guard role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_raguard keys** - - -| Key | Type | Description |Support | -|--------------------------------------|-------------------------|----------------------------------------------------------|---------| -| ``enable`` | boolean | Enables IPv6 RA-Guard feature | os10 | -| ``policy`` | list | Configures the IPv6 RA Guard policy (see ``policy.*``) | os10 | -| ``policy.state`` | string: absent/present\*| Deletes the policy if set to absent | os10 | -| ``policy.name`` | string (required) | Configures the IPv6 RA Guard policy name | os10 | -| ``policy.device_role.value`` | string (required) | Configures the device role for a policy | os10 | -| ``policy.device_role.state`` | string: absent,present\*| Deletes the device role if set to absent | os10 | -| ``policy.managed_config_flag.value`` | string | Configures the managed config flag param for a policy | os10 | -| ``policy.managed_config_flag.state`` | string: absent,present\*| Deletes the managed config flag if set to absent | os10 | -| ``policy.other_config_flag.value`` | string | Configures the other config flag param for a policy | os10 | -| ``policy.other_config_flag.state`` | string: absent,present\*| Deletes the other config flag if set to absent | os10 | -| ``policy.mtu.value`` | integer | Configures the MTU param for a policy | os10 | -| ``policy.mtu.state`` | string: absent,present\*| Deletes the MTU if set to absent | os10 | -| ``policy.reachable_time.value`` | integer | Configures the reachable time param for a policy | os10 | -| ``policy.reachable_time.state`` | string: absent,present\*| Deletes the reachable time if set to absent | os10 | -| ``policy.retrans_timer.value`` | integer | Configures the retransmit timer param for a policy | os10 | -| ``policy.retrans_timer.state`` | string: absent,present\*| Deletes the retransmit timer if set to absent | os10 | -| ``policy.router_lifetime.value`` | integer | Configures the router lifetime param for a policy | os10 | -| ``policy.router_lifetime.state`` | string: absent,present\*| Deletes the router lifetime if set to absent | os10 | -| ``policy.router_preference.value`` | string | Configures the router preference param for a policy | os10 | -| ``policy.router_preference.state`` | string: absent,present\*| Deletes the router preference if set to absent | os10 | -| ``policy.match`` | list | Configures the prefix/ACL/MAC list param for a policy | os10 | -| ``policy.match.type`` | string | Configures the prefix/ACL/MAC type for a policy | os10 | -| ``policy.match.name`` | string | Configures the prefix/ACL/MAC name for a policy | os10 | -| ``policy.match.state`` | string: absent,present\*| Deletes the prefix/ACL/MAC if set to absent | os10 | -| ``intf`` | dictionary | Configures IPv6 RA Guard on the interface (see``intf.*``) | os10 | -| ``intf.<interface name>`` | dictionary | Configures RA Guard on the interface (see``<interface name>.*``)| os10 | -| ``<interface name>.policy_name`` | String | Configures RA Guard policy name to be attached on an interface | os10 | -| ``<interface name>.vlan`` | String | Configures VLAN name to which policy to be attached on an interface| os10| -| ``<interface name>.state`` | String: absent,present\*| Deletes the policy if set to absent an interface | os10| - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_raguard* role to configure the IPv6 RA Guard feature enable/disable, IPv6 RA Guard Policy defination and policy parameter configuration, Attachment of IPv6 RA Guard policy to an interface. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, it generates the configuration commands as a .part file in *build_dir* path. By default it is set to false. The example writes a simple playbook that only references the *os10_raguard* role. By including the role, you automatically get access to all of the tasks to configure IPv6 RA Guard attributes. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - host: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_raguard: - enable: true - policy: - - policy_name: test - device_role: - value: router - state: present - managed_config_flag: - value: "on" - state: present - mtu: - value: 1280 - state: present - match: - - type: prefix_list - name: test_prefix - state: present - state: present - intf: - ethernet 1/1/2: - policy_name: test - vlan: 10 - state: present - -**Simple playbook to setup IPv6 RA Guard — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_raguard - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_raguard/defaults/main.yml deleted file mode 100644 index 57e6cf6b0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_raguard diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_raguard/handlers/main.yml deleted file mode 100644 index 5b69a7974..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_raguard diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_raguard/meta/main.yml deleted file mode 100644 index 1093615db..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_raguard role facilitates the configuration of IPv6 RA Guard attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_raguard/tasks/main.yml deleted file mode 100644 index f2ccf55a2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# tasks file for dellemc.os10.os10_raguard -# tasks file for os10 - - name: "Generating IPv6 RA Guard configuration for os10" - template: - src: os10_raguard.j2 - dest: "{{ build_dir }}/raguard10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning IPv6 RA Guard configuration for os10" - os10_config: - src: os10_raguard.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/templates/os10_raguard.j2 b/ansible_collections/dellemc/os10/roles/os10_raguard/templates/os10_raguard.j2 deleted file mode 100644 index 7abc27d08..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/templates/os10_raguard.j2 +++ /dev/null @@ -1,174 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure IPv6 RA Guard commands for OS10 Devices -os10_raguard: - enable: true - policy: - - policy_name: test - device_role: - value: router - state: present - managed_config_flag: - value: "on" - state: present - other_config_flag: - value: "on" - state: present - mtu: - value: 1280 - state: present - reachable_time: - value: 100 - state: present - retrans_timer: - value: 100 - state: present - router_lifetime: - value: 10 - state: present - router_preference: - value: high - state: present - match: - - type: prefix_list - name: test_prefix - state: present - - type: access_list - name: test_access - state: present - - type: mac_list - name: test_mac - state: present - state: present - intf: - ethernet 1/1/2: - policy_name: test - vlan: 10 - state: present - ethernet 1/1/3: - policy_name: test - vlan: all - state: present - ethernet 1/1/4: - policy_name: test - vlan: 10,11,12,15 - state: present -###############################################} -{% if os10_raguard is defined and os10_raguard %} - {% if os10_raguard.enable is defined %} - {% if os10_raguard.enable %} -ipv6 nd ra-guard enable - {% else %} -no ipv6 nd ra-guard enable - {% endif %} - {% endif %} - {% if os10_raguard.policy is defined and os10_raguard.policy %} - {% for item in os10_raguard.policy %} - {% if item.policy_name is defined and item.policy_name %} - {% if item.state is defined and item.state == "absent" %} -no ipv6 nd ra-guard policy {{ item.policy_name }} - {% else %} -ipv6 nd ra-guard policy {{ item.policy_name }} - {% if item.device_role is defined and item.device_role %} - {% if item.device_role.state is defined and item.device_role.state == "absent" %} -no device-role {{ item.device_role }} - {% else %} -device-role {{ item.device_role.value }} - {% endif %} - {% endif %} - {% if item.device_role is defined and item.device_role.value == "router" %} - {% if item.managed_config_flag is defined and item.managed_config_flag %} - {% if item.managed_config_flag.state is defined and item.managed_config_flag.state == "absent" %} -no managed-config-flag {{ item.managed_config_flag.value }} - {% else %} -managed-config-flag {{ item.managed_config_flag.value }} - {% endif %} - {% endif %} - {% if item.other_config_flag is defined and item.other_config_flag %} - {% if item.other_config_flag.state is defined and item.other_config_flag.state == "absent" %} -no other-config-flag {{ item.other_config_flag.value }} - {% else %} -other-config-flag {{ item.other_config_flag.value }} - {% endif %} - {% endif %} - {% if item.mtu is defined and item.mtu %} - {% if item.mtu.state is defined and item.mtu.state == "absent" %} -no mtu {{ item.mtu.value }} - {% else %} -mtu {{ item.mtu.value }} - {% endif %} - {% endif %} - {% if item.reachable_time is defined and item.reachable_time %} - {% if item.reachable_time.state is defined and item.reachable_time.state == "absent" %} -no reachable-time {{ item.reachable_time.value }} - {% else %} -reachable-time {{ item.reachable_time.value }} - {% endif %} - {% endif %} - {% if item.retrans_timer is defined and item.retrans_timer %} - {% if item.retrans_timer.state is defined and item.retrans_timer.state == "absent" %} -no retrans-timer {{ item.retrans_timer.value }} - {% else %} -retrans-timer {{ item.retrans_timer.value }} - {% endif %} - {% endif %} - {% if item.router_lifetime is defined and item.router_lifetime %} - {% if item.router_lifetime.state is defined and item.router_lifetime.state == "absent" %} -no router-lifetime {{ item.router_lifetime.value }} - {% else %} -router-lifetime {{ item.router_lifetime.value }} - {% endif %} - {% endif %} - {% if item.router_preference is defined and item.router_preference %} - {% if item.router_preference.state is defined and item.router_preference.state == "absent" %} -no router-preference maximum - {% else %} -router-preference maximum {{ item.router_preference.value }} - {% endif %} - {% endif %} - {% if item.match is defined and item.match %} - {% for item1 in item.match %} - {% if item1.type is defined %} - {% if item1.type == "prefix_list" %} - {% if item1.state is defined and item1.state == "absent" %} -no match ra ipv6-prefix-list {{ item1.name }} - {% else %} -match ra ipv6-prefix-list {{ item1.name }} - {% endif %} - {% endif %} - {% if item1.type == "access_list" %} - {% if item1.state is defined and item1.state == "absent" %} -no match ra ipv6-access-list {{ item1.name }} - {% else %} -match ra ipv6-access-list {{ item1.name }} - {% endif %} - {% endif %} - {% if item1.type == "mac_list" %} - {% if item1.state is defined and item1.state == "absent" %} -no match ra mac-access-list {{ item1.name }} - {% else %} -match ra mac-access-list {{ item1.name }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if os10_raguard.intf is defined and os10_raguard.intf %} - {% for key in os10_raguard.intf.keys() %} -interface {{ key }} - {% if os10_raguard.intf[key].policy_name is defined and os10_raguard.intf[key].policy_name %} - {% if os10_raguard.intf[key].state is defined and os10_raguard.intf[key].state == "absent" %} -no ipv6 nd ra-guard attach-policy {{ os10_raguard.intf[key].policy_name }} vlan {{ os10_raguard.intf[key].vlan }} - {% else %} -ipv6 nd ra-guard attach-policy {{ os10_raguard.intf[key].policy_name }} vlan {{ os10_raguard.intf[key].vlan }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_raguard/tests/inventory.yaml deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/inventory.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_raguard/tests/main.os10.yaml deleted file mode 100644 index 3d1548c7c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/main.os10.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -# vars file for dellemc.os10.os10_raguard, -# below gives a sample configuration -# Sample variables for OS10 device -os10_raguard: - enable: true - policy: - - policy_name: test - device_role: - value: router - state: present - managed_config_flag: - value: "on" - state: present - other_config_flag: - value: "on" - state: present - mtu: - value: 1280 - state: present - reachable_time: - value: 100 - state: present - retrans_timer: - value: 100 - state: present - router_lifetime: - value: 10 - state: present - router_preference: - value: high - state: present - match: - - type: prefix_list - name: test_prefix - state: present - - type: access_list - name: test_access - state: present - - type: mac_list - name: test_mac - state: present - state: present - intf: - ethernet 1/1/2: - policy_name: test - vlan: 10 - state: present - ethernet 1/1/3: - policy_name: test - vlan: all - state: present - ethernet 1/1/4: - policy_name: test - vlan: 10,11,12,15 - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_raguard/tests/test.yaml deleted file mode 100644 index 7ae62a2c8..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - dellemc.os10.os10_raguard diff --git a/ansible_collections/dellemc/os10/roles/os10_raguard/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_raguard/vars/main.yml deleted file mode 100644 index 172b49cf2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_raguard/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_raguard diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/LICENSE b/ansible_collections/dellemc/os10/roles/os10_route_map/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/README.md b/ansible_collections/dellemc/os10/roles/os10_route_map/README.md deleted file mode 100644 index 1160ca48c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/README.md +++ /dev/null @@ -1,190 +0,0 @@ -Route-map role -============== - -This role facilitates the configuration of route-map attributes. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The route-map role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_route_map keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``route_map`` | list | Configures the route-map (see ``route_map.*``) | os10 | -| ``route_map.name`` | string (required) | Configures the route-map name | os10 | -| ``route_map.permit`` | boolean | Configures permit/deny set operations | os10 | -| ``route_map.seq_num`` | integer | Configures the sequence number | os10 | -| ``route_map.continue`` | integer | Configures the next sequence number | os10 | -| ``route_map.set`` | dictionary | Configures route-map to set values in the destination routing protocol (see ``set.*``) | os10 | -| ``set.local_pref`` | integer | Configures the BGP local preference path attribute | os10 | -| ``set.metric`` | string | Configures a specific value to add or subtract from the existing metric value ("+ <value>", "- <value>", <value> format) | os10 | -| ``set.metric_type`` | string: internal,type-1,type-2 | Configures the metric type for the destination routing protocol | os10 | -| ``set.origin`` | string: igp,egp,incomplete | Configures the BGP origin attribute | os10 | -| ``set.weight`` | integer | Configures the weight for the BGP route | os10 | -| ``set.comm_list`` | dictionary | Configures the BGP community list (see ``comm_list.*``) | os10 | -| ``comm_list.add`` | string | Adds the community attribute of a BGP update | os10 | -| ``comm_list.delete`` | string | Deletes a community attribute of a BGP update | os10 | -| ``set.community`` | string | Configures the community attribute for a BGP route update | os10 | -| ``set.extcomm_list`` | dictionary | Configures the BGP extcommunity list (see ``extcomm_list.*``) | os10 | -| ``extcomm_list.add`` | string | Adds an extended community attribute of a BGP update | os10 | -| ``extcomm_list.delete`` | string | Deletes the extended community attribute of a BGP update | os10 | -| ``set.extcommunity`` | string | Configures the extended community attribute for a BGP route update | os10 | -| ``set.next_hop`` | list | Configures the next-hop address (see ``next_hop.*``) | os10 | -| ``next_hop.type`` | string: ip,ipv6 | Configures the type of the next-hop address | os10 | -| ``next_hop.address`` | string | Configures the next-hop address | os10 | -| ``next_hop.track_id`` | integer | Configures the object track ID | os10 | -| ``next_hop.state`` | string: present\*,absent | Deletes the next-hop address if set to absent | os10 | -| ``route_map.match`` | list | Configures the route-map to match values from the route table (see ``match.*``) | os10 | -| ``match.ip_type`` | string (required): ipv4,ipv6 | Configures the IPv4/IPv6 address to match | os10 | -| ``match.access_group`` | string | Configures the access-group or list to match | os10 | -| ``match.source_protocol_ebgp`` | string | Configures the source protocol to eBGP to match | os10 | -| ``match.source_protocol_ibgp`` | string | Configures the source protocol to iBGP to match | os10 | -| ``match.source_protocol_evpn`` | string | Configures the source protocol to EVPN to match | os10 | -| ``match.source_protocol_static`` | string | Configures the source protocol to static to match | os10 | -| ``match.source_protocol_connected`` | string | Configures the source protocol to connected to match | os10 | -| ``match.source_protocol_ospf`` | string | Configures the source protocol to OSPF to match | os10 | -| ``match.prefix_list`` | string | Configures the IP prefix-list to match against | os10 | -| ``route_map.state`` | string, choices: present\*,absent | Deletes the route-map if set to absent | os10 | -| ``as_path`` | list | Configures the BGP AS path filter (see ``as_path.*``) | os10 | -| ``as_path.access_list`` | string (required) | Configures the access-list name | os10 | -| ``as_path.permit`` | boolean (required) | Configures an AS path to accept or reject | os10 | -| ``as_path.regex``| string (required) | Configures a regular expression | os10 | -| ``as_path.state`` | string: absent,present\* | Deletes the BGP as path filter if set to absent | os10 | -| ``community_list`` | list | Configures a community list entry (see ``community_list.*``) | os10 | -| ``community_list.type`` | string (required): standard,expanded | Configures the type of community-list entry | os10 | -| ``community_list.name`` | string (required) | Configures the name of community-list entry | os10 | -| ``community_list.permit`` | boolean(required) | Configures the community to accept or reject | os10 | -| ``community_list.regex`` | string (required) | Configures the regular expression for extended community list; mutually exclusive with *community_list.community* | os10 | -| ``community_list.community`` | string (required) | Configures a well-known community or community number for standard community list; mutually exclusive with *community_list.regex* | os10 | -| ``community_list.state`` | string: absent,present\* | Deletes the community list entry if set to absent | os10 | -| ``extcommunity_list`` | list | Configures extcommunity-list entry (see ``extcommunity_list.*``) | os10 | -| ``extcommunity_list.type`` | string (required): standard,expanded | Configures the type of extcommunity-list entry | os10 | -| ``extcommunity_list.name`` | string (required) | Configures the name of extcommunity-list entry | os10 | -| ``extcommunity_list.permit`` | boolean(required) | Configures the extcommunity to accept or reject | os10 | -| ``extcommunity_list.regex`` | string (required) | Configures the regular expression for the extended extcommunity list; mutually exclusive with *extcommunity_list.community* | os10 | -| ``extcommunity_list.community`` | string (required) | Configures the extended community for standard community-list; mutually exclusive with *extcommunity_list.regex* | os10 | -| ``extcommunity_list.state`` | string: absent,present\* | Deletes the extcommunity-list entry if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_route_map* role for the route-map, policy-map, and class-map. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_route_map* role. By including the role, you automatically get access to all of the tasks to configure route-map features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: present - community_list: - - type: expanded - name: qq - permit: true - regex: aaa - state: present - - type: standard - name: qqq - permit: false - community: internet - state: present - extcommunity_list: - - type: expanded - name: qq - permit: true - regex: aaa - state: present - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: present - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - source_protocol_ebgp: present - source_protocol_ibgp: present - source_protocol_evpn: present - source_protocol_static: present - source_protocol_ospf: present - source_protocol_connected: present - set: - local_pref: 1200 - metric_type: internal - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: present - -**Simple playbook to setup QoS —leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_route_map - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/defaults/main.yml deleted file mode 100644 index a78d55b8f..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_route_map diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/handlers/main.yml deleted file mode 100644 index ef0b45319..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_route_map diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/meta/main.yml deleted file mode 100644 index b73ddcef3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_route_map role facilitates the configuration of route map attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - os10 - - dellemc diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/tasks/main.yml deleted file mode 100644 index 62c94bdd5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Provisioning route-map configuration for os10" - os10_config: - src: os10_route_map.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output - - - name: "Generating route map configuration for os10" - template: - src: os10_route_map.j2 - dest: "{{ build_dir }}/routemap10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/templates/os10_route_map.j2 b/ansible_collections/dellemc/os10/roles/os10_route_map/templates/os10_route_map.j2 deleted file mode 100644 index bfca3d177..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/templates/os10_route_map.j2 +++ /dev/null @@ -1,348 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{##################################################### -Purpose: -Configure route-map commands for os10 Devices. -os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: present - community_list: - - type: standard - name: qqq - permit: false - community: internet - state: present - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: present - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - source_protocol_ebgp: "present" - source_protocol_ibgp: "present" - source_protocol_evpn: "present" - source_protocol_ospf: "present" - source_protocol_static: "present" - source_protocol_connected: "present" - set: - local_pref: 1200 - metric_type: internal - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: present -#####################################################} -{% if os10_route_map is defined and os10_route_map %} -{% for key in os10_route_map.keys() %} - {% if key == "route_map" %} - {% for vars in os10_route_map[key] %} - {% if vars.name is defined and vars.name %} - {% if vars.state is defined and vars.state == "absent" %} -no route-map {{ vars.name }} - {% else %} - {% if vars.permit is defined and vars.permit %} - {% if vars.seq_num is defined and vars.seq_num %} -route-map {{ vars.name }} permit {{ vars.seq_num }} - {% else %} -route-map {{ vars.name }} permit 10 - {% endif %} - {% elif vars.permit is defined and not vars.permit %} - {% if vars.seq_num is defined and vars.seq_num %} -route-map {{ vars.name }} deny {{ vars.seq_num }} - {% else %} -route-map {{ vars.name }} deny 10 - {% endif %} - {% else %} - {% if vars.seq_num is defined and vars.seq_num %} -route-map {{ vars.name }} permit {{ vars.seq_num }} - {% else %} -route-map {{ vars.name }} permit 10 - {% endif %} - {% endif %} - {% if vars.set is defined and vars.set %} - {% if vars.set.local_pref is defined %} - {% if vars.set.local_pref %} - set local-preference {{ vars.set.local_pref }} - {% else %} - no set local-preference - {% endif %} - {% endif %} - {% if vars.set.metric_type is defined %} - {% if vars.set.metric_type %} - set metric-type {{ vars.set.metric_type }} - {% else %} - no set metric-type internal - {% endif %} - {% endif %} - {% if vars.set.metric is defined %} - {% if vars.set.metric %} - set metric {{ vars.set.metric }} - {% else %} - no set metric - {% endif %} - {% endif %} - {% if vars.set.origin is defined %} - {% if vars.set.origin %} - set origin {{ vars.set.origin }} - {% else %} - no set origin - {% endif %} - {% endif %} - {% if vars.set.community is defined %} - {% if vars.set.community %} - set community {{ vars.set.community }} - {% else %} - no set community internet - {% endif %} - {% endif %} - {% if vars.set.extcommunity is defined %} - {% if vars.set.extcommunity %} - set extcommunity rt {{ vars.set.extcommunity }} - {% else %} - no set extcommunity rt 11:33 - {% endif %} - {% endif %} - {% if vars.set.weight is defined %} - {% if vars.set.weight %} - set weight {{ vars.set.weight }} - {% else %} - no set weight - {% endif %} - {% endif %} - {% if vars.set.comm_list is defined and vars.set.comm_list %} - {% if vars.set.comm_list.add is defined and vars.set.comm_list.add %} - set comm-list {{ vars.set.comm_list.add }} add - {% else %} - no set comm-list aa add - {% endif %} - {% if vars.set.comm_list.delete is defined and vars.set.comm_list.delete %} - set comm-list {{ vars.set.comm_list.delete }} delete - {% else %} - no set comm-list aa delete - {% endif %} - {% endif %} - {% if vars.set.extcomm_list is defined and vars.set.extcomm_list %} - {% if vars.set.extcomm_list.add is defined and vars.set.extcomm_list.add %} - set extcomm-list {{ vars.set.extcomm_list.add }} add - {% else %} - no set extcomm-list aa add - {% endif %} - {% if vars.set.extcomm_list.delete is defined and vars.set.extcomm_list.delete %} - set extcomm-list {{ vars.set.extcomm_list.delete }} delete - {% else %} - no set extcomm-list aa delete - {% endif %} - {% endif %} - {% if vars.set.next_hop is defined and vars.set.next_hop %} - {% for item in vars.set.next_hop %} - {% if item.type is defined and item.type %} - {% if item.address is defined and item.address %} - {% if item.state is defined and item.state=="absent" %} - no set {{ item.type }} next-hop {{ item.address }} - {% else %} - {% if item.track_id is defined and item.track_id %} - set {{ item.type }} next-hop {{ item.address }} track-id {{ item.track_id }} - {% else %} - set {{ item.type }} next-hop {{ item.address }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% if vars.continue is defined %} - {% if vars.continue %} - continue {{ vars.continue }} - {% else %} - no continue - {% endif %} - {% endif %} - {% if vars.match is defined and vars.match %} - {% for match in vars.match %} - {% if match.ip_type is defined and match.ip_type %} - {% if match.ip_type =="ipv4" %} - {% set ip = "ip" %} - {% else %} - {% set ip = "ipv6" %} - {% endif %} - {% if match.access_group is defined %} - {% if match.access_group %} - match {{ ip }} address {{ match.access_group }} - {% else %} - no match {{ ip }} address a - {% endif %} - {% endif %} - {% if match.prefix_list is defined %} - {% if match.prefix_list %} - match {{ ip }} address prefix-list {{ match.prefix_list }} - {% else %} - no match {{ ip }} address prefix-list a - {% endif %} - {% endif %} - {% endif %} - {% if match.source_protocol_ebgp is defined and match.source_protocol_ebgp %} - {% if match.source_protocol_ebgp == "present" %} - match source-protocol bgp ebgp - {% endif %} - {% if match.source_protocol_ebgp == "absent" %} - no match source-protocol bgp ebgp - {% endif %} - {% endif %} - {% if match.source_protocol_ibgp is defined and match.source_protocol_ibgp %} - {% if match.source_protocol_ibgp == "present" %} - match source-protocol bgp ibgp - {% endif %} - {% if match.source_protocol_ibgp == "absent" %} - no match source-protocol bgp ibgp - {% endif %} - {% endif %} - {% if match.source_protocol_evpn is defined and match.source_protocol_evpn %} - {% if match.source_protocol_evpn == "present" %} - match source-protocol bgp evpn - {% endif %} - {% if match.source_protocol_evpn == "absent" %} - no match source-protocol bgp evpn - {% endif %} - {% endif %} - {% if match.source_protocol_ospf is defined and match.source_protocol_ospf %} - {% if match.source_protocol_ospf == "present" %} - match source-protocol ospf - {% endif %} - {% if match.source_protocol_ospf == "absent" %} - no match source-protocol ospf - {% endif %} - {% endif %} - {% if match.source_protocol_static is defined and match.source_protocol_static %} - {% if match.source_protocol_static == "present" %} - match source-protocol static - {% endif %} - {% if match.source_protocol_static == "absent" %} - no match source-protocol static - {% endif %} - {% endif %} - {% if match.source_protocol_connected is defined and match.source_protocol_connected %} - {% if match.source_protocol_connected == "present" %} - match source-protocol connected - {% endif %} - {% if match.source_protocol_connected == "absent" %} - no match source-protocol connected - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% elif key == "as_path" %} - {% for item in os10_route_map[key] %} - {% if item.access_list is defined and item.access_list %} - {% if item.permit is defined %} - {% if item.permit %} - {% set filter = "permit" %} - {% else %} - {% set filter = "deny" %} - {% endif %} - {% if item.regex is defined and item.regex %} - {% if item.state is defined and item.state == "absent" %} -no ip as-path access-list {{ item.access_list }} {{ filter }} {{ item.regex }} - {% else %} -ip as-path access-list {{ item.access_list }} {{ filter }} {{ item.regex }} - {% endif %} - {% endif %} - {% else %} - {% if item.state is defined and item.state == "absent" %} -no ip as-path access-list {{ item.access_list }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% elif key == "community_list" %} - {% for item in os10_route_map[key] %} - {% if item.type is defined and item.type %} - {% if item.name is defined and item.name %} - {% if item.permit is defined %} - {% if item.permit %} - {% set filter = "permit" %} - {% else %} - {% set filter = "deny" %} - {% endif %} - {% if item.regex is defined and item.regex %} - {% if item.state is defined and item.state == "absent" %} -no ip community-list standard {{ item.name }} {{ filter }} {{ item.regex }} - {% else %} -ip community-list standard {{ item.name }} {{ filter }} {{ item.regex }} - {% endif %} - {% elif item.community is defined and item.community %} - {% if item.state is defined and item.state == "absent" %} -no ip community-list standard {{ item.name }} {{ filter }} {{ item.community }} - {% else %} -ip community-list {{ item.type }} {{ item.name }} {{ filter }} {{ item.community }} - {% endif %} - {% endif %} - {% else %} - {% if item.state is defined and item.state == "absent" %} -no ip community-list standard {{ item.name }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% elif key == "extcommunity_list" %} - {% for item in os10_route_map[key] %} - {% if item.type is defined and item.type %} - {% if item.name is defined and item.name %} - {% if item.permit is defined %} - {% if item.permit %} - {% set filter = "permit" %} - {% else %} - {% set filter = "deny" %} - {% endif %} - {% if item.regex is defined and item.regex %} - {% if item.state is defined and item.state == "absent" %} -no ip extcommunity-list standard {{ item.name }} {{ filter }} {{ item.regex }} - {% else %} -ip extcommunity-list standard {{ item.name }} {{ filter }} {{ item.regex }} - {% endif %} - {% elif item.community is defined and item.community %} - {% if item.state is defined and item.state == "absent" %} -no ip extcommunity-list standard {{ item.name }} {{ filter }} {{ item.community }} - {% else %} -ip extcommunity-list {{ item.type }} {{ item.name }} {{ filter }} {{ item.community }} - {% endif %} - {% endif %} - {% else %} - {% if item.state is defined and item.state == "absent" %} -no ip extcommunity-list standard {{ item.name }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/inventory b/ansible_collections/dellemc/os10/roles/os10_route_map/tests/inventory deleted file mode 100644 index 85a255f94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ ---- -localhost diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_route_map/tests/main.yaml deleted file mode 100644 index e791b2951..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/main.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -# Sample variables for OS10 device -os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: present - community_list: - - type: standard - name: qqq - permit: false - community: internet - state: present - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: present - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - source_protocol_ebgp: present - source_protocol_ibgp: present - source_protocol_evpn: present - source_protocol_static: present - source_protocol_ospf: present - source_protocol_connected: present - set: - local_pref: 1200 - metric_type: internal - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/tests/test.yml deleted file mode 100644 index 4302a12d0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - connection: network_cli - roles: - - dellemc.os10.os10_route_map diff --git a/ansible_collections/dellemc/os10/roles/os10_route_map/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_route_map/vars/main.yml deleted file mode 100644 index ff4a48ac4..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_route_map/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_route_map diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_snmp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/README.md b/ansible_collections/dellemc/os10/roles/os10_snmp/README.md deleted file mode 100644 index a875a2340..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/README.md +++ /dev/null @@ -1,269 +0,0 @@ -SNMP role -========= - -This role facilitates the configuration of global SNMP attributes. It supports the configuration of SNMP server attributes including users, group, community, location, and traps. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The SNMP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_snmp keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``snmp_contact`` | string | Configures SNMP contact information | os10 | -| ``snmp_location`` | string | Configures SNMP location information | os10 | -| ``snmp_community`` | list | Configures SNMP community information (see ``snmp_community.*``) | os10 | -| ``snmp_community.name`` | string (required) | Configures the SNMP community string | os10 | -| ``snmp_community.access_mode`` | string: ro,rw | Configures access-mode for the community | os10 | -| ``snmp_community.access_list`` | dictionary | Configures ACL for the community (see ``snmp_community.access_list.*``) | os10 | -| ``snmp_community.access_list.name`` | string | Specifies the name of the ACL for the community | os10 | -| ``snmp_community.access_list.state`` | string: absent,present\* | Deletes the ACL from the community if set to absent | os10 | -| ``snmp_community.state`` | string: absent,present\* | Deletes the SNMP community information if set to absent | os10 | -| ``snmp_engine_id`` | string | Configures SNMP local EngineID | os10 | -| ``snmp_remote_engine_id`` | list | Configures SNMP remote engine information (see ``snmp_remote_engine_id.*``) | os10 | -| ``snmp_remote_engine_id.ip`` | string | Configures the IP address of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.engine_id`` | string | Configures the EngineID of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.udpport`` | string | Configures the UDP port of the SNMP remote engine | os10 | -| ``snmp_remote_engine_id.state`` | string: absent,present\* | Deletes the SNMP remote engine information if set to absent | os10 | -| ``snmp_group`` | list | Configures the SNMP group information (see ``snmp_group.*``) | os10 | -| ``snmp_group.name`` | string | Configures the name of the SNMP group | os10 | -| ``snmp_group.version`` | string: 1,2c,3 | Configures the version of the SNMP group | os10 | -| ``snmp_group.security_level`` | string: auth,noauth,priv | Configures the security level of SNMP group for version 3 | os10 | -| ``snmp_group.access_list`` | dictionary | Configures the access list of the SNMP group (see ``snmp_group.access_list.*``)| os10 | -| ``snmp_group.access_list.name`` | string | Specifies the name of the access list for the SNMP group wtih version 1 or 2c | os10 | -| ``snmp_group.access_list.state`` | string: absent,present\* | Deletes the access list from the SNMP group if set to absent | os10 | -| ``snmp_group.read_view`` | dictionary | Configures the read view of the SNMP group (see ``snmp_group.read_view.*``) | os10 | -| ``snmp_group.read_view.name`` | string | Specifies the name of the read view for the SNMP group | os10 | -| ``snmp_group.read_view.state`` | string: absent,present\* | Deletes the read view from the SNMP group if set to absent | os10 | -| ``snmp_group.write_view`` | dictionary | Configures the write view of the SNMP group (see ``snmp_group.write_view``) | os10 | -| ``snmp_group.write_view.name`` | string | Specifies the name of the write view for the SNMP group | os10 | -| ``snmp_group.write_view.state`` | string: absent,present\* | Deletes the write view from the SNMP group if set to absent | os10 | -| ``snmp_group.notify_view`` | dictionary | Configures the notify view of the SNMP group (see ``snmp_group.notify_view.*``) | os10 | -| ``snmp_group.notify_view.name`` | string | Specifies the name of the notify view for the SNMP group | os10 | -| ``snmp_group.notify_view.state`` | string: absent,present\* | Deletes the notify view from the SNMP group if set to absent | os10 | -| ``snmp_group.state`` | string: absent,present\* | Deletes the SNMP group if set to absent | os10 | -| ``snmp_host`` | list | Configures SNMP hosts to receive SNMP traps (see ``snmp_host.*``) | os10 | -| ``snmp_host.ip`` | string | Configures the IP address of the SNMP trap host | os10 | -| ``snmp_host.communitystring`` | string | Configures the SNMP community string of the trap host for version 1 or 2c | os10 | -| ``snmp_host.udpport`` | string | Configures the UDP number of the SNMP trap host (0 to 65535) | os10 | -| ``snmp_host.version`` | string: 1,2c,3 (required) | Specifies the SNMP version of the host (1 or 2c or 3 in os10) | os10 | -| ``snmp_host.security_level`` | string: auth,noauth,priv | Configures the security level of the SNMP host for version 3 | os10 | -| ``snmp_host.security_name`` | string | Configures the security name of the SNMP host for version 3 | os10 | -| ``snmp_host.notification_type`` | string: traps,informs | Configures the notification type of the SNMP host | os10 | -| ``snmp_host.trap_categories`` | dictionary | Enables or disables different trap categories for the SNMP host (see ``snmp_host.trap_categories.*``) | os10 | -| ``snmp_host.trap_categories.dom`` | boolean: true,false | Enables or disables dom category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.entity`` | boolean: true,false | Enables or disables entity category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.envmon`` | boolean: true,false | Enables or disables envmon category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.lldp`` | boolean: true,false | | Enables or disables lldp category traps for the SNMP host | os10 | -| ``snmp_host.trap_categories.snmp`` | boolean: true,false | | Enables or disables snmp category traps for the SNMP host | os10 | -| ``snmp_host.state`` | string: absent,present\* | Deletes the SNMP trap host if set to absent | os10 | -| ``snmp_source_interface`` | string | Configures the source interface for SNMP | os10 | -| ``snmp_traps`` | list | Configures SNMP traps (see ``snmp_traps.*``) | os10 | -| ``snmp_traps.name`` | string | Enables SNMP traps | os10 | -| ``snmp_traps.state`` | string: absent,present\* | Deletes the SNMP trap if set to absent | os10 | -| ``snmp_user`` | list | Configures the SNMP user information (see ``snmp_user.*``) | os10 | -| ``snmp_user.name`` | string | Specifies the name of the SNMP user | os10 | -| ``snmp_user.group_name`` | string | Specifies the group of the SNMP user | os10 | -| ``snmp_user.version `` | string: 1,2c,3 | Configures the version for the SNMP user | os10 | -| ``snmp_user.access_list`` | string | Configures the access list for the SNMP user with version 1 or 2c | os10 | -| ``snmp_user.authentication`` | dictionary | Configures the authentication information for the SNMP user with version 3 (see ``snmp_user.authentication.*``) | os10 | -| ``snmp_user.authentication.localized`` | boolean: true,false | Configures the password to be in localized key format or not | os10 | -| ``snmp_user.authentication.algorithm`` | string: md5, sha | Configures the authentication algorithm for the SNMP user | os10 | -| ``snmp_user.authentication.password`` | string | Configures the authentication password for the SNMP user; if localized is true it should be a hexadecimal string prefixed with 0x and qouted | os10 | -| ``snmp_user.authentication.encryption`` | dictionary | Configures the encryption parameters for the SNMP user | os10 | -| ``snmp_user.authentication.encryption.algorithm`` | string: aes,des | Configures the encryption algorithm for the SNMP user | os10 | -| ``snmp_user.authentication.encryption.password`` | string | Configures encryption password for the SNMP user; if localized is true it should be a hexadecimal string prefixed with 0x and qouted | os10 | -| ``snmp_user.remote`` | dictionary | Configures the remote SNMP entity the user belongs to (see ``snmp_user.remote.*``) | os10 | -| ``snmp_user.remote.ip`` | string | Configures the IP address of the remote entity for the SNMP user | os10 | -| ``snmp_user.remote.udpport`` | string | Configures the UDP port of the remote entiry for the SNMP user | os10 | -| ``snmp_user.state`` | string: absent,present\* | Deletes the SNMP user if set to absent | os10 | -| ``snmp_view`` | list | Configures SNMPv3 view information (see ``snmp_view.*``) | os10 | -| ``snmp_view.name`` | string | Configures the SNMP view name (up to 20 characters) | os10 | -| ``snmp_view.oid_subtree`` | integer | Configures the SNMP view for the OID subtree | os10 | -| ``snmp_view.include`` | boolean: true,false | Specifies if the MIB family should be included or excluded from the view | os10 | -| ``snmp_view.state`` | string: absent,present\* | Deletes the SNMP view if set to absent | os10 | -| ``snmp_vrf`` | string | Configures the VRF for SNMP | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_snmp* role to completely set up the SNMP server attributes. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_snmp* role. By including the role, you automatically get access to all of the tasks to configure SNMP features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_snmp: - snmp_contact: test - snmp_location: Chennai - snmp_source_interface: loopback 10 - snmp_vrf: test - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: present - state: present - snmp_engine_id: 123456789 - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - udpport: 162 - state: present - snmp_traps: - - name: all - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - trap_categories: - dom: true - lldp: true - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: true - snmp: true - state: present - snmp_group: - - name: group_1 - version: "2c" - state: present - access_list: - name: test_acl - state: present - read_view: - name: view_1 - state: present - write_view: - name: view_2 - state: present - notify_view: - name: view_3 - state: present - - name: group_2 - version: 3 - security_level: priv - state: present - read_view: - name: view_1 - state: absent - notify_view: - name: view_3 - state: present - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - remote: - ip: 1.1.1.1 - udpport: 200 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: present - - name: user_4 - group_name: group_1 - version: 3 - state: present - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present - -**Simple playbook to setup SNMP — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_snmp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_snmp/defaults/main.yml deleted file mode 100644 index 81a11877c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_snmp diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_snmp/handlers/main.yml deleted file mode 100644 index 1a8a31424..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_snmp diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_snmp/meta/main.yml deleted file mode 100644 index efbf4e408..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_snmp role facilitates the configuration of snmp attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_snmp/tasks/main.yml deleted file mode 100644 index 7ed03578d..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating SNMP configuration for os10" - template: - src: os10_snmp.j2 - dest: "{{ build_dir }}/snmp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning SNMP configuration for os10" - os10_config: - src: os10_snmp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/templates/os10_snmp.j2 b/ansible_collections/dellemc/os10/roles/os10_snmp/templates/os10_snmp.j2 deleted file mode 100644 index f95817096..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/templates/os10_snmp.j2 +++ /dev/null @@ -1,441 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure snmp commands for os10 Devices -os10_snmp: - snmp_contact: test - snmp_location: Chennai - snmp_vrf: test - snmp_source_interface: loopback 10 - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: present - state: present - snmp_traps: - - name: all - state: present - snmp_engine_id: 123456789 - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - udpport: 162 - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: true - snmp: true - state: present - snmp_group: - - name: group_1 - version: "2c" - state: present - access_list: - name: test_acl - state: present - read_view: - name: view_1 - state: present - write_view: - name: view_2 - state: present - notify_view: - name: view_3 - state: present - - name: group_2 - version: 3 - security_level: priv - state: present - read_view: - name: view_1 - state: absent - notify_view: - name: view_3 - state: present - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - remote: - ip: 1.1.1.1 - udpport: 200 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: present - - name: user_4 - group_name: group_1 - version: 3 - state: present - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present - -###############################################} -{% if os10_snmp is defined and os10_snmp %} - {% if os10_snmp.snmp_community is defined %} - {% set value = os10_snmp.snmp_community %} - {% if value %} - {% for item in value %} - {% if item.name is defined and item.name %} - {% if item.access_mode is defined and item.access_mode %} - {% if item.state is defined and item.state == "absent" %} -no snmp-server community {{ item.name }} {{ item.access_mode }} - {% else %} - {% if item.access_list is defined and item.access_list and item.access_list.name is defined and item.access_list.name %} - {% if item.access_list.state is defined and item.access_list.state == "absent" %} -no snmp-server community {{ item.name }} {{ item.access_mode }} acl {{ item.access_list.name }} - {% else %} -snmp-server community {{ item.name }} {{ item.access_mode }} acl {{ item.access_list.name }} - {% endif %} - {% else %} -snmp-server community {{ item.name }} {{ item.access_mode }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_contact is defined %} - {% set value = os10_snmp.snmp_contact %} - {% if value %} -snmp-server contact {{ value }} - {% else %} -no snmp-server contact - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_engine_id is defined %} - {% set value = os10_snmp.snmp_engine_id %} - {% if value %} -snmp-server engineID local {{ value }} - {% else %} -no snmp-server engineID local - {% endif %} - {% endif %} - - {# Remove users before removing remote engine #} - {% if os10_snmp.snmp_user is defined and os10_snmp.snmp_user %} - {% set value = os10_snmp.snmp_user %} - {% for item in value %} - {% if item.name is defined and item.name and item.group_name is defined and item.group_name %} - {% if item.state is defined and item.state == "absent" %} - {% set user_remote_option = "" %} - {% if item.remote is defined and item.remote %} - {% if item.remote.ip is defined and item.remote.ip %} - {% if item.remote.udpport is defined and item.remote.udpport %} - {% set user_remote_option = " remote " + item.remote.ip + " udp-port " + item.remote.udpport|string %} - {% endif %} - {% endif %} - {% endif %} -no snmp-server user {{ item.name }} {{ item.group_name }}{{ user_remote_option }} {{ item.version }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if os10_snmp.snmp_remote_engine_id is defined %} - {% set value = os10_snmp.snmp_remote_engine_id %} - {% for item in value %} - {% if item.host is defined and item.host %} - {% if item.state is defined and item.state == "absent" %} - {% if item.udpport is defined and item.udpport %} -no snmp-server engineID remote {{ item.host }} udp-port {{ item.udpport }} - {% else %} -no snmp-server engineID remote {{ item.host }} - {% endif %} - {% else %} - {% if item.engine_id is defined and item.engine_id %} - {% if item.udpport is defined and item.udpport %} -snmp-server engineID remote {{ item.host }} udp-port {{ item.udpport }} {{ item.engine_id }} - {% else %} -snmp-server engineID remote {{ item.host }} udp-port 162 {{ item.engine_id }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if os10_snmp.snmp_traps is defined %} - {% set value = os10_snmp.snmp_traps %} - {% if value %} - {% for val in value %} - {% if val.name is defined and val.name %} - {% if val.state is defined and val.state == "absent" %} - {% if val.name == "all" %} - {% set trap_list = ['snmp authentication','snmp linkDown','snmp linkUp','envmon fan','envmon power-supply','envmon temperature'] %} - {% for name in trap_list %} -no snmp-server enable traps {{ name }} - {% endfor %} - {% else %} -no snmp-server enable traps {{ val.name }} - {% endif %} - {% else %} - {% if val.name == "all" %} - {% set trap_list = ['snmp authentication','snmp linkDown','snmp linkUp','envmon fan','envmon power-supply','envmon temperature'] %} - {% for name in trap_list %} -snmp-server enable traps {{ name }} - {% endfor %} - {% else %} -snmp-server enable traps {{ val.name }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_group is defined and os10_snmp.snmp_group %} - {% set value = os10_snmp.snmp_group %} - {% for item in value %} - {% if item.name is defined and item.name and item.version is defined and item.version %} - {% set group_value = item.name + " " + item.version|string %} - {% if item.security_level is defined and item.security_level %} - {% if item.version|string != "1" and item.version|string != "2c" %} - {% set group_value = group_value + " " + item.security_level %} - {% endif %} - {% endif %} - {% if item.state is defined and item.state == "absent" %} -no snmp-server group {{ group_value }} - {% else %} - {% set group_options = [] %} - {% if item.version|string == "1" or item.version|string == "2c" %} - {% if item.access_list is defined and item.access_list and item.access_list.name is defined and item.access_list.name %} - {% if item.access_list.state is defined and item.access_list.state == "absent" %} -no snmp-server group {{ group_value }} access {{ item.access_list.name }} - {% else %} - {{ group_options.append("access "+item.access_list.name) }} - {% endif %} - {% endif %} - {% endif %} - {% if item.notify_view is defined and item.notify_view and item.notify_view.name is defined and item.notify_view.name %} - {% if item.notify_view.state is defined and item.notify_view.state == "absent" %} -no snmp-server group {{ group_value }} notify {{ item.notify_view.name }} - {% else %} - {{ group_options.append("notify "+item.notify_view.name)}} - {% endif %} - {% endif %} - {% if item.read_view is defined and item.read_view and item.read_view.name is defined and item.read_view.name %} - {% if item.read_view.state is defined and item.read_view.state == "absent" %} -no snmp-server group {{ group_value }} read {{ item.read_view.name }} - {% else %} - {{ group_options.append("read "+item.read_view.name) }} - {% endif %} - {% endif %} - {% if item.write_view is defined and item.write_view and item.write_view.name is defined and item.write_view.name %} - {% if item.write_view.state is defined and item.write_view.state == "absent" %} -no snmp-server group {{ group_value }} write {{ item.write_view.name }} - {% else %} - {{ group_options.append("write "+item.write_view.name)}} - {% endif %} - {% endif %} -snmp-server group {{ group_value }} {{ group_options|join(" ") }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if os10_snmp.snmp_host is defined and os10_snmp.snmp_host %} - {% set value = os10_snmp.snmp_host %} - {% for item in value %} - {% if item.ip is defined and item.ip %} - {% set host_port_option = "" %} - {% if item.udpport is defined and item.udpport %} - {% set host_port_option = " udp-port " + item.udpport|string %} - {% endif %} - {% if item.state is defined and item.state == "absent" %} -no snmp-server host {{ item.ip }}{{ host_port_option }} - {% else %} - {% set host_notif_type = "traps" %} - {% if item.notification_type is defined and item.notification_type %} - {% set host_notif_type = item.notification_type %} - {% endif %} - {% if item.version is defined and item.version %} - {% set host_version = "" %} - {% if item.version|string == "1" or item.version|string == "2c" %} - {% if item.communitystring is defined and item.communitystring %} - {% set host_version = item.version|string + " " + item.communitystring %} - {% endif %} - {% elif item.security_level is defined and item.security_level %} - {% if item.security_name is defined and item.security_name %} - {% set host_version = item.version|string + " " + item.security_level + " " + item.security_name %} - {% endif %} - {% endif %} - {% set host_trap_categories = [] %} - {% if item.trap_categories is defined and item.trap_categories %} - {% for cat_key, cat_value in item.trap_categories.items() %} - {% if cat_value %} - {% if cat_key == "dom" %} - {{ host_trap_categories.append("dom")}} - {% elif cat_key == "entity" %} - {{ host_trap_categories.append("entity") }} - {% elif cat_key == "envmon" %} - {{ host_trap_categories.append("envmon") }} - {% elif cat_key == "lldp" %} - {{ host_trap_categories.append("lldp") }} - {% elif cat_key == "snmp" %} - {{ host_trap_categories.append("snmp") }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if host_version %} -snmp-server host {{ item.ip }} {{ host_notif_type }} version {{ host_version }}{{ host_port_option }} {{ host_trap_categories|join(" ") }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if os10_snmp.snmp_location is defined %} - {% set value = os10_snmp.snmp_location %} - {% if value %} -snmp-server location {{ value }} - {% else %} -no snmp-server location - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_source_interface is defined %} - {% set value = os10_snmp.snmp_source_interface %} - {% if value %} -snmp-server source-interface {{ value.split() | join() }} - {% else %} -no snmp-server source-interface - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_user is defined and os10_snmp.snmp_user %} - {% set value = os10_snmp.snmp_user %} - {% for item in value %} - {% if item.name is defined and item.name and item.group_name is defined and item.group_name %} - {% if item.version is defined and item.version %} - {% if item.state is defined and item.state == "absent" %} - {# snmp user removal is handled above remote engind id #} - {% else %} - {% set user_remote_option = "" %} - {% if item.remote is defined and item.remote %} - {% if item.remote.ip is defined and item.remote.ip %} - {% if item.remote.udpport is defined and item.remote.udpport %} - {% set user_remote_option = " remote " + item.remote.ip + " udp-port " + item.remote.udpport|string %} - {% endif %} - {% endif %} - {% endif %} - {% if item.version|string == "1" or item.version|string == "2c" %} - {% set user_acl_option = "" %} - {% if item.access_list is defined and item.access_list %} - {% set user_acl_option = "access " + item.access_list %} - {% endif %} -snmp-server user {{ item.name }} {{ item.group_name }}{{ user_remote_option }} {{ item.version }} {{ user_acl_option }} - {% else %} - {% set user_auth_option = "" %} - {% if item.authentication is defined and item.authentication %} - {% if item.authentication.localized is defined and item.authentication.localized %} - {% set user_auth_option = " localized" %} - {% endif %} - {% if item.authentication.algorithm is defined and item.authentication.algorithm %} - {% if item.authentication.password is defined and item.authentication.password %} - {% set user_auth_option = user_auth_option + " auth " + item.authentication.algorithm + " " + item.authentication.password %} - {% if item.authentication.encryption is defined and item.authentication.encryption %} - {% if item.authentication.encryption.algorithm is defined and item.authentication.encryption.algorithm %} - {% if item.authentication.encryption.password is defined and item.authentication.encryption.password %} - {% set user_auth_option = user_auth_option + " priv " + item.authentication.encryption.algorithm + " " + item.authentication.encryption.password %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} -snmp-server user {{ item.name }} {{ item.group_name }}{{ user_remote_option }} {{ item.version }}{{ user_auth_option }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if os10_snmp.snmp_view is defined %} - {% set value = os10_snmp.snmp_view %} - {% if value %} - {% for item in value %} - {% if item.name is defined and item.name %} - {% if item.oid_subtree is defined and item.oid_subtree %} - {% if item.state is defined and item.state == "absent" %} -no snmp-server view {{ item.name }} {{ item.oid_subtree }} - {% else %} - {% if item.include is defined %} - {% if item.include %} -snmp-server view {{ item.name }} {{ item.oid_subtree }} included - {% elif not item.include %} -snmp-server view {{ item.name }} {{ item.oid_subtree }} excluded - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - - {% if os10_snmp.snmp_vrf is defined %} - {% set value = os10_snmp.snmp_vrf %} - {% if value %} -snmp-server vrf {{ value }} - {% else %} -no snmp-server vrf default - {% endif %} - {% endif %} - -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_snmp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_snmp/tests/main.os10.yaml deleted file mode 100644 index bafcc2101..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/main.os10.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# vars file for dellemc.os10.os10_snmp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_snmp: - snmp_contact: test - snmp_location: Chennai - snmp_community: - - name: public - access_mode: ro - state: present - snmp_traps: - - name: all - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: false - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_snmp/tests/test.yaml deleted file mode 100644 index 6b4b4e7e2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_snmp diff --git a/ansible_collections/dellemc/os10/roles/os10_snmp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_snmp/vars/main.yml deleted file mode 100644 index 407dad8ed..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_snmp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_snmp diff --git a/ansible_collections/dellemc/os10/roles/os10_system/LICENSE b/ansible_collections/dellemc/os10/roles/os10_system/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_system/README.md b/ansible_collections/dellemc/os10/roles/os10_system/README.md deleted file mode 100644 index 119138afc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/README.md +++ /dev/null @@ -1,126 +0,0 @@ -System role -=========== - -This role facilitates the configuration of global system attributes. It specifically enables configuration of hostname and hashing algorithm. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The System role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_system keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``hostname`` | string | Configures a hostname to the device (no negate command) | os10 | -| ``hardware_forwarding`` | string: scaled-l2,scaled-l3-routes,scaled-l3-hosts | Configures hardware forwarding mode | os10 | -| ``hash_algo`` | dictionary | Configures hash algorithm commands (see ``hash_algo.*``) | os10 | -| ``hash_algo.algo`` | list | Configures hashing algorithm (see ``algo.*``) | os10 | -| ``algo.name`` | string (required) | Configures the name of the hashing algorithm | os10 | -| ``algo.mode`` | string (required) | Configures the hashing algorithm mode | os10 | -| ``algo.state`` | string: absent,present\* | Deletes the hashing algorithm if set to absent | os10 | -| ``load_balance`` | dictionary | Configures the global traffic load balance (see ``load_balance.*``) | os10 | -| ``load_balance.ingress_port`` | boolean: true,false | Specifies whether to use the source port ID for the hashing algorithm | os10 | -| ``load_balance.ip_selection`` | list | Configures IPv4 key fields to use in hashing algorithm; | os10 | -| ``ip_selection.field`` | string | Configures IPv4 key fields to use in hashing algorithm | os10 | -| ``ip_selection.state`` | string: absent,present\* | Deletes the IPv4 key fields if set to absent | os10 | -| ``load_balance.ipv6_selection`` | list | Configures IPv6 key fields to use in hashing algorithm | os10 | -| ``ipv6_selection.field`` | string | Configures IPv6 key fields to use in hashing algorithm | os10 | -| ``ipv6_selection.state`` | string: absent,present\* | Deletes the IPv6 key fields if set to absent | os10 | -| ``load_balance.mac_selection`` | list | Configures MAC key fields to use in hashing algorithm (see ``mac_selection.*``) | os10 | -| ``mac_selection.field`` | string | Configures MAC key fields to use in hashing algorithm | os10 | -| ``mac_selection.state`` | string: absent,present\* | Deletes the MAC key fields if set to absent | os10 | -| ``load_balance.tcp_udp_selection`` | list | Configures TCP UDP ports for load balancing configurations (see ``tcp_udp_selection.*``) | os10 | -| ``tcp_udp_selection.field`` | string | Configures TCP UDP port fields to use in hashing algorithm | os10 | -| ``tcp_udp_selection.state`` | string: absent,present\* | Deletes the TCP UDP ports if set to absent | os10 | -| ``min_ra`` | string | Configures global RA minimum interval value, applicable to all interfaces across VRFs | os10 | -| ``max_ra`` | string | Configures global RA maximum interval value, applicable to all interfaces across VRFs | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_system role* to completely set the NTP server, hostname, enable password, management route, hash alogrithm, clock, line terminal, banner and reload type. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The system role writes a simple playbook that only references the *os10_system* role. By including the role, you automatically get access to all of the tasks to configure system features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_system: - hostname: os10 - hardware_forwarding: scaled-l3-hosts - hash_algo: - algo: - - name: lag - mode: crc - state: present - - name: ecmp - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: source-ip - state: present - ipv6_selection: - - field: source-ip - state: present - mac_selection: - - field: source-mac - state: present - tcp_udp_selection: - - field: l4-source-port - state: present - max_ra: 15 - min_ra: 10 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_system - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_system/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_system/defaults/main.yml deleted file mode 100644 index 559240559..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_system diff --git a/ansible_collections/dellemc/os10/roles/os10_system/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_system/handlers/main.yml deleted file mode 100644 index b79131294..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_system diff --git a/ansible_collections/dellemc/os10/roles/os10_system/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_system/meta/main.yml deleted file mode 100644 index 588850b60..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_system role facilitates the configuration of system attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_system/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_system/tasks/main.yml deleted file mode 100644 index 5b61c8628..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating system configuration for os10" - template: - src: os10_system.j2 - dest: "{{ build_dir }}/system10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning system configuration for os10" - os10_config: - src: os10_system.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_system/templates/os10_system.j2 b/ansible_collections/dellemc/os10/roles/os10_system/templates/os10_system.j2 deleted file mode 100644 index 95edc2eb3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/templates/os10_system.j2 +++ /dev/null @@ -1,130 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# - -Purpose: -Configure system commands for os10 Devices - -os10_system: - hostname: os10 - hardware_forwarding: scaled-l3-routes - hash_algo: - algo: - - name: lag - mode: crc - state: present - - name: ecmp - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: source-ip - state: present - ipv6_selection: - - field: source-ip - state: present - mac_selection: - - field: source-mac - state: present - tcp_udp_selection: - - field: l4-source-port - state: present - max_ra: 15 - min_ra: 10 - -###############################################} -{% if os10_system is defined and os10_system %} -{% if os10_system.hostname is defined and os10_system.hostname %} -hostname {{ os10_system.hostname }} -{% endif %} -{% if os10_system.max_ra is defined %} - {% if os10_system.max_ra %} -ipv6 nd max-ra-interval {{ os10_system.max_ra }} - {% else %} -no ipv6 nd max-ra-interval - {% endif %} -{% endif %} -{% if os10_system.min_ra is defined %} - {% if os10_system.min_ra %} -ipv6 nd min-ra-interval {{ os10_system.min_ra }} - {% else %} -no ipv6 nd min-ra-interval - {% endif %} -{% endif %} -{% for key,value in os10_system.items() %} - {% if key == "hardware_forwarding" %} - {% if value %} -hardware forwarding-table mode {{ value }} - {% else %} -no hardware forwarding-table mode - {% endif %} - {% elif key == "hash_algo" and value %} - {% if value.algo is defined and value.algo %} - {% for item in value.algo %} - {% if item.name is defined and item.name %} - {% if item.mode is defined and item.mode %} - {% if item.state is defined and item.state == "absent" %} -no hash-algorithm {{ item.name }} {{ item.mode }} - {% else %} -hash-algorithm {{ item.name }} {{ item.mode }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% elif key == "load_balance" and value %} - {% if value.ingress_port is defined %} - {% if value.ingress_port %} -load-balancing ingress-port enable - {% else %} -no load-balancing ingress-port enable - {% endif %} - {% endif %} - {% if value.ip_selection is defined and value.ip_selection %} - {% for listitem in value.ip_selection %} - {% if listitem.field is defined and listitem.field %} - {% if listitem.state is defined and listitem.state == "absent" %} -no load-balancing ip-selection {{ listitem.field }} - {% else %} -load-balancing ip-selection {{ listitem.field }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if value.ipv6_selection is defined and value.ipv6_selection %} - {% for listitem in value.ipv6_selection %} - {% if listitem.field is defined and listitem.field %} - {% if listitem.state is defined and listitem.state == "absent" %} -no load-balancing ipv6-selection {{ listitem.field }} - {% else %} -load-balancing ipv6-selection {{ listitem.field }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if value.mac_selection is defined and value.mac_selection %} - {% for listitem in value.mac_selection %} - {% if listitem.field is defined and listitem.field %} - {% if listitem.state is defined and listitem.state == "absent" %} -no load-balancing mac-selection {{ listitem.field }} - {% else %} -load-balancing mac-selection {{ listitem.field }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if value.tcp_udp_selection is defined and value.tcp_udp_selection %} - {% for listitem in value.tcp_udp_selection %} - {% if listitem.field is defined and listitem.field %} - {% if listitem.state is defined and listitem.state == "absent" %} -no load-balancing tcp-udp-selection {{ listitem.field }} - {% else %} -load-balancing tcp-udp-selection {{ listitem.field }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_system/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_system/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_system/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_system/tests/main.os10.yaml deleted file mode 100644 index ea4bc20f5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/tests/main.os10.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# vars file for dellemc.os10.os10_system, -# below gives a sample configuration -# Sample variables for OS10 device -os10_system: - hostname: os10 - hardware_forwarding: scaled-l3-hosts - hash_algo: - algo: - - name: lag - mode: crc - state: present - - name: ecmp - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: source-ip - state: present - ipv6_selection: - - field: source-ip - state: present - mac_selection: - - field: source-mac - state: present - tcp_udp_selection: - - field: l4-source-port - state: present - max_ra: 15 - min_ra: 10 diff --git a/ansible_collections/dellemc/os10/roles/os10_system/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_system/tests/test.yaml deleted file mode 100644 index 8674f0973..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_system diff --git a/ansible_collections/dellemc/os10/roles/os10_system/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_system/vars/main.yml deleted file mode 100644 index 4a69de595..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_system/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_system, diff --git a/ansible_collections/dellemc/os10/roles/os10_template/LICENSE b/ansible_collections/dellemc/os10/roles/os10_template/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_template/README.md b/ansible_collections/dellemc/os10/roles/os10_template/README.md deleted file mode 100644 index d7faf0132..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/README.md +++ /dev/null @@ -1,75 +0,0 @@ -Template role -============== - -This role provides access to structured data from show commands. This role facilitates the TEXTFSM parsing engine. TextFSM is a template based state machine . It takes the raw string input from the CLI of network devices, run them through a TEXTFSM template and return structured text in the form of a Python dictionary. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Template role is highly customizable, and it works with separate template definitions which contain variables and rules with regular expressions. This library is very helpful to parse any text-based CLI output from network devices. The Template role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- Variables and values are case-sensitive - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_template* role to parse any text-based CLI output. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. All the supported CLI commands are imported as tasks in tasks/main.yml. - -For the *os10_template* role plugins to be used, you may need to specify the actual path of role in *ansible.cfg* file. - -**Sample ansible.cfg** - - action_plugins = ../../plugins/modules/ - - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> ansible_network_os=dellemc.os10.os10 ansible_ssh_user=xxxxx ansible_ssh_pass=xxxxx - - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_template - -**Example playbook to run specific show command — leaf.yaml** - - - --- - - name: PARSE SHOW IP INTERFACE BRIEF - hosts: leaf1 - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - - - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_template/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_template/meta/main.yml deleted file mode 100644 index 4df1a6b48..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_template - author: Dell EMC Networking Engineering - description: The os10_template role facilitates to provide the structured output from CLI in devices running on Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/main.yml deleted file mode 100644 index 9b41a6c26..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/main.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- - - name: os10 dellemc.os10.os10_template test - import_tasks: show_ip_interface_brief.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_port-channel_summary.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_lldp_neighbors.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_ip_vrf.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_ip_bgp_summary.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_vlan.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_vlt_err_disabled_ports.yaml - - - name: os10 dellemc.os10.os10_template test - import_tasks: show_spanning_tree_compatibility_mode.yaml diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_bgp_summary.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_bgp_summary.yaml deleted file mode 100644 index d2ee2ac7e..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_bgp_summary.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW IP BGP SUMMARY - os10_command: - commands: - - show ip bgp summary - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_ip_bgp_summary - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_ip_bgp_summary.template') }}" - content: "{{ output.stdout[0] }}" - name: bgp_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_interface_brief.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_interface_brief.yaml deleted file mode 100644 index f29967750..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_interface_brief.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW_IP_INTERFACE_BRIEF - os10_command: - commands: - - show ip interface brief - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_ip_interface_brief - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_ip_interface_brief.template') }}" - content: " {{ output.stdout[0] }}" - name: ip_interface_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_vrf.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_vrf.yaml deleted file mode 100644 index 616416edc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_ip_vrf.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW IP VRF - os10_command: - commands: - - show ip vrf - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_ip_vrf - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_ip_vrf.template') }}" - content: "{{ output.stdout[0] }}" - name: vrf_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_lldp_neighbors.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_lldp_neighbors.yaml deleted file mode 100644 index 1fedfe4ba..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_lldp_neighbors.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW LLDP NEIGHBORS - os10_command: - commands: - - show lldp neighbors - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_lldp_neighbors - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_lldp_neighbors.template') }}" - content: "{{ output.stdout[0] }}" - name: lldp_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_port-channel_summary.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_port-channel_summary.yaml deleted file mode 100644 index 2d26c14e3..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_port-channel_summary.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW PORT-CHANNEL SUMMARY - os10_command: - commands: - - show port-channel summary - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_port-channel_summary - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_port-channel_summary.template') }}" - content: "{{ output.stdout[0] }}" - name: port_channel_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_spanning_tree_compatibility_mode.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_spanning_tree_compatibility_mode.yaml deleted file mode 100644 index a3c69524a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_spanning_tree_compatibility_mode.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW SPANNING TREE COMPATIBILITY MODE - os10_command: - commands: - - command: show spanning-tree compatibility-mode - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_spanning_tree_compatibility_mode - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_spanning_tree_compatibility_mode.template') }}" - content: "{{ output.stdout[0] }}" - name: spanning_tree_comp_mode_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlan.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlan.yaml deleted file mode 100644 index ee3c988e2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlan.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- - - name: CAPTURE SHOW VLAN - os10_command: - commands: - - show vlan - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_vlan - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_vlan.template') }}" - content: "{{ output.stdout[0] }}" - name: vlan_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlt_err_disabled_ports.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlt_err_disabled_ports.yaml deleted file mode 100644 index 0e0f8b3d0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/show_vlt_err_disabled_ports.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- - - name: CAPTURE SHOW VLT ERR DISABLED PORTS - dellos10_command: - commands: ['show vlt all error-disabled-ports'] - register: output - - - name: DISPLAY THE OUTPUT - debug: var=output.stdout - - - name: INSTALL TEXTFSM - import_tasks: textfsm.yaml - - - name: PARSE THE OUTPUT for {{ ansible_network_os }} show_vlt_err_dis_ports - textfsm_parser: - src: "{{ lookup('file', './templates/os10_show_vlt_err_disabled_ports.template') }}" - content: "{{ output.stdout[0] }}" - name: vlt_err_dis_facts - register: result - vars: - - ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tasks/textfsm.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tasks/textfsm.yaml deleted file mode 100644 index 99394b44c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tasks/textfsm.yaml +++ /dev/null @@ -1,3 +0,0 @@ -#Install Textfsm - - pip: - name: textfsm diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_bgp_summary.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_bgp_summary.template deleted file mode 100644 index 52ddc2898..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_bgp_summary.template +++ /dev/null @@ -1,16 +0,0 @@ -Value Filldown RouterId (\d+\.\d+\.\d+\.\d+) -Value Filldown LocalAs (\d+) -Value Filldown BFD (enabled) -Value Neighbor (\S+) -Value AS (\d+) -Value MsgRcvd (\d+) -Value MsgSent (\d+) -Value Status (\S+) -Value State (\S+) - -Start - ^BGP router identifier ${RouterId} local AS number ${LocalAs} - ^Global BFD is ${BFD} - ^(?!Neighbor)${Neighbor}\s+${AS}\s+${MsgRcvd}\s+${MsgSent}\s+${Status}\s+${State} -> Record - -EOF diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_interface_brief.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_interface_brief.template deleted file mode 100644 index 20d017175..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_interface_brief.template +++ /dev/null @@ -1,9 +0,0 @@ -Value INTERFACE_NAME (\S+\s\S+) -Value IP_ADDRESS (\S+) -Value OK (YES|NO) -Value METHOD (DHCP|manual|unset) -Value STATUS (up|down|admin down) -Value PROTOCOL (up|down|admin down) - -Start - ^${INTERFACE_NAME}\s+${IP_ADDRESS}\s+${OK}\s+${METHOD}\s+${STATUS}\s+${PROTOCOL} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_vrf.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_vrf.template deleted file mode 100644 index c7e4d7541..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_ip_vrf.template +++ /dev/null @@ -1,7 +0,0 @@ -Value VRFName (\S+) -Value Interfaces (\S+) - -Start - ^(?!VRF-Name)${VRFName}\s+${Interfaces} -> Record - ^(?!VRF-Name)${VRFName} -> Record - ^\s+${Interfaces} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_lldp_neighbors.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_lldp_neighbors.template deleted file mode 100644 index 3c9353138..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_lldp_neighbors.template +++ /dev/null @@ -1,7 +0,0 @@ -Value LocPortID (\S+) -Value RemHostName (\S+) -Value RemPortId (\S+) -Value RemChassisId ([a-fA-F0-9:]{17}) - -Start - ^${LocPortID}\s+${RemHostName}\s+${RemPortId}\s+${RemChassisId} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_port-channel_summary.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_port-channel_summary.template deleted file mode 100644 index 1e77b92e7..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_port-channel_summary.template +++ /dev/null @@ -1,9 +0,0 @@ -Value GROUP (\d+) -Value PORT_CHANNEL (\S+\s+[(D)|(U)]+) -Value TYPE ([Eth|Gig|ten|For]+) -Value PROTOCOL ([DYNAMIC|STATIC]+) -Value List MEMBER_PORTS (\s.*) - -Start - ^${GROUP}\s+${PORT_CHANNEL}\s+${TYPE}\s+${PROTOCOL}\s+${MEMBER_PORTS} -> Record - ^${GROUP}\s+${PORT_CHANNEL}\s+${TYPE}\s+${PROTOCOL} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_spanning_tree_compatibility_mode.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_spanning_tree_compatibility_mode.template deleted file mode 100644 index bf365e33b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_spanning_tree_compatibility_mode.template +++ /dev/null @@ -1,6 +0,0 @@ -Value Interface_name ([a-zA-Z\-]+\s*[\d\/\:]+) -Value Instance (VLAN\s+(\d+)) -Value Compatibility_mode (\S+\s*) - -Start - ^${Interface_name}\s+${Instance}\s+${Compatibility_mode} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlan.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlan.template deleted file mode 100644 index f71e95734..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlan.template +++ /dev/null @@ -1,12 +0,0 @@ -Value Codes (\*|\@|\M|\R|\s) -Value NUM (\d+) -Value Status (Active|Inactive) -Value Description (\S+|\s+) -Value Q (A|T) -Value Ports (\S+) - -Start - ^${Codes}\s+${NUM}\s+${Status}\s+${Description}\s+${Q}\s+${Ports} -> Record - ^${Codes}\s+${NUM}\s+${Status}\s+${Description} -> Record - ^${Codes}\s+${NUM}\s+${Status} -> Record - ^\s+${Q}\s+${Ports} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlt_err_disabled_ports.template b/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlt_err_disabled_ports.template deleted file mode 100644 index 340b7a2bb..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/templates/os10_show_vlt_err_disabled_ports.template +++ /dev/null @@ -1,5 +0,0 @@ -Value VLT_PORT_CHANNEL_ID (\d+) -Value PORT_CHANNEL (\S+\s*) - -Start - ^${VLT_PORT_CHANNEL_ID}\s+${PORT_CHANNEL} -> Record diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tests/group_vars/all b/ansible_collections/dellemc/os10/roles/os10_template/tests/group_vars/all deleted file mode 100644 index 902b33015..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tests/group_vars/all +++ /dev/null @@ -1,3 +0,0 @@ -ansible_ssh_user: xxxx -ansible_ssh_pass: xxxx -ansible_network_os: dellemc.os10.os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tests/inventory.yaml deleted file mode 100644 index a76e08176..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[LeafAndSpineSwitch:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tests/main.yaml deleted file mode 100644 index ca1c43cca..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tests/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: LeafAndSpineSwitch - connection: network_cli - roles: - - dellemc.os10.os10_template diff --git a/ansible_collections/dellemc/os10/roles/os10_template/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_template/tests/test.yaml deleted file mode 100644 index 6d49466df..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_template/tests/test.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- hosts: LeafAndSpineSwitch - connection: network_cli - collections: - - dellemc.os10 - tasks: - - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/LICENSE b/ansible_collections/dellemc/os10/roles/os10_uplink/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/README.md b/ansible_collections/dellemc/os10/roles/os10_uplink/README.md deleted file mode 100644 index 8ffeb0e71..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/README.md +++ /dev/null @@ -1,109 +0,0 @@ -Uplink role -=========== - -This role facilitates the configuration of uplink failure detection feature attributes. It specifically enables configuration of association between upstream and downstream interfaces known as uplink-state group. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Uplink role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_uplink keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``uplink_state_group`` | list | Configures the uplink state group (see ``uplink_state_group.*``) | os10 | -| ``uplink_state_group.id`` | integer | Configures the uplink state group instance | os10 | -| ``uplink_state_group.enable`` | boolean: True,False | Enables the uplink state group instance | os10 | -| ``uplink_state_group.defer_time`` | integer | Configures defer timer for the uplink state group | os10 | -| ``uplink_state_group.uplink_type`` | list | Configures the upstream and downstream attribute (see ``uplink_type.*``) | os10 | -| ``uplink_type.type`` | string: upstream,downstream | Configures the uplink type | os10 | -| ``uplink_type.intf`` | string | Configures the uplink interface | os10 | -| ``uplink_type.state`` | string: absent,present\* | Removes the uplink stream if set to absent | os10 | -| ``uplink_state_group.downstream`` | dictionary | Configures downstream information for the uplink state group (see ``downstream.*``) | os10 | -| ``downstream.disable_links`` | integer | Configures number of downstream links to be disabled. String 'all' can be used to disable all downstream links | os10 | -| ``downstream.auto_recover`` | boolean: True,False | Enables or disables auto recover for downstream interfaces | os10 | -| ``uplink_state_group.state`` | string: absent,present\* | Removes the uplink state group instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables -******************** - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_uplink role* to completely set the uplink sate group instance, and upstream, downstream interfaces. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. The uplink role writes a simple playbook that only references the *os10_uplink* role. By including the role, you automatically get access to all of the tasks to configure uplink features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet1/1/2-1/1/5" - state: "present" - state: "present" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - - id: 2 - enable: True - state: "present" - -> **NOTE**: Interfaces should be created using the *os10_interface* role. - -**Simple playbook to setup uplink — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_uplink - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_uplink/defaults/main.yml deleted file mode 100644 index 441d767ec..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_uplink diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_uplink/handlers/main.yml deleted file mode 100644 index 7abb00129..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_uplink diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_uplink/meta/main.yml deleted file mode 100644 index 0bc561964..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_uplink - author: Dell EMC Networking Engineering - description: The os10_uplink role facilitates the configuration of uplink attributes in devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_uplink/tasks/main.yml deleted file mode 100644 index 6500ea3cd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating uplink configuration for os10" - template: - src: os10_uplink.j2 - dest: "{{ build_dir }}/uplink10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning uplink configuration for os10" - os10_config: - src: os10_uplink.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/templates/os10_uplink.j2 b/ansible_collections/dellemc/os10/roles/os10_uplink/templates/os10_uplink.j2 deleted file mode 100644 index 64a237d81..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/templates/os10_uplink.j2 +++ /dev/null @@ -1,102 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -#Purpose: -Configure uplink commands for os10 Devices - -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet1/1/2-1/1/5" - state: "present" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - state: "present" - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet1/1/2-1/1/5" - state: "present" - downstream: - disable_links: 10 - auto_recover: false - state: "present" - -###############################################} -{% if os10_uplink is defined and os10_uplink %} - {% if os10_uplink.uplink_state_group is defined and os10_uplink.uplink_state_group %} - {% for uplink_val in os10_uplink.uplink_state_group %} - {% if uplink_val.id is defined %} - {% if uplink_val.state is defined and uplink_val.state == "absent" %} -no uplink-state-group {{ uplink_val.id }} - {% else %} -uplink-state-group {{ uplink_val.id }} - {% if uplink_val.enable is defined %} - {% if uplink_val.enable == True %} - enable - {% else %} - no enable - {% endif %} - {% endif %} - {% if uplink_val.downstream is defined and uplink_val.downstream %} - {% if uplink_val.downstream.auto_recover is defined %} - {% if uplink_val.downstream.auto_recover %} - downstream auto-recover - {% else %} - no downstream auto-recover - {% endif %} - {% endif %} - {% if uplink_val.downstream.disable_links is defined %} - {% if uplink_val.downstream.disable_links %} - downstream disable-links {{ uplink_val.downstream.disable_links }} - {% else %} - no downstream disable-links - {% endif %} - {% endif %} - {% endif %} - {% if uplink_val.uplink_type is defined and uplink_val.uplink_type %} - {% for uplink in uplink_val.uplink_type %} - {% if uplink.type is defined and uplink.type %} - {% if uplink.state is defined and uplink.state == "absent" %} - {% if uplink.intf is defined and uplink.intf %} - {% if uplink.type == "downstream" %} - no downstream {{ uplink.intf }} - {% elif uplink.type == "upstream" %} - no upstream {{ uplink.intf }} - {% endif %} - {% endif %} - {% else %} - {% if uplink.intf is defined and uplink.intf %} - {% if uplink.type == "downstream" %} - downstream {{ uplink.intf }} - {% elif uplink.type == "upstream" %} - upstream {{ uplink.intf }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if uplink_val.defer_time is defined %} - {% if uplink_val.defer_time %} - defer-time {{ uplink_val.defer_time }} - {% else %} - no defer-time - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_uplink/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_uplink/tests/main.yaml deleted file mode 100644 index 90afe0088..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/main.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# vars file for dellemc.os10.os10_uplink, -# below gives a sample configuration -# Sample variables for OS10 device -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet1/1/2-1/1/5" - state: "present" - state: "present" diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_uplink/tests/test.yaml deleted file mode 100644 index 92c99613a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_uplink diff --git a/ansible_collections/dellemc/os10/roles/os10_uplink/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_uplink/vars/main.yml deleted file mode 100644 index a376eeb13..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_uplink/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_uplink diff --git a/ansible_collections/dellemc/os10/roles/os10_users/LICENSE b/ansible_collections/dellemc/os10/roles/os10_users/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_users/README.md b/ansible_collections/dellemc/os10/roles/os10_users/README.md deleted file mode 100644 index 09d55f1dd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/README.md +++ /dev/null @@ -1,89 +0,0 @@ -Users role -========== - -This role facilitates the configuration of global system user attributes, and it supports the configuration of CLI users. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The Users role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_users list keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``username`` | string (required) | Configures the username which must adhere to specific format guidelines (valid usernames begin with A-Z, a-z, or 0-9 and can also contain `@#$%^&*-_= +;<>,.~` characters) | os10 | -| ``password`` | string | Configures the password set for the username; password length must be at least eight characters | os10 | -| ``role`` | string | Configures the role assigned to the user | os10 | -| ``state`` | string: absent,present\* | Deletes a user account if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_users* role to configure global system user attributes. It creates a hosts file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file. It writes a simple playbook that only references the *os10_users* role. By including the role, you automatically get access to all of the tasks to configure user features. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: present - - username: u1 - password: a1a2a3a4!@#$ - role: netadmin - state: present - -**Simple playbook to setup users — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_users - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_users/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_users/defaults/main.yml deleted file mode 100644 index 668eeface..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_users diff --git a/ansible_collections/dellemc/os10/roles/os10_users/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_users/handlers/main.yml deleted file mode 100644 index e73b341b6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_users diff --git a/ansible_collections/dellemc/os10/roles/os10_users/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_users/meta/main.yml deleted file mode 100644 index c73b755ea..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_users role facilitates the configuration of user attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_users/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_users/tasks/main.yml deleted file mode 100644 index eb870a132..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating users configuration for os10" - template: - src: os10_users.j2 - dest: "{{ build_dir }}/users10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning users configuration for os10" - os10_config: - src: os10_users.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_users/templates/os10_users.j2 b/ansible_collections/dellemc/os10/roles/os10_users/templates/os10_users.j2 deleted file mode 100644 index 080f6a590..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/templates/os10_users.j2 +++ /dev/null @@ -1,27 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -Purpose: -Configure users commands for os10 Devices -os10_users: - - username: test - password: test - role: sysadmin - state: present -###############################################} -{% if os10_users is defined and os10_users %} - {% for item in os10_users %} - {% if item.username is defined and item.username %} - {% if item.state is defined and item.state == "absent" %} -no username {{ item.username }} - {% else %} - {% if item.password is defined and item.password %} - {% if item.role is defined and item.role %} -username {{ item.username }} password {{ item.password }} role {{ item.role }} - {% else %} -username {{ item.username }} password {{ item.password }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_users/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_users/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_users/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_users/tests/main.os10.yaml deleted file mode 100644 index 0bbc06333..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/tests/main.os10.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# vars file for dellemc.os10.os10_users, -# below gives a sample configuration -# Sample variables for OS10 device -os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: present - - username: u1 - password: a1a2a3a4!@#$ - role: netadmin - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_users/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_users/tests/test.yaml deleted file mode 100644 index 268124512..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_users diff --git a/ansible_collections/dellemc/os10/roles/os10_users/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_users/vars/main.yml deleted file mode 100644 index 49177b5b0..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_users/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_users diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/LICENSE b/ansible_collections/dellemc/os10/roles/os10_vlan/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/README.md b/ansible_collections/dellemc/os10/roles/os10_vlan/README.md deleted file mode 100644 index 71a7adf9a..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/README.md +++ /dev/null @@ -1,123 +0,0 @@ -VLAN role -========= - -This role facilitates configuring virtual LAN (VLAN) attributes. It supports the creation and deletion of a VLAN and its member ports. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VLAN role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- For variables with no state variable, setting an empty value for the variable negates the corresponding configuration -- `os10_vlan` (dictionary) holds the key with the VLAN ID key and default-vlan key. -- VLAN ID key should be in format "vlan ID" (1 to 4094) -- Variables and values are case-sensitive - -**os10_vlan** - -| Key | Type | Notes | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``default_vlan_id`` | integer | Configures the vlan-id as the default VLAN for an existing VLAN | os10 | - -**VLAN ID keys** - -| Key | Type | Notes | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``description`` | string | Configures a single line description for the VLAN | os10 | -| ``tagged_members`` | list | Specifies the list of port members to be tagged to the corresponding VLAN (see ``tagged_members.*``) | os10 | -| ``tagged_members.port`` | string | Specifies valid device interface names to be tagged for each VLAN | os10 | -| ``tagged_members.state`` | string: absent,present | Deletes the tagged association for the VLAN if set to absent | os10 | -| ``untagged_members`` | list | Specifies the list of port members to be untagged to the corresponding VLAN (see ``untagged_members.*``) | os10 | -| ``untagged_members.port`` | string | Specifies valid device interface names to be untagged for each VLAN | os10 | -| ``untagged_members.state`` | string: absent,present | Deletes the untagged association for the VLAN if set to absent | os10 | -| ``state`` | string: absent,present\* | Deletes the VLAN corresponding to the ID if set to absent | os10 | -| ``virtual_gateway_ip`` | string | Configures an anycast gateway IPv4 address for VLAN interfaces| os10 | -| ``virtual_gateway_ipv6`` | string | Configures an anycast gateway IPv6 address for VLAN interfaces| os10 | -| ``ip_and_mask`` | string | Configures the specified IP address to the interface | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars directories* or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -## Example playbook - -This example uses the *os10_vlan* role to setup the VLAN ID and name, and it configures tagged and untagged port members for the VLAN. You can also delete the VLAN with the ID or delete the members associated to it. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vlan* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_vlan: - default_vlan_id: 2 - vlan 100: - description: "Blue" - tagged_members: - - port: ethernet 1/1/32 - state: present - - port: ethernet 1/1/31 - state: present - untagged_members: - - port: ethernet 1/1/30 - state: present - - port: ethernet 1/1/29 - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" - vlan 10: - description: "vlan with anycast GW" - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - state: "present" - -> **NOTE**: Interfaces should be created using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vlan - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlan/defaults/main.yml deleted file mode 100644 index 7510d5943..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_vlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlan/handlers/main.yml deleted file mode 100644 index acd669929..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_vlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlan/meta/main.yml deleted file mode 100644 index 03e7a180c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_vlan role facilitates the configuration of VLAN attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlan/tasks/main.yml deleted file mode 100644 index f4d69bc94..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating VLAN configuration for os10" - template: - src: os10_vlan.j2 - dest: "{{ build_dir }}/vlan10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning VLAN configuration for os10" - os10_config: - src: os10_vlan.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/templates/os10_vlan.j2 b/ansible_collections/dellemc/os10/roles/os10_vlan/templates/os10_vlan.j2 deleted file mode 100644 index f07f10b33..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/templates/os10_vlan.j2 +++ /dev/null @@ -1,129 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{########################################## -Purpose: -Configure VLAN Interface commands for os10 Devices -os10_vlan: - default_vlan_id : 4 - vlan 100: - description: "red" - tagged_members: - - port: ethernet 1/1/32 - state: present - - port: ethernet 1/1/31 - state: absent - untagged_members: - - port: ethernet 1/1/30 - state: present - - port: ethernet 1/1/29 - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" - vlan 10: - description: "vlan with anycast GW" - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - state: "present" - -#########################################} -{% if os10_vlan is defined and os10_vlan %} -{% for key,value in os10_vlan.items() %} - {% if key == "default_vlan_id" %} - {% if value %} -default vlan-id {{ value }} - {% else %} -no default vlan-id - {% endif %} - {% else %} - - {% set vlan_id = key.split(" ") %} - {% set vlan_vars = os10_vlan[key] %} - - {% if vlan_vars.state is defined and vlan_vars.state == "absent" %} -no interface vlan{{ vlan_id[1] }} - {% else %} -interface vlan{{ vlan_id[1] }} - {% if vlan_vars.description is defined %} - {% if vlan_vars.description %} - {% if vlan_vars.description|wordcount > 1 %} - description "{{ vlan_vars.description }}" - {% else %} - description {{ vlan_vars.description }} - {% endif %} - {% else %} - no description - {% endif %} - {% endif %} - - {% if vlan_vars.ip_and_mask is defined %} - {% if vlan_vars.ip_and_mask %} - ip address {{ vlan_vars.ip_and_mask }} - {% else %} - no ip address - {% endif %} - {% endif %} - - {% if vlan_vars.virtual_gateway_ip is defined %} - {% if vlan_vars.virtual_gateway_ip %} - ip virtual-router address {{ vlan_vars.virtual_gateway_ip }} - {% else %} - no ip virtual-router address - {% endif %} - {% endif %} - - {% if vlan_vars.virtual_gateway_ipv6 is defined %} - {% if vlan_vars.virtual_gateway_ipv6 %} - ipv6 virtual-router address {{ vlan_vars.virtual_gateway_ipv6 }} - {% else %} - no ipv6 virtual-router address - {% endif %} - {% endif %} - - {# Keep member configs in the end as it switches to member interface context #} - {% if vlan_vars.untagged_members is defined %} - {% for ports in vlan_vars.untagged_members %} - {% if ports.port is defined and ports.port %} - {% if 'range' in ports.port %} -interface {{ ports.port }} - {% else %} -interface {{ ports.port.split() | join() }} - {% endif %} - {% if ports.state is defined and ports.state == "absent" %} - no switchport access vlan - {% else %} - switchport access vlan {{ vlan_id[1] }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if vlan_vars.tagged_members is defined %} - {% for ports in vlan_vars.tagged_members %} - {% if ports.port is defined and ports.port %} - {% if 'range' in ports.port %} -interface {{ ports.port }} - {% else %} -interface {{ ports.port.split() | join() }} - {% endif %} - {% if ports.state is defined and ports.state == "absent" %} - no switchport trunk allowed vlan {{ vlan_id[1] }} - {% else %} - switchport mode trunk - switchport trunk allowed vlan {{ vlan_id[1] }} - {% endif %} - {% if ports.access_vlan is defined and ports.access_vlan == "false" %} - no switchport access vlan - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% endif %} - {% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_vlan/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_vlan/tests/main.os10.yaml deleted file mode 100644 index 78e247389..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/main.os10.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vlan, -# below gives a example configuration -# Sample variables for OS10 device -os10_vlan: - default_vlan_id: 2 - vlan 100: - description: "Blue" - tagged_members: - - port: ethernet 1/1/32 - state: present - - port: ethernet 1/1/31 - state: present - untagged_members: - - port: ethernet 1/1/30 - state: present - - port: ethernet 1/1/29 - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" - vlan 10: - description: "vlan with anycast GW" - ip_and_mask: "10.1.1.1/24" - virtual_gateway_ip: "10.1.1.254" - virtual_gateway_ipv6: "10:1:1::254" - state: "present" diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_vlan/tests/test.yaml deleted file mode 100644 index 13442eff6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_vlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vlan/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlan/vars/main.yml deleted file mode 100644 index c856f3024..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlan/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/LICENSE b/ansible_collections/dellemc/os10/roles/os10_vlt/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/README.md b/ansible_collections/dellemc/os10/roles/os10_vlt/README.md deleted file mode 100644 index 85ed917a2..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/README.md +++ /dev/null @@ -1,108 +0,0 @@ -VLT role -======== - -This role facilitates the configuration of the basics of virtual link trunking (VLT) to provide a loop-free topology. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VLT role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables . - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vlt keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``domain`` | integer (required) | Configures the VLT domain identification number (1 to 1000) | os10 | -| ``backup_destination`` | string | Configures an IPv4 address for the VLT backup link (A.B.C.D format or X:X:X:X::X format) | os10 | -| ``destination_type`` | string | Configures the backup destination based on this destination type (IPv4 or IPv6)| os10 | -| ``backup_destination_vrf`` | string | Configures the virtual routing and forwarding (VRF) instance through which the backup destination IP is reachable (*vrfname* must be present) | os10 | -| ``discovery_intf`` | string | Configures the discovery interface for the VLT domain (range of interfaces)| os10 | -| ``discovery_intf_state`` | string: absent,present | Deletes the discovery interfaces for the VLT domain if set to absent | os10 | -| ``peer_routing`` | boolean | Configures VLT peer routing | os10 | -| ``priority`` | integer (default:32768) | Configures VLT priority | os10 | -| ``vlt_mac`` | string | Configures the VLT MAC address | os10 | -| ``vlt_peers`` | dictionary | Contains objects to configure the VLT peer port-channel (see ``vlt_peers.*``) | os10 | -| ``vlt_peers.<portchannelid>`` | dictionary | Configures the VLT peer port-channel (`Po <portchannelid> value`) | os10 | -| ``vlt_peers.<portchannelid>.peer_lag`` | integer | Configures the port-channel ID of the VLT peer lag | os10 | -| ``state`` | string: absent,present | Deletes the VLT instance if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network OS roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Dependencies ------------- - -The *os10_vlt* role is built on modules included in the core Ansible code. These modules were added in ansible version 2.2.0. - -Example playbook ----------------- - -This example uses the *os10_vlt* role to setup a VLT-domain. It creates a *hosts* file with the switch details and corresponding variables.The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vlt* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - - os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - backup_destination_vrf: - discovery_intf: 1/1/12 - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: present - -> **NOTE**: Discovery interface must not be in switchport mode and can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vlt - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlt/defaults/main.yml deleted file mode 100644 index daa359938..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_vlt diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlt/handlers/main.yml deleted file mode 100644 index 910f1fa87..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_vlt diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlt/meta/main.yml deleted file mode 100644 index c3164f7dc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_vlt role facilitates the configuration of VLT attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlt/tasks/main.yml deleted file mode 100644 index 63fa380a8..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating VLT configuration for os10" - template: - src: os10_vlt.j2 - dest: "{{ build_dir }}/vlt10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning VLT configuration for os10" - os10_config: - src: os10_vlt.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/templates/os10_vlt.j2 b/ansible_collections/dellemc/os10/roles/os10_vlt/templates/os10_vlt.j2 deleted file mode 100644 index 4915ff718..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/templates/os10_vlt.j2 +++ /dev/null @@ -1,108 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{################################ -Purpose: -Configure VLT commands fon os10 Devices. -os10_vlt: - domain: 1 - backup_destination: "192.168.1.1" - destination_type: "ipv4" - backup_destination_vrf: "management" - discovery_intf: 1/1/12 - discovery_intf_state: present - peer_routing: True - priority: 1 - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: present -################################} -{% if os10_vlt is defined and os10_vlt %} - {% if os10_vlt.domain is defined and os10_vlt.domain %} - {% if os10_vlt.state is defined and os10_vlt.state == 'absent' %} -no vlt-domain {{ os10_vlt.domain }} - {% else %} -vlt-domain {{ os10_vlt.domain }} - {% if os10_vlt.backup_destination is defined %} - {% if os10_vlt.backup_destination %} - {% if os10_vlt.destination_type is defined %} - {% if os10_vlt.destination_type == "ipv6" %} - backup destination ipv6 {{ os10_vlt.backup_destination }} - {% elif os10_vlt.destination_type == "ipv4" %} - {% if os10_vlt.backup_destination_vrf is defined and os10_vlt.backup_destination_vrf %} - backup destination {{ os10_vlt.backup_destination }} vrf {{ os10_vlt.backup_destination_vrf }} - {% else %} - backup destination {{ os10_vlt.backup_destination }} - {% endif %} - {% endif %} - {% endif %} - {% else %} - no backup destination - {% endif %} - {% endif %} - {% if os10_vlt.discovery_intf_state is defined and os10_vlt.discovery_intf_state == "absent" %} - {% if os10_vlt.discovery_intf is defined and os10_vlt.discovery_intf %} - no discovery-interface ethernet{{ os10_vlt.discovery_intf }} - {% endif %} - {% else %} - {% if os10_vlt.discovery_intf is defined and os10_vlt.discovery_intf %} - discovery-interface ethernet{{ os10_vlt.discovery_intf }} - {% endif %} - {% endif %} - {% if os10_vlt.backup_destination is defined %} - {% if os10_vlt.backup_destination %} - {% if os10_vlt.destination_type is defined %} - {% if os10_vlt.destination_type == 'ipv6' %} - backup destination ipv6 {{ os10_vlt.backup_destination }} - {% elif os10_vlt.destination_type == 'ipv4' %} - {% if os10_vlt.backup_destination_vrf is defined and os10_vlt.backup_destination_vrf %} - backup destination {{ os10_vlt.backup_destination }} vrf {{ os10_vlt.backup_destination_vrf }} - {% else %} - backup destination {{ os10_vlt.backup_destination }} - {% endif %} - {% endif %} - {% endif %} - {% else %} - no backup destination - {% endif %} - {% endif %} - {% if os10_vlt.priority is defined %} - {% if os10_vlt.priority %} - primary-priority {{ os10_vlt.priority }} - {% else %} - no primary-priority - {% endif %} - {% endif %} - {% if os10_vlt.peer_routing is defined %} - {% if os10_vlt.peer_routing %} - peer-routing - {% else %} - no peer-routing - {% endif %} - {% endif %} - {% if os10_vlt.vlt_mac is defined %} - {% if os10_vlt.vlt_mac %} - vlt-mac {{ os10_vlt.vlt_mac }} - {% else %} - no vlt-mac - {% endif %} - {% endif %} - - {% endif %} - {% endif %} - {% if os10_vlt.vlt_peers is defined and os10_vlt.vlt_peers %} - {% for key in os10_vlt.vlt_peers.keys() %} - {% set channel_id = key.split(" ") %} - {% set peer_vars = os10_vlt.vlt_peers[key] %} -interface port-channel{{ channel_id[1] }} - {% if peer_vars.peer_lag is defined %} - {% if peer_vars.peer_lag %} - vlt-port-channel {{ peer_vars.peer_lag}} - {% else %} - no vlt-port-channel - {% endif %} - {% endif %} - - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_vlt/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_vlt/tests/main.os10.yaml deleted file mode 100644 index 1c15f1594..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/main.os10.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vlt, -# below gives a example configuration -# Sample variables for OS10 device -os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - backup_destination_vrf: - discovery_intf: 1/1/12 - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: present diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_vlt/tests/test.yaml deleted file mode 100644 index 8f950f01c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_vlt diff --git a/ansible_collections/dellemc/os10/roles/os10_vlt/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_vlt/vars/main.yml deleted file mode 100644 index aee0f95b4..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vlt/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vlt diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/LICENSE b/ansible_collections/dellemc/os10/roles/os10_vrf/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/README.md b/ansible_collections/dellemc/os10/roles/os10_vrf/README.md deleted file mode 100644 index 464efc5bd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/README.md +++ /dev/null @@ -1,143 +0,0 @@ -VRF role -======== - -This role facilitates to configure the basics of virtual routing and forwarding (VRF) that helps in the partition of physical routers to multiple virtual routers. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VRF role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the variable `ansible_network_os` that can take the `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vrf keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``vrfdetails`` | list | Configures the list of VRF instances (see ``instances.*``) | os10 | -| ``vrfdetails.vrf_name`` | string | Specifies the VRF instance name (default is management) | os10 | -| ``vrfdetails.state`` | string | Deletes the VRF instance name if set to absent | os10 | -| ``vrfdetails.ip_route_import`` | string | Configures VRF IP subcommands | os10 | -| ``ip_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ip_route_import.route_map_value`` | string | Configures the route-map value | os10 | -| ``ip_route_import.state`` | string | Deletes the IP configuration if set to absent | os10 | -| ``vrfdetails.ip_route_export`` | string | Configures VRF IP subcommands | os10 | -| ``ip_route_export.community_value`` | string | Configures the route community value | os10 | -| ``ip_route_export.route_map_value`` | string | Configures the route-map value | os10 | -| ``ip_route_export.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.ipv6_route_import`` | string | Configures VRF IPv6 subcommands | os10 | -| ``ipv6_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ipv6_route_import.route_map_value`` | string | Configures the route-map value | os10 | -| ``ipv6_route_import.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.ipv6_route_export`` | string | Configures VRF IPv6 subcommands | os10 | -| ``ipv6_route_import.community_value`` | string | Configures the route community value | os10 | -| ``ipv6_route_export.route_map_value`` | string | Configures the route-map value | os10 | -| ``ipv6_route_import.state`` | string | Deletes the IP config if set to absent | os10 | -| ``vrfdetails.map_ip_interface`` | list | Specifies a list of valid interface names | os10 | -| ``map_ip_interface.intf_id`` | string | Specifies a valid interface name | os10 | -| ``map_ip_interface.state`` | string | Deletes VRF association in the interface if set to absent | os10 | -| ``upd_src_ip_loopback_id`` | string | Configures the source IP for any leaked route in VRF from the provided loopback ID, delete if empty string| os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Dependencies ------------- - -The *os10_vrf* role is built on modules included in the core Ansible code. These modules were added in ansible version 2.2.0 - -Example playbook ----------------- - -This example uses the *os10_vrf* role to setup a VRF and associate it to an interface. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that references the *os10_vrf* role. -*upd_src_ip_loopback_id* has an dependency with association of the interface in a VRF, and the *os10_vrf* role needs to be invoked twice with different input dictionary one for the create and one for *upd_src_ip_loopback_id*. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - os10_vrf: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - ip_route_import: - community_value: "10:20" - state: "present" - route_map_value: "test4" - ip_route_export: - community_value: "30:40" - state: "present" - route_map_value: "test3" - ipv6_route_import: - community_value: "40:50" - state: "absent" - route_map_value: "test2" - ipv6_route_export: - community_value: "60:70" - state: "absent" - route_map_value: "test2" - map_ip_interface: - - intf_id : "loopback11" - state : "present" - - os_vrf_upd_src_loopback: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - upd_src_ip_loopback_id: 11 - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrf - -**Simple playbook with `upd_src_ip_loopback_id` — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrf - - hosts: leaf1 - vars: - os10_vrf: "{{ os_vrf_upd_src_loopback }}" - roles: - - dellemc.os10.os10_vrf - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrf/defaults/main.yml deleted file mode 100644 index e00abdd92..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_vrf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrf/handlers/main.yml deleted file mode 100644 index 7bd70e180..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_vrf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrf/meta/main.yml deleted file mode 100644 index db8f619dc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2017-2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_vrf role facilitates the configuration of VRF attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrf/tasks/main.yml deleted file mode 100644 index ef6515796..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating vrf configuration for os10" - template: - src: os10_vrf.j2 - dest: "{{ build_dir }}/vrf10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning VRF configuration for os10" - os10_config: - src: os10_vrf.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/templates/os10_vrf.j2 b/ansible_collections/dellemc/os10/roles/os10_vrf/templates/os10_vrf.j2 deleted file mode 100644 index e77f6c14b..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/templates/os10_vrf.j2 +++ /dev/null @@ -1,122 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{################################ -Purpose: -Configure VRF on os10 Devices. -os10_vrf: - vrfdetails: - -vrf_name: "os10vrf" - state: "present" - ip_route_import: - community_value: 10:15 - state: "absent" - route_map_value: test1 - ip_route_export: - commnity_value: 20:30 - state: "present" - route_map_value: test2 - ipv6_route_import: - community_value: 10:15 - state: "present" - route_map_value: test3 - ipv6_route_export: - commnity_value: 20:30 - state: "present" - route_map_value: test4 - map_ip_interface: - -intf_id : loopback6 - state : "present" - upd_src_ip_loopback_id: 5 - -vrf_name: "os10vrf1" - state: "absent" -################################} -{% if (os10_vrf is defined and os10_vrf) %} -{% if os10_vrf.vrfdetails is defined %} - {% for vrf in os10_vrf.vrfdetails %} - {% if vrf.vrf_name is defined %} - {% if vrf.vrf_name %} - {% if vrf.state is defined and vrf.state == 'absent' %} -no ip vrf {{ vrf.vrf_name }} - {% else %} -ip vrf {{ vrf.vrf_name }} - {% if vrf.ip_route_import is defined and vrf.ip_route_import %} - {% set route_vars = vrf.ip_route_import %} - {% if route_vars.community_value is defined and route_vars.community_value %} - {% if route_vars.state == 'present' %} - {% if route_vars.route_map_value is defined and route_vars.route_map_value %} - ip route-import {{ route_vars.community_value }} route-map {{ route_vars.route_map_value }} - {% else %} - ip route-import {{ route_vars.community_value }} - {% endif %} - {% else %} - no ip route-import {{ route_vars.community_value }} - {% endif %} - {% endif %} - {% endif %} - {% if vrf.ipv6_route_import is defined and vrf.ipv6_route_import %} - {% set route_vars = vrf.ipv6_route_import %} - {% if route_vars.community_value is defined and route_vars.community_value %} - {% if route_vars.state == 'present' %} - {% if route_vars.route_map_value is defined and route_vars.route_map_value %} - ipv6 route-import {{ route_vars.community_value }} route-map {{ route_vars.route_map_value }} - {% else %} - ipv6 route-import {{ route_vars.community_value }} - {% endif %} - {% else %} - no ipv6 route-import {{ route_vars.community_value }} - {% endif %} - {% endif %} - {% endif %} - {% if vrf.ip_route_export is defined and vrf.ip_route_export %} - {% set route_vars = vrf.ip_route_export %} - {% if route_vars.community_value is defined and route_vars.community_value %} - {% if route_vars.state == 'present' %} - {% if route_vars.route_map_value is defined and route_vars.route_map_value %} - ip route-export {{ route_vars.community_value }} route-map {{ route_vars.route_map_value }} - {% else %} - ip route-export {{ route_vars.community_value }} - {% endif %} - {% else %} - no ip route-export {{ route_vars.community_value }} - {% endif %} - {% endif %} - {% endif %} - {% if vrf.ipv6_route_export is defined and vrf.ipv6_route_export %} - {% set route_vars = vrf.ipv6_route_export %} - {% if route_vars.community_value is defined and route_vars.community_value %} - {% if route_vars.state == 'present' %} - {% if route_vars.route_map_value is defined and route_vars.route_map_value %} - ipv6 route-export {{ route_vars.community_value }} route-map {{ route_vars.route_map_value }} - {% else %} - ipv6 route-export {{ route_vars.community_value }} - {% endif %} - {% else %} - no ipv6 route-export {{ route_vars.community_value }} - {% endif %} - {% endif %} - {% endif %} - {% if vrf.map_ip_interface is defined and vrf.map_ip_interface %} - exit - {% for map_ip_interface in vrf.map_ip_interface %} - {% if map_ip_interface.intf_id is defined and map_ip_interface.intf_id %} -interface {{ map_ip_interface.intf_id }} - {% if map_ip_interface.state is defined and map_ip_interface.state == "absent" %} - no ip vrf forwarding - {% else %} - ip vrf forwarding {{ vrf.vrf_name }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if vrf.upd_src_ip_loopback_id is defined %} - {% if vrf.upd_src_ip_loopback_id %} - update-source-ip loopback{{ vrf.upd_src_ip_loopback_id}} - {% else %} - no update-source-ip loopback - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} -{% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_vrf/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_vrf/tests/main.os10.yaml deleted file mode 100644 index b8a265d85..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/main.os10.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vrf, -# below gives a sample configuration -# Sample variables for OS10 device -os10_vrf: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - ip_route_import: - community_value: "10:20" - state: "present" - route_map_value: "test1" - ip_route_export: - community_value: "30:40" - state: "present" - route_map_value: "test2" - ipv6_route_import: - community_value: "40:50" - state: "absent" - route_map_value: "test3" - ipv6_route_export: - community_value: "60:70" - state: "absent" - route_map_value: "test4" - map_ip_interface: - - intf_id: "loopback11" - state: "present" - -os_vrf_upd_src_loopback: - vrfdetails: - - vrf_name: "os10vrf" - state: "present" - upd_src_ip_loopback_id: 11 diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_vrf/tests/test.yaml deleted file mode 100644 index 6093a28fc..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_vrf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrf/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrf/vars/main.yml deleted file mode 100644 index 5ed35d638..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrf/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars for dellemc.os10.os10_vrf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_vrrp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/README.md b/ansible_collections/dellemc/os10/roles/os10_vrrp/README.md deleted file mode 100644 index 299166bff..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/README.md +++ /dev/null @@ -1,139 +0,0 @@ -VRRP role -========= - -This role facilitates configuring virtual router redundancy protocol (VRRP) attributes. It supports the creation of VRRP groups for interfaces and setting the VRRP group attributes. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VRRP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- `os10_vrrp` (dictionary) holds a dictionary with the interface name key -- Interface name can correspond to any of the valid OS10 interface with a unique interface identifier name -- Physical interfaces names must be in *<interfacename> <tuple>* format (for example *fortyGigE 1/1*) -- Variables and values are case-sensitive - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``vrrp`` | dictionary | Configures VRRP commands (see ``vrrp.*``) | os10 | -| ``version`` | dictionary | Configures VRRP version | os10 | -| ``vrrp_active_active_mode`` | dictionary | Configures VRRP active-active mode | os10 | -| ``delay_reload`` | integer | Configures the minimum delay timer applied after boot (0 to 900) | os10 | -| ``vrrp_group`` | list | Configures VRRP group commands (see ``vrrp_group.*``) | os10 | -| ``vrrp_group.type`` | string: ipv6,ipv4 | Specifies the type of the VRRP group | os10 | -| ``vrrp_group.group_id`` | integer (required) | Configures the ID for the VRRP group (1 to 255) | os10 | -| ``vrrp_group.virtual_address`` | string | Configures a virtual-address to the VRRP group (A.B.C.D format) | os10 | -| ``virtual_address.ip`` | string | Configures a virtual ip address (A.B.C.D format) | os10 | -| ``virtual_address.state`` | string: present\*,absent | Configures/unconfigures a virtual-address (A.B.C.D format) | os10 | -| ``vrrp_group.preempt`` | boolean: true\*,false | Configures preempt mode on the VRRP group | os10 | -| ``vrrp_group.priority`` |integer | Configures priority for the VRRP group (1 to 255; default 100) | os10 | -| ``vrrp_group.adv_interval_centisecs`` | integer | Configures the advertisement interval for the VRRP group in centiseconds (25 to 4075; default 100) and in multiple of 25; centisecs gets converted into seconds in version 2 | os10 | -| ``vrrp_group.track_interface`` | list | Configures the track interface of the VRRP group (see ``track.*``) | os10 | -| ``track_interface.resource_id`` | integer | Configures the object tracking resource ID of the VRRP group; mutually exclusive with *track.interface* | os10 | -| ``track_interface.interface`` | string | Configures the track interface of the VRRP group (<interface name> <interface number> format) | os10 | -| ``track_interface.priority_cost`` | integer | Configures the priority cost for track interface of the VRRP group (1 to 254; default 10) | os10 | -| ``track_interface.state`` | string: present\*,absent | Deletes the specific track interface from the VRRP group if set to absent | os10 | -| ``vrrp_group.track_interface.state`` | string: present*,absent | Deletes all track interfaces from the VRRP group if set to absent | os10 | -| ``vrrp_group.state`` | string: present\*,absent | Deletes the VRRP group from the interface if set to absent | os10 | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories, or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_vrrp* role to configure VRRP commands at the interfaces. It creates a *hosts* file with the switch details and corresponding variables. The hosts file should define the `ansible_network_os` variable with corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. It writes a simple playbook that only references the *os10_vrrp* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - ethernet1/1/1: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: true - -> **NOTE**: Interface VRRP cannot exist with L2 modes and can be configured using the *os10_interface* role. - -**Simple playbook to setup system — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vrrp - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrrp/defaults/main.yml deleted file mode 100644 index 089bfddc5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_vrrp diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrrp/handlers/main.yml deleted file mode 100644 index aef7df3b5..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_vrrp diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrrp/meta/main.yml deleted file mode 100644 index 38560f941..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/meta/main.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: > - The os10_vrrp role facilitates the configuration of Virtual Router Redundancy Protocol (VRRP) attributes in - devices running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - dellemc - - emc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrrp/tasks/main.yml deleted file mode 100644 index 3d8a1a6cf..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating VRRP configuration for os10" - template: - src: os10_vrrp.j2 - dest: "{{ build_dir }}/vrrp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning VRRP configuration for os10" - os10_config: - src: os10_vrrp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/templates/os10_vrrp.j2 b/ansible_collections/dellemc/os10/roles/os10_vrrp/templates/os10_vrrp.j2 deleted file mode 100644 index a1c75b6a6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/templates/os10_vrrp.j2 +++ /dev/null @@ -1,154 +0,0 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -{########################################## -Purpose: -Configure VRRP commands for os10 Devices -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - ethernet1/1/1: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: True -#########################################} -{% if os10_vrrp is defined and os10_vrrp %} -{% for key,value in os10_vrrp.items() %} -{% if key == "vrrp" %} - {% if value.delay_reload is defined %} - {% if value.delay_reload >=0 %} -vrrp delay reload {{ value.delay_reload }} - {% else %} -vrrp delay reload {{ value.delay_reload }} - {% endif %} - {% endif %} - {% if value.version is defined %} - {% if value.version %} -vrrp version {{ value.version }} - {% else %} -no vrrp version - {% endif %} - {% endif %} -{% else %} -interface {{ key }} - {% if value %} - {% if key.startswith("vlan") %} - {% if value.vrrp_active_active_mode is defined and value.vrrp_active_active_mode %} - vrrp mode active-active - {% else %} - no vrrp mode active-active - {% endif %} - {% endif %} - {% if value.vrrp_group is defined and value.vrrp_group %} - {% for group in value.vrrp_group %} - {% if group.group_id is defined and group.group_id %} - {% if group.state is defined and group.state == "absent" %} - {% if group.type is defined and group.type == "ipv6" %} - no vrrp-ipv6-group {{ group.group_id }} - {% else %} - no vrrp-group {{ group.group_id }} - {% endif %} - {% else %} - {% if group.type is defined and group.type == "ipv6" %} - vrrp-ipv6-group {{ group.group_id }} - {% else %} - vrrp-group {{ group.group_id }} - {% endif %} - {% if group.adv_interval_centisecs is defined %} - {% if group.adv_interval_centisecs %} - advertise-interval centisecs {{ group.adv_interval_centisecs }} - {% else %} - no advertise-interval centisecs - {% endif %} - {% endif %} - {% if group.adv_interval_secs is defined %} - {% if group.adv_interval_secs %} - advertise-interval secs {{ group.adv_interval_secs }} - {% else %} - no advertise-interval secs - {% endif %} - {% endif %} - {% if group.track_interface is defined and group.track_interface %} - {% for track_item in group.track_interface %} - {% if track_item.state is defined and track_item.state == "absent" %} - {% if track_item.resource_id is defined and track_item.resource_id %} - no track {{ track_item.resource_id }} - {% endif %} - {% else %} - {% if track_item.resource_id is defined and track_item.resource_id %} - {% if track_item.priority_cost is defined and track_item.priority_cost %} - track {{ track_item.resource_id }} priority-cost {{ track_item.priority_cost }} - {% else %} - track {{ track_item.resource_id }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if group.virtual_address is defined and group.virtual_address %} - {% for virtual_interface in group.virtual_address %} - {% if virtual_interface.state is defined and virtual_interface.state == "absent" %} - {% if virtual_interface.ip is defined and virtual_interface.ip %} - no virtual-address {{ virtual_interface.ip }} - {% endif %} - {% else %} - {% if virtual_interface.ip is defined and virtual_interface.ip %} - virtual-address {{ virtual_interface.ip }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if group.preempt is defined %} - {% if group.preempt %} - preempt - {% else %} - no preempt - {% endif %} - {% endif %} - {% if group.priority is defined %} - {% if group.priority %} - priority {{ group.priority }} - {% else %} - no priority - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} -{% endif %} -{% endfor %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/main.os10.yaml b/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/main.os10.yaml deleted file mode 100644 index 974751700..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/main.os10.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vrrp, -# below gives a example configuration -# Sample variables for OS10 device -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - ethernet1/1/1: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: true diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/test.yaml deleted file mode 100644 index 2ed5ab8ef..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_vrrp diff --git a/ansible_collections/dellemc/os10/roles/os10_vrrp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_vrrp/vars/main.yml deleted file mode 100644 index aa78d6774..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vrrp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vrrp diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/LICENSE b/ansible_collections/dellemc/os10/roles/os10_vxlan/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/README.md b/ansible_collections/dellemc/os10/roles/os10_vxlan/README.md deleted file mode 100644 index 09b23bb36..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/README.md +++ /dev/null @@ -1,259 +0,0 @@ -VxLAN role -======== - -This role facilitates the configuration of virtual extensible LAN (VxLAN) attributes. It supports the configuration of virtual networks, Ethernet virtual private network (EVPN), and network virtualization edge (NVE). This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The VxLAN role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, it generates the role configuration commands in a file -- Any role variable with a corresponding state variable setting to absent negates the configuration of that variable -- Setting an empty value for any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**os10_vxlan keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|-----------------------| -| ``anycast_gateway_mac`` | string | Configures an anycast gateway IP address for a VxLAN virtual network | os10 | -| ``loopback`` | dictionary | Configures the loopback interface (see ``loopback.*``) | os10 | -| ``loopback.loopback_id`` | integer | Configures the loopback interface number (0 to 16383) | os10 | -| ``loopback.description`` | string | Configures the interface description | os10 | -| ``loopback.ip_address`` | string | Configure the IP address | os10 | -| ``loopback.state`` | string: absent,present\* | Removes loopback interface if set to absent | os10 | -| ``nve`` | dictionary | Configures network virtualization edge (see ``nve.*``) | os10 | -| ``nve.source_interface`` | integer | Configures source loopback interface | os10 | -| ``nve.controller`` | dictionary | Configures controller; supports only one controller connection at a time (see ``controller.*``) | os10 | -| ``controller.name`` | string: NSX, ovsdb | Configures the NVE controller | os10 | -| ``controller.max_backoff`` | integer | Configures max_backoff value (setting an empty value negates the corresponding configuration) | os10 | -| ``controller.control_cfg`` | list | Configures the controller IP and port (see ``control_cfg.*``) | os10 | -| ``control_cfg.ip_addr`` | string | Configures the controller IP | os10 | -| ``control_cfg.port`` | integer | Configures the controller port | os10 | -| ``control_cfg.state`` | string: absent,present\* | Removes the controller IP and port configuration if set to absent | os10 | -| ``controller.state`` | string: absent,present\* | Removes the controller if set to absent | os10 | -| ``nve.state`` | string: absent,present\* | Removes the NVE if set to absent | os10 | -| ``evpn`` | dictionary | Enables EVPN in control plane (see ``evpn.*``) | os10 | -| ``evpn.autoevi`` | boolean: True, False | Configures auto-EVI; no further manual configuration is allowed in auto-EVI mode | os10 | -| ``evpn.rmac`` | string | Configures router MAC address | os10 | -| ``evpn.evi`` | list | Configures EVPN instance (see ``evi.*``)| os10 | -| ``evpn.dis_rt_asn`` | boolean | Enables/disables AS number usage in route target | os10 | -| ``evpn.vrf`` | dictionary | Enables VRF for EVPN| os10 | -| ``vrf.name`` | string | Configures VRF name | os10 | -| ``vrf.state`` | string(present,absent) | Configures/removes VRF for EVPN | os10 | -| ``vrf.vni`` | integer | Configures VNI for the VRF | os10 | -| ``vrf.rd`` | string | Configures RD for the VRF | os10 | -| ``vrf.route_target`` | dictionary | Enables route target for the VRF | os10 | -| ``route_target.type`` | string (manual, auto) | Configures the route target type | os10 | -| ``route_target.asn_value`` | string | Configure AS number | os10 | -| ``route_target.state`` | string (present,absent) | Configures/unconfigures the route target | os10 | -| ``route_target.route_target_type`` | string | Configures the route target type | os10 | -| ``vrf.adv_ipv4`` | dictionary | Enables IPv4 advertisement VRF | os10 | -| ``adv_ipv4.type`` | string | Configures IPv4 advertisement type | os10 | -| ``adv_ipv4.rmap_name`` | string | Configures route-map for advertisement | os10 | -| ``adv_ipv4.unconfig`` | boolean | Configures/unconfigures route-map for advertisement | os10 | -| ``evi.id`` | integer | Configures the EVPN instance ID (1 to 65535) | os10 | -| ``evi.rd`` | string | Configures the route distinguisher | os10 | -| ``evi.vni`` | dictionary | Configures VNI value (see ``vni.*``) | os10 | -| ``vni.id`` | integer | Configures VNI value; configure the same VNI value configured for the VxLAN virtual network | os10 | -| ``vni.state`` | string: absent,present\* | Removes the VNI if set to absent | os10 | -| ``evi.route_target`` | list | Configures route target (see ``route_target.*``) | os10 | -| ``route_target.type`` | string: manual,auto | Configures the route target (auto mode auto-configures an import and export value for EVPN routes) | os10 | -| ``route_target.asn_value`` | string | Configures the route target ASN value | os10 | -| ``route_target.route_target_type`` | string: import,export,both | Configures the route target type | os10 | -| ``route_target.state`` | string: absent,present\* | Removes the route target if set to absent | os10 | -| ``evi.state`` | string: absent,present\* | Removes EVPN instance ID if set to absent | os10 | -| ``evpn.state`` | string: absent,present\* | Removes the EVPN configuration if set to absent | os10 | -| ``virtual_network`` | dictionary | Configures the virtual network attributes (see ``virtual_network.*``) | os10 | -| ``virtual_network.untagged_vlan`` | integer | Configures the reserved untagged VLAN ID (1 to 4093) | os10 | -| ``virtual_network.virtual_net`` | list | Configures the virtual network attributes for VxLAN tunneling (see ``virtual_net.*``) | os10 | -| ``virtual_net.id`` | integer | Configures a virtual network ( virtual-network ID, from 1 to 65535) | os10 | -| ``virtual_net.description`` | string | Configures the description for virtual network | os10 | -| ``virtual_net.vlt_vlan_id`` | integer | Configures the VLTi VLAN ID | os10 | -| ``virtual_net.member_interface`` | list | Configures the trunk member interface attributes to the virtual network (see ``member_interface.*``) | os10 | -| ``member_interface.ifname`` | string | Configures interface name to provision the virtual network member interface | os10 | -| ``member_interface.type`` | string: tagged,untagged | Configures the type to provision the virtual network member interface | os10 | -| ``member_interface.vlanid`` | integer | Configures the VLAN ID to provision the virtual network member interface | os10 | -| ``member_interface.state`` | string: absent,present\* | Removes the virtual network member interface if set to absent | os10 | -| ``virtual_net.vxlan_vni`` | dictionary | Configures the VxLAN attributes to virtual network (see ``vxlan_vni.*``) | os10 | -| ``vxlan_vni.id`` | integer | Configures the VxLAN ID to a virtual network | os10 | -| ``vxlan_vni.remote_endpoint`` | list | Configures the IP address of a remote tunnel endpoint in a VxLAN network (see ``remote_endpoint.*``) | os10 | -| ``remote_endpoint.ip`` | string | Configures the IP address of a remote tunnel endpoint (1.1.1.1) | os10 | -| ``remote_endpoint.state`` | string: absent,present\* | Removes the remote tunnel endpoint in a VxLAN network if set to absent | os10 | -| ``vxlan_vni.state`` | string: absent,present\* | Removes the VxLAN ID if set to absent | os10 | -| ``virtual_net.state`` | string: absent,present\* | Removes a virtual network if set to absent | os10 | -| ``vlan_association`` | list | Configures the VLAN association with virtual network (see ``vlan_association.*``) | os10 | -| ``vlan_association.vlan_id`` | integer | Specifies the VLAN ID | os10 | -| ``vlan_association.virtual_net`` | integer | Specifies the virtual netwrok ID which is to be associated with VLAN | os10 | - - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory, or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-----------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOME` environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_vxlan* role to configure the VxLAN network, source IP address on VxLAN tunnel endpoint and virtual networks. It creates a *hosts* file with the switch details, a *host_vars* file with connection variables and the corresponding role variables. The hosts file should define the ansible_network_os variable with the corresponding Dell EMC OS10 name. - -When `os10_cfg_generate` is set to true, the variable generates the configuration commands as a .part file in *build_dir* path. By default, the variable is set to false. This example writes a simple playbook that only references the *os10_vxlan* role. - -**Sample hosts file** - - leaf1 ansible_host= <ip_address> - -**Sample host_vars/leaf1** - - hostname: leaf1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/os10 - - os10_vxlan: - anycast_gateway_mac: "00:22:33:44:55:66" - loopback: - loopback_id: 10 - description: "HARDWARE_VXLAN" - ip_address: "10.8.0.1/32" - state: "present" - nve: - source_interface: 10 - controller: - name: "ovsdb" - max_backoff: 2000 - control_cfg: - - ip_addr: "1.2.3.4" - port: 30 - state: "present" - state: "present" - state: "present" - evpn: - autoevi: False - evi: - - id: 111 - rd: "auto" - vni: - id: 111 - state: "present" - route_target: - - type: "manual" - asn_value: "111:111" - route_target_type: "both" - state: "present" - - type: "manual" - asn_value: "11:11" - route_target_type: "export" - state: "present" - state: "present" - - id: 222 - rd: "2.2.2.2:222" - vni: - id: 222 - state: "present" - route_target: - - type: "auto" - asn_value: - route_target_type: - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - - name: "blue" - state: "absent" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - state: "present" - virtual_network: - untagged_vlan: 1001 - virtual_net: - - id: 111 - description: "NSX_Cluster_VNI_111" - vlt_vlan_id: 11 - member_interface: - - ifname: "ethernet 1/1/15" - type: "tagged" - vlanid: 15 - state: "present" - - ifname: "port-channel 12" - type: "tagged" - vlanid: 11 - state: "present" - vxlan_vni: - id: 111 - remote_endpoint: - - ip: "1.1.1.1" - state: "present" - - ip: "11.11.11.11" - state: "present" - - ip: "111.111.111.111" - state: "present" - state: "present" - state: "present" - - id: 222 - description: "NSX_Cluster_VNI_222" - vlt_vlan_id: 22 - member_interface: - - ifname: "ethernet 1/1/16" - type: "tagged" - vlanid: 16 - state: "present" - vxlan_vni: - id: 222 - remote_endpoint: - - ip: "2.2.2.2" - state: "present" - - ip: "22.22.22.22" - state: "present" - state: "present" - state: "present" - vlan_association: - - vlain_id: 111 - virtual_net: 111 - -> **NOTE**: Member interfaces should be in switchport trunk mode which can be configured using the *os10_interface* role. - -**Simple playbook to configure VxLAN — leaf.yaml** - - - hosts: leaf1 - roles: - - dellemc.os10.os10_vxlan - -**Run** - - ansible-playbook -i hosts leaf.yaml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/defaults/main.yml deleted file mode 100644 index adeae5500..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_vxlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/handlers/main.yml deleted file mode 100644 index a6b6bc571..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_vxlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/meta/main.yml deleted file mode 100644 index 87908f3ce..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/meta/main.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) 2020 Dell Inc. or its subsidiaries. All Rights Reserved. ---- -galaxy_info: - role_name: os10_vxlan - author: Dell EMC Networking Engineering - description: > - The os10_vxlan role facilitates the configuration of nve evpn and virtual network attributes in devices - running Dell EMC SmartFabric OS10. - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - emc - - dellemc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/tasks/main.yml deleted file mode 100644 index f90be2d76..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating vxlan configuration for os10" - template: - src: os10_vxlan.j2 - dest: "{{ build_dir }}/vxlan10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning vxlan configuration for os10" - os10_config: - src: os10_vxlan.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/templates/os10_vxlan.j2 b/ansible_collections/dellemc/os10/roles/os10_vxlan/templates/os10_vxlan.j2 deleted file mode 100644 index b56da068c..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/templates/os10_vxlan.j2 +++ /dev/null @@ -1,434 +0,0 @@ -#jinja2: trim_blocks: True,lstrip_blocks: True -{############################################# -#Purpose: -Configure VXLAN commands for os10 Devices -os10_vxlan: - anycast_gateway_mac: "00:22:33:44:55:66" - loopback: - loopback_id: 10 - description: "HARDWARE_VXLAN" - ip_address: "10.8.0.1/32" - state: "present" - nve: - source_interface: 10 - controller: - name: "ovsdb" - max_backoff: 2000 - control_cfg: - - ip_addr: "1.2.3.4" - port: 30 - state: "present" - state: "present" - state: "present" - evpn: - autoevi: False - evi: - - id: 111 - rd: "auto" - vni: - id: 111 - state: "present" - route_target: - - type: "manual" - asn_value: "111:111" - route_target_type: "both" - state: "present" - - type: "manual" - asn_value: "11:11" - route_target_type: "export" - state: "present" - state: "present" - - id: 222 - rd: "2.2.2.2:222" - vni: - id: 222 - state: "present" - route_target: - - type: "auto" - asn_value: - route_target_type: - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - - name: "blue" - state: "absent" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - state: "present" - virtual_network: - untagged_vlan: 1001 - virtual_net: - - id: 111 - description: "NSX_Cluster_VNI_111" - vlt_vlan_id: 11 - member_interface: - - ifname: "ethernet 1/1/15" - type: "tagged" - vlanid: 15 - state: "present" - - ifname: "port-channel 12" - type: "tagged" - vlanid: 11 - state: "present" - vxlan_vni: - id: 111 - remote_endpoint: - - ip: "1.1.1.1" - state: "present" - - ip: "11.11.11.11" - state: "present" - - ip: "111.111.111.111" - state: "present" - state: "present" - state: "present" - - id: 222 - description: "NSX_Cluster_VNI_222" - vlt_vlan_id: 22 - member_interface: - - ifname: "ethernet 1/1/16" - type: "tagged" - vlanid: 16 - state: "present" - vxlan_vni: - id: 222 - remote_endpoint: - - ip: "2.2.2.2" - state: "present" - - ip: "22.22.22.22" - state: "present" - state: "present" - state: "present" - vlan_association: - - vlain_id: 111 - virtual_net: 111 -###############################################} -{% if os10_vxlan is defined and os10_vxlan %} - {% if os10_vxlan.anycast_gateway_mac is defined %} - {% if os10_vxlan.anycast_gateway_mac %} -ip virtual-router mac-address {{ os10_vxlan.anycast_gateway_mac }} - {% else %} -no ip virtual-router mac-address - {% endif %} - {% endif %} - {% if os10_vxlan.loopback is defined %} - {% set loopback = os10_vxlan.loopback %} - {% if loopback.state is defined and loopback.state == "absent" %} - {% if loopback.loopback_id is defined and loopback.loopback_id %} -no interface loopback {{ loopback.loopback_id }} - {% endif %} - {% else %} - {% if loopback.loopback_id is defined and loopback.loopback_id %} -interface loopback {{ loopback.loopback_id }} - {% endif %} - {% if loopback.description is defined %} - {% if loopback.description %} - description {{ loopback.description }} - {% else %} - no description {{ loopback.description }} - {% endif %} - {% endif %} - {% if loopback.ip_address is defined %} - {% if loopback.ip_address %} - ip address {{ loopback.ip_address }} - {% else %} - no ip address - {% endif %} - {% endif %} - {% endif %} - {% endif %} - - {% if os10_vxlan.nve is defined and os10_vxlan.nve %} - {% set nve = os10_vxlan.nve %} - {% if nve.state is defined and nve.state == "absent" %} -no nve - {% else %} -nve - {% if nve.source_interface is defined %} - {% if nve.source_interface >= 0 %} - source-interface loopback{{ nve.source_interface }} - {% else %} - no source-interface - {% endif %} - {% endif %} - {% if nve.controller is defined %} - {% set controller = os10_vxlan.nve.controller %} - {% if controller.state is defined and controller.state == "absent" %} - no controller - {% else %} - {% if controller.name is defined and controller.name %} - controller {{ controller.name }} - {% endif %} - {% if controller.max_backoff is defined %} - {% if controller.max_backoff %} - max-backoff {{ controller.max_backoff }} - {% else %} - no max-backoff - {% endif %} - {% endif %} - {% if controller.control_cfg is defined and controller.control_cfg %} - {% for ctrl_cfg in controller.control_cfg %} - {% if ctrl_cfg.ip_addr is defined and ctrl_cfg.ip_addr %} - {% if ctrl_cfg.port is defined and ctrl_cfg.port %} - {% if ctrl_cfg.state is defined and ctrl_cfg.state == "absent" %} - {% if controller.name == "ovsdb" %} - no ip {{ ctrl_cfg.ip_addr }} port {{ ctrl_cfg.port }} ssl - {% else %} - no ip {{ ctrl_cfg.ip_addr }} port {{ ctrl_cfg.port }} - {% endif %} - {% else %} - {% if controller.name == "ovsdb" %} - ip {{ ctrl_cfg.ip_addr }} port {{ ctrl_cfg.port }} ssl - {% else %} - ip {{ ctrl_cfg.ip_addr }} port {{ ctrl_cfg.port }} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - - {% if os10_vxlan.evpn is defined and os10_vxlan.evpn %} - {% set evpn = os10_vxlan.evpn %} - {% if evpn.state is defined and evpn.state == "absent" %} -no evpn - {% else %} -evpn - {% if evpn.rmac is defined %} - {% if evpn.rmac %} - router-mac {{ evpn.rmac }} - {% else %} - no router-mac - {% endif %} - {% endif %} - {% if evpn.dis_rt_asn is defined and evpn.dis_rt_asn == "true" %} - disable-rt-asn - {% else %} - no disable-rt-asn - {% endif %} - {% if evpn.evi is defined and evpn.evi %} - {% for evi in evpn.evi %} - {% if evi.id is defined and evi.id %} - {% if evi.state is defined and evi.state == "absent" %} - no evi {{ evi.id }} - {% else %} - evi {{ evi.id }} - {% if evi.vni is defined and evi.vni %} - {% if evi.vni.id is defined and evi.vni.id %} - {% if evi.vni.state is defined and evi.vni.state == "absent" %} - no vni {{ evi.vni.id }} - {% else %} - vni {{ evi.vni.id }} - {% endif %} - {% endif %} - {% endif %} - {% if evi.rd is defined %} - {% if evi.rd %} - rd {{ evi.rd }} - {% else %} - no rd - {% endif %} - {% endif %} - {% if evi.route_target is defined and evi.route_target %} - {% for rt in evi.route_target %} - {% if rt.type is defined and rt.type == "manual" %} - {% if rt.asn_value is defined and rt.asn_value %} - {% if rt.state is defined and rt.state == "absent" %} - no route-target {{ rt.asn_value }} - {% else %} - {% if rt.route_target_type is defined and rt.route_target_type %} - route-target {{ rt.asn_value }} {{ rt.route_target_type }} - {% endif %} - {% endif %} - {% endif %} - {% elif rt.type is defined and rt.type == "auto" %} - {% if rt.state is defined and rt.state == "absent" %} - no route-target auto - {% else %} - route-target auto - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if evpn.vrf is defined %} - {% for evpn_vrf in evpn.vrf %} - {% if evpn_vrf.state is defined and evpn_vrf.state == "absent" and evpn_vrf.name %} - no vrf {{ evpn_vrf.name }} - {% elif evpn_vrf.name %} - vrf {{ evpn_vrf.name }} - {% if evpn_vrf.vni is defined %} - {% if evpn_vrf.vni %} - vni {{ evpn_vrf.vni }} - {% else %} - no vni - {% endif %} - {% endif %} - {% if evpn_vrf.rd is defined %} - {% if evpn_vrf.rd %} - rd {{ evpn_vrf.rd }} - {% else %} - no rd - {% endif %} - {% endif %} - {% if evpn_vrf.route_target is defined and evpn_vrf.route_target %} - {% for rt in evpn_vrf.route_target %} - {% if rt.type is defined and rt.type == "manual" %} - {% if rt.asn_value is defined and rt.asn_value %} - {% if rt.state is defined and rt.state == "absent" %} - no route-target {{ rt.asn_value }} - {% else %} - {% if rt.route_target_type is defined and rt.route_target_type %} - route-target {{ rt.asn_value }} {{ rt.route_target_type }} - {% endif %} - {% endif %} - {% endif %} - {% elif rt.type is defined and rt.type == "auto" %} - {% if rt.state is defined and rt.state == "absent" %} - no route-target auto - {% else %} - route-target auto - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if evpn_vrf.adv_ipv4 is defined and evpn_vrf.adv_ipv4 %} - {% for rt in evpn_vrf.adv_ipv4 %} - {% if rt.unconfig is defined and rt.unconfig == "true" and rt.type is defined and rt.rmap_name is defined %} - no advertise ipv4 {{ rt.type }} route-map {{ rt.rmap_name }} - {% elif rt.type is defined and rt.rmap_name is defined %} - advertise ipv4 {{ rt.type }} route-map {{ rt.rmap_name }} - {% elif rt.unconfig is defined and rt.unconfig == "true" and rt.type is defined %} - no advertise ipv4 {{ rt.type }} - {% elif rt.type is defined %} - advertise ipv4 {{ rt.type }} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - - {% if evpn.autoevi is defined %} - {% if evpn.autoevi == True %} - auto-evi - {% else %} - no auto-evi - {% endif %} - {% endif %} - {% endif %} - {% endif %} - - {% if os10_vxlan.virtual_network is defined and os10_vxlan.virtual_network %} - {% set vir_net = os10_vxlan.virtual_network %} - {% if vir_net.untagged_vlan is defined %} - {% if vir_net.untagged_vlan %} -virtual-network untagged-vlan {{ vir_net.untagged_vlan }} - {% else %} -no virtual-network untagged-vlan - {% endif %} - {% endif %} - {% if vir_net.virtual_net is defined and vir_net.virtual_net %} - {% for v_net in vir_net.virtual_net %} - {% if v_net.id is defined and v_net.id %} - {% if v_net.state is defined and v_net.state == "absent" %} -no interface virtual-network {{ v_net.id }} -no virtual-network {{ v_net.id }} - {% else %} -virtual-network {{ v_net.id }} - {% if v_net.description is defined %} - {% if v_net.description %} - description {{ v_net.description }} - {% else %} - no description - {% endif %} - {% endif %} - {% if v_net.vlt_vlan_id is defined %} - {% if v_net.vlt_vlan_id %} - vlti-vlan {{ v_net.vlt_vlan_id }} - {% else %} - no vlti-vlan - {% endif %} - {% endif %} - {% if v_net.member_interface is defined and v_net.member_interface %} - {% for member_intf in v_net.member_interface %} - {% if member_intf.ifname is defined and member_intf.ifname %} - {% if member_intf.type is defined %} - {% if member_intf.type == "tagged" %} - {% if member_intf.vlanid is defined and member_intf.vlanid %} - {% if member_intf.state is defined and member_intf.state == "absent" %} - no member-interface {{ member_intf.ifname }} vlan-tag {{ member_intf.vlanid }} - {% else %} - member-interface {{ member_intf.ifname }} vlan-tag {{ member_intf.vlanid }} - {% endif %} - {% endif %} - {% elif member_intf.type == "untagged" %} - {% if member_intf.state is defined and member_intf.state == "absent" %} - no member-interface {{ member_intf.ifname }} untagged - {% else %} - member-interface {{ member_intf.ifname }} untagged - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if v_net.vxlan_vni is defined and v_net.vxlan_vni %} - {% set vxlan_vni = v_net.vxlan_vni %} - {% if vxlan_vni.id is defined and vxlan_vni.id %} - {% if vxlan_vni.state is defined and vxlan_vni.state == "absent" %} - no vxlan-vni {{ vxlan_vni.id }} - {% else %} - vxlan-vni {{ vxlan_vni.id }} - {% if vxlan_vni.remote_endpoint is defined and vxlan_vni.remote_endpoint %} - {% for remote_endpt in vxlan_vni.remote_endpoint %} - {% if remote_endpt.ip is defined and remote_endpt.ip %} - {% if remote_endpt.state is defined and remote_endpt.state == "absent" %} - no remote-vtep {{ remote_endpt.ip }} - {% else %} - remote-vtep {{ remote_endpt.ip }} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endif %} - {% if os10_vxlan.vlan_association is defined and os10_vxlan.vlan_association %} - {% for vlan in os10_vxlan.vlan_association %} - {% if vlan.vlan_id is defined and vlan.vlan_id %} -interface vlan{{ vlan.vlan_id }} - {% if vlan.virtual_net is defined %} - {% if vlan.virtual_net %} - virtual-network {{ vlan.virtual_net }} - {% else %} - no virtual-network - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/main.yaml deleted file mode 100644 index d326e6355..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/main.yaml +++ /dev/null @@ -1,112 +0,0 @@ ---- -os10_vxlan: - anycast_gateway_mac: "00:22:33:44:55:66" - loopback: - loopback_id: 10 - description: "HARDWARE_VXLAN" - ip_address: "10.8.0.1/32" - state: "present" - nve: - source_interface: 10 - controller: - name: "ovsdb" - max_backoff: 2000 - control_cfg: - - ip_addr: "1.2.3.4" - port: 30 - state: "present" - state: "present" - state: "present" - evpn: - autoevi: False - evi: - - id: 111 - rd: "auto" - vni: - id: 111 - state: "present" - route_target: - - type: "manual" - asn_value: "111:111" - route_target_type: "both" - state: "present" - - type: "manual" - asn_value: "11:11" - route_target_type: "export" - state: "present" - state: "present" - - id: 222 - rd: "2.2.2.2:222" - vni: - id: 222 - state: "present" - route_target: - - type: "auto" - asn_value: - route_target_type: - state: "present" - state: "present" - vrf: - - name: "test" - vni: 1000 - adv_ipv4: - - type: "connected" - state: "present" - - type: "bgp" - state: "present" - route_target: - - type: "manual" - asn_value: "65530:65534" - route_target_type: "both" - state: "present" - - name: "blue" - state: "absent" - rmac: 00:11:11:11:11:11 - dis_rt_asn: "true" - state: "present" - virtual_network: - untagged_vlan: 1001 - virtual_net: - - id: 111 - description: "NSX_Cluster_VNI_111" - vlt_vlan_id: 11 - member_interface: - - ifname: "ethernet 1/1/15" - type: "tagged" - vlanid: 15 - state: "present" - - ifname: "port-channel 12" - type: "tagged" - vlanid: 11 - state: "present" - vxlan_vni: - id: 111 - remote_endpoint: - - ip: "1.1.1.1" - state: "present" - - ip: "11.11.11.11" - state: "present" - - ip: "111.111.111.111" - state: "present" - state: "present" - state: "present" - - id: 222 - description: "NSX_Cluster_VNI_222" - vlt_vlan_id: 22 - member_interface: - - ifname: "ethernet 1/1/16" - type: "tagged" - vlanid: 16 - state: "present" - vxlan_vni: - id: 222 - remote_endpoint: - - ip: "2.2.2.2" - state: "present" - - ip: "22.22.22.22" - state: "present" - state: "present" - state: "present" - vlan_association: - - vlain_id: 111 - virtual_net: 111 diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/test.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/test.yml deleted file mode 100644 index f5e4a6c11..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: os10host - connection: network_cli - roles: - - dellemc.os10.os10_vxlan diff --git a/ansible_collections/dellemc/os10/roles/os10_vxlan/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_vxlan/vars/main.yml deleted file mode 100644 index 0373f0aab..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_vxlan/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_vxlan diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/LICENSE b/ansible_collections/dellemc/os10/roles/os10_xstp/LICENSE deleted file mode 100644 index 2c9b8e1fd..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (c) 2020, Dell Inc. All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (c) 2020, Dell Inc. All rights reserved. - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/README.md b/ansible_collections/dellemc/os10/roles/os10_xstp/README.md deleted file mode 100644 index 0dd919b27..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/README.md +++ /dev/null @@ -1,196 +0,0 @@ -# xSTP role - -This role facilitates the configuration of xSTP attributes. It supports multiple version of spanning-tree protocol (STP), rapid spanning-tree (RSTP), rapid per-VLAN spanning-tree (Rapid PVST+), multiple spanning-tree (MST), and per-VLAN spanning-tree (PVST). It supports the configuration of bridge priority, enabling and disabling spanning-tree, creating and deleting instances, and mapping virtual LAN (VLAN) to instances. This role is abstracted for Dell EMC PowerSwitch platforms running Dell EMC SmartFabric OS10. - -The xSTP role requires an SSH connection for connectivity to a Dell EMC SmartFabric OS10 device. You can use any of the built-in OS connection variables. - -Role variables --------------- - -- Role is abstracted using the `ansible_network_os` variable that can take `dellemc.os10.os10` as the value -- If `os10_cfg_generate` is set to true, the variable generates the role configuration commands in a file -- `os10_xstp` (dictionary) contains the hostname (dictionary) -- Hostname is the value of the *hostname* variable that corresponds to the name of the device -- Any role variable with a corresponding state variable set to absent negates the configuration of that variable -- Setting an empty value to any variable negates the corresponding configuration -- Variables and values are case-sensitive - -**hostname keys** - -| Key | Type | Description | Support | -|------------|---------------------------|---------------------------------------------------------|----------------------| -| ``type`` | string (required) | Configures the type of spanning-tree mode specified that can vary according to the device including RSTP, rapid-PVST, and MST | os10 | -| ``enable`` | boolean: true,false | Enables/disables the spanning-tree protocol specified in the type variable | os10 | -| ``mac_flush_timer`` | integer | Configures the mac_flush_timer value (0 to 500) | os10 | -| ``rstp`` | dictionary | Configures rapid spanning-tree (see ``rstp.*``) | os10 | -| ``rstp.bridge_priority`` | integer | Configures bridge-priority for the spanning-tree (0 to 61440 in multiples of 4096) | os10 | -| ``rstp.max_age`` | integer | Configures the max_age timer for RSTP (6 to 40) | os10 | -| ``rstp.hello_time`` | integer | Configures the hello-time for RSTP (1 to 10) | os10 | -| ``rstp.forward_time`` | integer | Configures the forward-time for RSTP (4 to 30) | os10 | -| ``rstp.force_version`` | string: stp | Configures the force version for the BPDUs transmitted by RSTP | os10 | -| ``rstp.mac_flush_threshold`` | integer | Configures the MAC flush threshold for RSTP (1 to 65535) | os10 | -| ``pvst`` | dictionary | Configures per-VLAN spanning-tree protocol (see ``pvst.*``) | os10 | -| ``pvst.vlan`` | list | Configures the VLAN for PVST (see ``vlan.*``) | os10 | -| ``vlan.range_or_id`` | string | Configures a VLAN/range of VLANs for the per-VLAN spanning-tree protocol | os10 | -| ``vlan.max_age`` | integer | Configures the max_age timer for a VLAN (6 to 40) | os10 | -| ``vlan.hello_time`` | integer | Configures the hello-time for a VLAN (1 to 10) | os10 | -| ``vlan.forward_time`` | integer | Configures the forward-time for a VLAN (4 to 30) | os10 | -| ``vlan.enable`` | boolean: true,false | Enables/disables spanning-tree for the associated VLAN range_or_id | os10 | -| ``vlan.mac_flush_threshold`` | integer | Configures the MAC flush threshold for a VLAN (1 to 65535) | os10 | -| ``vlan.root`` | string: primary,secondary | Designates the primary or secondary root for the associated VLAN range_or_id; mutually exclusive with *vlan.bridge_priority* | os10 | -| ``vlan.bridge_priority`` | integer | Configures bridge-priority for the per-VLAN spanning-tree (0 to 61440 in multiples of 4096); mutually exclusive with *vlan.root* | os10 | -| ``mstp`` | dictionary | Configures multiple spanning-tree protocol (see ``mstp.*``) | os10 | -| ``mstp.max_age`` | integer | Configures the max_age timer for MSTP (6 to 40) | os10 | -| ``mstp.max_hops`` | integer | Configures the max-hops for MSTP (6 to 40) | os10 | -| ``mstp.hello_time`` | integer | Configures the hello-time for MSTP (1 to 10) | os10 | -| ``mstp.forward_time`` | integer | Configures the forward-time for MSTP (4 to 30) | os10 | -| ``mstp.force_version`` | string: stp,rstp | Configures the force-version for the BPDUs transmitted by MSTP | os10 | -| ``mstp.mstp_instances`` | list | Configures a MSTP instance (see ``mstp_instances.*``) | os10 | -| ``mstp_instances.number_or_range`` | integer | Configures the multiple spanning-tree instance number| os10 | -| ``mstp_instances.bridge_priority`` | integer | Configures the bridge-priority for the spanning-tree (0 to 61440 in multiples of 4096); mutually exclusive with *mstp_instances.root* | os10 | -| ``mstp_instances.enable`` | boolean: true,false | Enables/disables spanning-tree for the associated MSTP instance | os10 | -| ``mstp_instances.mac_flush_threshold`` | integer | Configures the MAC flush-threshold for an MSTP instance (1 to 65535) | os10 | -| ``mstp_instances.root`` | string: primary,secondary | Designates the primary or secondary root for the associated MSTP instance; mutually exclusive with *mstp_instances.bridge_priority* | os10 | -| ``mstp.mst_config`` | dictionary | Configures multiple spanning-tree (see ``mstp.mst_config.*``); supported | os10 | -| ``mst_config.name`` | string | Configures the name which is specified for the MSTP | os10 | -| ``mst_config.revision`` | integer | Configures the revision number for MSTP | os10 | -| ``mst_config.cfg_list`` | list | Configures the multiple spanning-tree list (see ``mst_config.cfg_list.*``) | os10 | -| ``cfg_list.number`` | integer | Specifies the MSTP instance number | os10 | -| ``cfg_list.vlans`` | string | Configures a VLAN/range of VLANs by mapping it to an instance number | os10 | -| ``cfg_list.vlans_state`` | string: absent,present\* | Deletes a set of VLANs mapped to the spanning-tree instance if set to absent | os10 | -| ``intf`` | list | Configures multiple spanning-tree in an interface (see ``intf.*``) | os10 | -| ``intf <interface name>``| dictionary | Configures the interface name (see ``intf.<interface name>.*``) | os10 | -| ``intf.<interface name>.edge_port`` | boolean: true,false | Configures the EdgePort as dynamic if set to true | os10 | -| ``intf.<interface name>.bpdu_filter``| boolean: true,false | Enables/disables bpdufilter at the interface | os10 | -| ``intf.<interface name>.bpdu_guard``| boolean: true,false | Enables/disables bpduguard at the interface | os10 | -| ``intf.<interface name>.guard``| string: loop,root,none | Configures guard on the interface | os10 | -| ``intf.<interface name>.enable`` | boolean: true,false | Enables/disables spanning-tree at the interface level | os10 | -| ``intf.<interface name>.link_type``| string: auto,point-to-point,shared | Configures the link type at the interface | os10 | -| ``intf.<interface name>.rstp`` | dictionary | Configures the RSTP interface name (see ``intf.<interface name>.rstp.*``) | os10 | -| ``rstp.priority``| integer | Configures the RSTP priority value at the interface | os10 | -| ``rstp.cost`` | integer | Configures the RSTP cost value at the interface | os10 | -| ``intf.<interface name>.msti`` | list | Configures the MSTi interface name (see ``intf.<interface name>.msti``) | os10 | -| ``msti.instance_number`` | integer or range | Specifies the MSTP instance number or range | os10 | -| ``msti.priority`` | integer | Specifies the priority value to be configured at the interface | os10 | -| ``msti.cost`` | integer | Specifies the cost value to be configured at the interface | os10 | -| ``intf.<interface name>.vlan`` | list | Configures the VLAN interface name (see ``intf.<interface name>.vlan``) | os10 | -| ``vlan.range_or_id`` | integer or range | Specifies the VLAN ID or range | os10 | -| ``vlan.priority`` | integer | Specifies the priority value to be configured at the interface | os10 | -| ``vlan.cost`` | integer | Specifies the cost value to be configured at the interface | os10 | - -> **NOTE**: Asterisk (_*_) denotes the default value if none is specified. - -Connection variables --------------------- - -Ansible Dell EMC network roles require connection information to establish communication with the nodes in your inventory. This information can exist in the Ansible *group_vars* or *host_vars* directories or inventory or in the playbook itself. - -| Key | Required | Choices | Description | -|-------------|----------|------------|-------------------------------------------------------| -| ``ansible_host`` | yes | | Specifies the hostname or address for connecting to the remote device over the specified transport | -| ``ansible_port`` | no | | Specifies the port used to build the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_PORT` option is used; it defaults to 22 | -| ``ansible_ssh_user`` | no | | Specifies the username that authenticates the CLI login for the connection to the remote device; if value is unspecified, the `ANSIBLE_REMOTE_USER` environment variable value is used | -| ``ansible_ssh_pass`` | no | | Specifies the password that authenticates the connection to the remote device | -| ``ansible_become`` | no | yes, no\* | Instructs the module to enter privileged mode on the remote device before sending any commands; if value is unspecified, the `ANSIBLE_BECOM`E environment variable value is used, and the device attempts to execute all commands in non-privileged mode | -| ``ansible_become_method`` | no | enable, sudo\* | Instructs the module to allow the become method to be specified for handling privilege escalation; if value is unspecified, the `ANSIBLE_BECOME_METHOD` environment variable value is used | -| ``ansible_become_pass`` | no | | Specifies the password to use if required to enter privileged mode on the remote device; if ``ansible_become`` is set to no this key is not applicable | -| ``ansible_network_os`` | yes | os10, null\* | Loads the correct terminal and cliconf plugins to communicate with the remote device | - -> **NOTE**: Asterisk (\*) denotes the default value if none is specified. - - -Example playbook ----------------- - -This example uses the *os10_xstp* role to configure different variants of spanning-tree. Based on the type of STP and defined objects, VLANs are associated and bridge priorities are assigned. It creates a *hosts* file with the switch details, and a *host_vars* file with connection variables. The corresponding role variables are defined in the *vars/main.yml* file at the role path. - -It writes a simple playbook that only references the *os10_xstp* role. By including the role, you automatically get access to all of the tasks to configure xSTP. - -**Sample hosts file** - - spine1 ansible_host= <ip_address> - -**Sample host_vars/spine1** - - hostname: spine1 - ansible_become: yes - ansible_become_method: xxxxx - ansible_become_pass: xxxxx - ansible_ssh_user: xxxxx - ansible_ssh_pass: xxxxx - ansible_network_os: dellemc.os10.os10 - build_dir: ../temp/temp_os10 - -**Sample vars/main.yml** - - os10_xstp: - type: rstp - enable: true - path_cost: true - mac_flush_timer: 4 - rstp: - max_age: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - bridge_priority: 4096 - mac_flush_threshold: 5 - pvst: - vlan: - - range_or_id: 10 - max_age: 6 - enable: true - hello_time: 7 - forward_time: 7 - bridge_priority: 4096 - mac_flush_threshold: 9 - mstp: - max_age: 6 - max_hops: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - mstp_instances: - - number_or_range: 1 - enable: true - mac_flush_threshold: 9 - bridge_priority: 4096 - mst_config: - name: cfg1 - revision: 5 - cfg_list: - - number: 1 - vlans: 10,12 - vlans_state: present - intf: - ethernet 1/1/8: - edge_port: true - bpdu_filter: true - bpdu_guard: true - guard: loop - enable: true - link_type: point-to-point - msti: - - instance_number: 1 - priority: 32 - cost: 1 - rstp: - priority: 32 - cost: 7 - vlan: - - range_or_id: 6 - priority: 16 - cost: 8 - - -**Simple playbook to setup system — spine.yml** - - - hosts: spine - roles: - - dellemc.os10.os10_xstp - -**Run** - - ansible-playbook -i hosts spine.yml - -(c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved. diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/defaults/main.yml b/ansible_collections/dellemc/os10/roles/os10_xstp/defaults/main.yml deleted file mode 100644 index daaf0f8fa..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for dellemc.os10.os10_xstp diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/handlers/main.yml b/ansible_collections/dellemc/os10/roles/os10_xstp/handlers/main.yml deleted file mode 100644 index 645522da6..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for dellemc.os10.os10_xstp diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/meta/main.yml b/ansible_collections/dellemc/os10/roles/os10_xstp/meta/main.yml deleted file mode 100644 index 8a63b5009..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/meta/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Dell Inc. ---- -galaxy_info: - author: Dell EMC Networking Engineering - description: The os10_xstp role facilitates the configuration of STP attributes in devices running Dell EMC SmartFabric OS10. - company: Dell Technologies - license: GPLv3 - min_ansible_version: 2.9.6 - - platforms: - - name: os10 - - galaxy_tags: - - networking - - dell - - dellemc - - emc - - os10 diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/tasks/main.yml b/ansible_collections/dellemc/os10/roles/os10_xstp/tasks/main.yml deleted file mode 100644 index e14eb0f76..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -# tasks file for os10 - - name: "Generating xSTP configuration for os10" - template: - src: os10_xstp.j2 - dest: "{{ build_dir }}/xstp10_{{ hostname }}.conf.part" - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") and ((os10_cfg_generate | default('False')) | bool) -# notify: save config os10 - register: generate_output - - - name: "Provisioning xSTP configuration for os10" - os10_config: - src: os10_xstp.j2 - when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10") -# notify: save config os10 - register: output diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/templates/os10_xstp.j2 b/ansible_collections/dellemc/os10/roles/os10_xstp/templates/os10_xstp.j2 deleted file mode 100644 index dc7456baf..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/templates/os10_xstp.j2 +++ /dev/null @@ -1,398 +0,0 @@ -#jinja2: trim_blocks: True, lstrip_blocks: True -{############################################### -PURPOSE: Configure xSTP commands for OS10 devices -os10_xstp: - type: rstp - enable: true - mac_flush_timer: 4 - rstp: - max_age: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - bridge_priority: 4096 - mac_flush_threshold: 5 - pvst: - vlan: - - range_or_id: 10 - max_age: 6 - enable: true - hello_time: 7 - forward_time: 7 - bridge_priority: 4096 - mac_flush_threshold: 9 - mstp: - max_age: 6 - max_hops: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - mstp_instances: - - number_or_range: 1 - enable: true - mac_flush_threshold: 9 - bridge_priority: 4096 - mst_config: - name: cfg1 - revision: 5 - cfg_list: - - number: 1 - vlans: 10,12 - vlans_state: present - intf: - ethernet 1/1/8: - edge_port: true - bpdu_filter: true - bpdu_guard: true - guard: loop - enable: true - link_type: point-to-point - msti: - - instance_number: 1 - priority: 32 - cost: 1 - rstp: - priority: 32 - cost: 7 - vlan: - - range_or_id: 6 - priority: 16 - cost: 8 -#################################################} -{% if os10_xstp is defined and os10_xstp %} -{% set xstp_vars = os10_xstp %} -{% if xstp_vars.type is defined %} - {% if xstp_vars.type %} -spanning-tree mode {{ xstp_vars.type }} - {% else %} -no spanning-tree mode r - {% endif %} -{% endif %} -{% if xstp_vars.enable is defined %} - {% if xstp_vars.enable %} -no spanning-tree disable - {% else %} -spanning-tree disable - {% endif %} -{% endif %} -{% if xstp_vars.mac_flush_timer is defined %} - {% if xstp_vars.mac_flush_timer == 0 or xstp_vars.mac_flush_timer %} -spanning-tree mac-flush-timer {{ xstp_vars.mac_flush_timer }} - {% else %} -no spanning-tree mac-flush-timer - {% endif %} -{% endif %} - -{% if xstp_vars.rstp is defined and xstp_vars.rstp %} - {% set val = xstp_vars.rstp %} - {% if val.bridge_priority is defined %} - {% if val.bridge_priority == 0 or val.bridge_priority %} -spanning-tree rstp priority {{ val.bridge_priority }} - {% else %} -no spanning-tree rstp priority - {% endif %} - {% endif %} - {% if val.forward_time is defined %} - {% if val.forward_time %} -spanning-tree rstp forward-time {{ val.forward_time }} - {% else %} -no spanning-tree rstp forward-time - {% endif %} - {% endif %} - {% if val.hello_time is defined %} - {% if val.hello_time %} -spanning-tree rstp hello-time {{ val.hello_time }} - {% else %} -no spanning-tree rstp hello-time - {% endif %} - {% endif %} - {% if val.max_age is defined %} - {% if val.max_age %} -spanning-tree rstp max-age {{ val.max_age }} - {% else %} -no spanning-tree rstp max-age - {% endif %} - {% endif %} - {% if val.mac_flush_threshold is defined %} - {% if val.mac_flush_threshold %} -spanning-tree rstp mac-flush-threshold {{ val.mac_flush_threshold }} - {% else %} -no spanning-tree rstp mac-flush-threshold - {% endif %} - {% endif %} - {% if val.force_version is defined %} - {% if val.force_version %} -spanning-tree rstp force-version {{ val.force_version }} - {% else %} -no spanning-tree rstp force-version - {% endif %} - {% endif %} -{% endif %} - -{% if xstp_vars.pvst is defined and xstp_vars.pvst %} - {% set val = xstp_vars.pvst %} - {% if val.vlan is defined and val.vlan %} - {% for vlan in val.vlan %} - {% if vlan.range_or_id is defined and vlan.range_or_id %} - {% if vlan.bridge_priority is defined %} - {% if vlan.bridge_priority == 0 or vlan.bridge_priority %} -spanning-tree vlan {{ vlan.range_or_id }} priority {{ vlan.bridge_priority }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} priority - {% endif %} - {% endif %} - {% if vlan.enable is defined %} - {% if vlan.enable %} -no spanning-tree vlan {{ vlan.range_or_id }} disable - {% else %} -spanning-tree vlan {{ vlan.range_or_id }} disable - {% endif %} - {% endif %} - - {% if vlan.forward_time is defined %} - {% if vlan.forward_time %} -spanning-tree vlan {{ vlan.range_or_id }} forward-time {{ vlan.forward_time }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} forward-time - {% endif %} - {% endif %} - {% if vlan.hello_time is defined %} - {% if vlan.hello_time %} -spanning-tree vlan {{ vlan.range_or_id }} hello-time {{ vlan.hello_time }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} hello-time - {% endif %} - {% endif %} - {% if vlan.max_age is defined %} - {% if vlan.max_age %} -spanning-tree vlan {{ vlan.range_or_id }} max-age {{ vlan.max_age }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} max-age - {% endif %} - {% endif %} - {% if vlan.mac_flush_threshold is defined %} - {% if vlan.mac_flush_threshold %} -spanning-tree vlan {{ vlan.range_or_id }} mac-flush-threshold {{ vlan.mac_flush_threshold }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} mac-flush-threshold - {% endif %} - {% endif %} - {% if vlan.root is defined %} - {% if vlan.root %} -spanning-tree vlan {{ vlan.range_or_id }} root {{ vlan.root }} - {% else %} -no spanning-tree vlan {{ vlan.range_or_id }} root p - {% endif %} - {% endif %} - - {% endif %} - {% endfor %} - {% endif %} -{% endif %} -{% if xstp_vars.mstp is defined and xstp_vars.mstp %} - {% set val = xstp_vars.mstp %} - {% if val.forward_time is defined %} - {% if val.forward_time %} -spanning-tree mst forward-time {{ val.forward_time }} - {% else %} -no spanning-tree mst forward-time - {% endif %} - {% endif %} - {% if val.hello_time is defined %} - {% if val.hello_time %} -spanning-tree mst hello-time {{ val.hello_time }} - {% else %} -no spanning-tree mst hello-time - {% endif %} - {% endif %} - {% if val.max_age is defined %} - {% if val.max_age %} -spanning-tree mst max-age {{ val.max_age }} - {% else %} -no spanning-tree mst max-age - {% endif %} - {% endif %} - {% if val.max_hops is defined %} - {% if val.max_hops %} -spanning-tree mst max-hops {{ val.max_hops }} - {% else %} -no spanning-tree mst max-hops - {% endif %} - {% endif %} - {% if val.force_version is defined %} - {% if val.force_version %} -spanning-tree mst force-version {{ val.force_version }} - {% else %} -no spanning-tree mst force-version - {% endif %} - {% endif %} - - {% if val.mstp_instances is defined and val.mstp_instances %} - {% for instance in val.mstp_instances %} - {% if instance.number_or_range is defined and instance.number_or_range %} - {% if instance.bridge_priority is defined %} - {% if instance.bridge_priority ==0 or instance.bridge_priority %} -spanning-tree mst {{ instance.number_or_range }} priority {{ instance.bridge_priority }} - {% else %} -no spanning-tree mst {{ instance.number_or_range }} priority - {% endif %} - {% endif %} - {% if instance.enable is defined %} - {% if instance.enable %} -no spanning-tree mst {{ instance.number_or_range }} disable - {% else %} -spanning-tree mst {{ instance.number_or_range }} disable - {% endif %} - {% endif %} - {% if instance.mac_flush_threshold is defined %} - {% if instance.mac_flush_threshold %} -spanning-tree mst {{ instance.number_or_range }} mac-flush-threshold {{ instance.mac_flush_threshold }} - {% else %} -no spanning-tree mst {{ instance.number_or_range }} mac-flush-threshold - {% endif %} - {% endif %} - {% if instance.root is defined %} - {% if instance.root %} -spanning-tree mst {{ instance.number_or_range }} root {{ instance.root }} - {% else %} -no spanning-tree mst {{ instance.number_or_range }} root p - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if val.mst_config is defined and val.mst_config %} -spanning-tree mst configuration - {% if val.mst_config.name is defined %} - {% if val.mst_config.name %} - name {{ val.mst_config.name }} - {% else %} - no name - {% endif %} - {% endif %} - {% if val.mst_config.revision is defined %} - {% if val.mst_config.revision %} - revision {{ val.mst_config.revision }} - {% else %} - no revision - {% endif %} - {% endif %} - {% for instance in val.mst_config.cfg_list %} - {% if instance.number is defined and instance.number %} - {% if instance.vlans is defined and instance.vlans %} - {% if instance.vlans_state is defined and instance.vlans_state == "absent" %} - no instance {{ instance.number }} vlan {{ instance.vlans }} - {% else %} - instance {{ instance.number }} vlan {{ instance.vlans }} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} -{% if xstp_vars.intf is defined and xstp_vars.intf %} - {% for intr in xstp_vars.intf.keys() %} - {% set intf_vars = xstp_vars.intf[intr] %} -interface {{ intr }} - {% if intf_vars.edge_port is defined %} - {% if not intf_vars.edge_port %} - no spanning-tree port type edge - {% else %} - spanning-tree port type edge - {% endif %} - {% endif %} - {% if intf_vars.bpdu_filter is defined %} - {% if intf_vars.bpdu_filter %} - spanning-tree bpdufilter enable - {% else %} - spanning-tree bpdufilter disable - {% endif %} - {% endif %} - {% if intf_vars.bpdu_guard is defined %} - {% if intf_vars.bpdu_guard %} - spanning-tree bpduguard enable - {% else %} - spanning-tree bpduguard disable - {% endif %} - {% endif %} - {% if intf_vars.guard is defined %} - {% if intf_vars.guard %} - spanning-tree guard {{ intf_vars.guard }} - {% else %} - spanning-tree guard none - {% endif %} - {% endif %} - {% if intf_vars.enable is defined %} - {% if intf_vars.enable %} - no spanning-tree disable - {% else %} - spanning-tree disable - {% endif %} - {% endif %} - {% if intf_vars.link_type is defined %} - {% if intf_vars.link_type %} - spanning-tree link-type {{ intf_vars.link_type }} - {% else %} - no spanning-tree link-type - {% endif %} - {% endif %} - {% if intf_vars.rstp is defined and intf_vars.rstp %} - {% if intf_vars.rstp.priority is defined %} - {% if intf_vars.rstp.priority %} - spanning-tree rstp priority {{ intf_vars.rstp.priority }} - {% else %} - no spanning-tree rstp priority - {% endif %} - {% endif %} - {% if intf_vars.rstp.cost is defined %} - {% if intf_vars.rstp.cost %} - spanning-tree rstp cost {{ intf_vars.rstp.cost }} - {% else %} - no spanning-tree rstp cost - {% endif %} - {% endif %} - {% endif %} - {% if intf_vars.msti is defined and intf_vars.msti %} - {% for inst in intf_vars.msti %} - {% if inst.instance_number is defined and inst.instance_number==0 or inst.instance_number %} - {% if inst.priority is defined %} - {% if inst.priority %} - spanning-tree msti {{ inst.instance_number }} priority {{ inst.priority }} - {% else %} - no spanning-tree msti {{ inst.instance_number }} priority 1 - {% endif %} - {% endif %} - {% if inst.cost is defined %} - {% if inst.cost %} - spanning-tree msti {{ inst.instance_number }} cost {{ inst.cost }} - {% else %} - no spanning-tree msti {{ inst.instance_number }} cost 1 - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% if intf_vars.vlan is defined and intf_vars.vlan %} - {% for inst in intf_vars.vlan %} - {% if inst.range_or_id is defined and inst.range_or_id %} - {% if inst.priority is defined %} - {% if inst.priority %} - spanning-tree vlan {{ inst.range_or_id }} priority {{ inst.priority }} - {% else %} - no spanning-tree vlan {{ inst.range_or_id }} priority 1 - {% endif %} - {% endif %} - {% if inst.cost is defined %} - {% if inst.cost %} - spanning-tree vlan {{ inst.range_or_id }} cost {{ inst.cost }} - {% else %} - no spanning-tree vlan {{ inst.range_or_id }} cost 1 - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} - {% endfor %} -{% endif %} - -{% endif %} diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/inventory.yaml b/ansible_collections/dellemc/os10/roles/os10_xstp/tests/inventory.yaml deleted file mode 100644 index b1ff63e66..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/inventory.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -spine1 ansible_host=10.11.182.25 ansible_network_os="dellemc.os10.os10" -spine2 ansible_host=10.16.151.220 ansible_network_os="dellemc.os10.os10" - -leaf1 ansible_host=10.11.182.23 ansible_network_os="dellemc.os10.os10" -leaf2 ansible_host=10.11.182.16 ansible_network_os="dellemc.os10.os10" -leaf3 ansible_host=10.11.182.17 ansible_network_os="dellemc.os10.os10" -leaf4 ansible_host=10.16.148.79 ansible_network_os="dellemc.os10.os10" - -[spine] -spine1 -spine2 - -[leaf] -leaf1 -leaf2 -leaf3 -leaf4 - -[datacenter:children] -spine -leaf diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/main.yaml b/ansible_collections/dellemc/os10/roles/os10_xstp/tests/main.yaml deleted file mode 100644 index 7b55af458..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/main.yaml +++ /dev/null @@ -1,74 +0,0 @@ ---- -# vars file for dellemc.os10.os10_xstp, -# below gives a sample configuration -# Sample variables for OS10 device -os10_xstp: - type: rstp - enable: true - path_cost: true - mac_flush_timer: 4 - rstp: - max_age: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - bridge_priority: 4096 - mac_flush_threshold: 5 - pvst: - vlan: - - range_or_id: 10 - max_age: 6 - enable: true - hello_time: 7 - forward_time: 7 - bridge_priority: 4096 - mac_flush_threshold: 9 - mstp: - max_age: 6 - max_hops: 6 - hello_time: 7 - forward_time: 7 - force_version: stp - mstp_instances: - - number_or_range: 1 - enable: true - mac_flush_threshold: 9 - bridge_priority: 4096 - mst_config: - name: cfg1 - revision: 5 - cfg_list: - - number: 1 - vlans: 10,12 - vlans_state: present - intf: - ethernet 1/1/8: - edge_port: true - bpdu_filter: true - bpdu_guard: true - guard: loop - enable: true - link_type: point-to-point - msti: - - instance_number: 1 - priority: 32 - cost: 1 - rstp: - priority: 32 - cost: 7 - vlan: - - range_or_id: 6 - priority: 16 - cost: 8 - -# Sample variables for OS10 devices to configure root in pvst and mst -#--- -#os10_xstp: -# pvst: -# vlan: -# - range_or_id: 10 -# root: primary -# mstp: -# mstp_instances: -# - number_or_range: 1 -# root: secondary diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/test.yaml b/ansible_collections/dellemc/os10/roles/os10_xstp/tests/test.yaml deleted file mode 100644 index 438212cab..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/tests/test.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: datacenter - connection: network_cli - roles: - - dellemc.os10.os10_xstp diff --git a/ansible_collections/dellemc/os10/roles/os10_xstp/vars/main.yml b/ansible_collections/dellemc/os10/roles/os10_xstp/vars/main.yml deleted file mode 100644 index b3eb721a4..000000000 --- a/ansible_collections/dellemc/os10/roles/os10_xstp/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for dellemc.os10.os10_xstp diff --git a/ansible_collections/dellemc/os10/tests/integration/target-prefixes.network b/ansible_collections/dellemc/os10/tests/integration/target-prefixes.network deleted file mode 100644 index 69b59b3fb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/target-prefixes.network +++ /dev/null @@ -1 +0,0 @@ -os10 diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/01_aaa_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/01_aaa_configure.j2 deleted file mode 100644 index aa8ad40ac..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/01_aaa_configure.j2 +++ /dev/null @@ -1,15 +0,0 @@ -os10_aaa: - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - state: present - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: false - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/02_aaa_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/02_aaa_update.j2 deleted file mode 100644 index 89728ab97..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/02_aaa_update.j2 +++ /dev/null @@ -1,24 +0,0 @@ -os10_aaa: - radius_server: - retransmit: 6 - timeout: 9 - host: - - ip: 10.10.10.10 - key: 0 - value: "abc" - auth_port: 3 - state: present - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - state: present - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: present - re_authenticate: false - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/03_aaa_empty_string.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/03_aaa_empty_string.j2 deleted file mode 100644 index 1950e4993..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/03_aaa_empty_string.j2 +++ /dev/null @@ -1,24 +0,0 @@ -os10_aaa: - radius_server: - retransmit: - timeout: - host: - - ip: 10.10.10.10 - key: - value: "abc" - auth_port: - state: present - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - state: present - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: "absent" - re_authenticate: false - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/04_aaa_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/04_aaa_absent.j2 deleted file mode 100644 index b7a86a2db..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/04_aaa_absent.j2 +++ /dev/null @@ -1,23 +0,0 @@ -os10_aaa: - radius_server: - retransmit: 6 - timeout: 9 - host: - - ip: 10.10.10.10 - key: 0 - value: "abc" - auth_port: 3 - state: absent - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - state: absent - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: "absent" - re_authenticate: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/05_aaa_stateless.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/05_aaa_stateless.j2 deleted file mode 100644 index 8beb9cc1b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/05_aaa_stateless.j2 +++ /dev/null @@ -1,20 +0,0 @@ -os10_aaa: - radius_server: - retransmit: 6 - timeout: 9 - host: - - ip: 10.10.10.10 - key: 0 - value: "abc" - auth_port: 3 - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - re_authenticate: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/teardown.j2 deleted file mode 100644 index d9fa0fe4c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/templates/aaa_basic/steps/teardown.j2 +++ /dev/null @@ -1,23 +0,0 @@ -os10_aaa: - radius_server: - retransmit: - timeout: - host: - - ip: 10.10.10.10 - key: 0 - value: "abc" - auth_port: 3 - state: absent - tacacs_server: - host: - - ip: 10.10.10.10 - key: 0 - value: "aaaa" - auth_port: 3 - state: absent - aaa_authentication: - login: - - console: true - type: group radius group tacacs+ local - state: "absent" - re_authenticate: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tests/aaa_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tests/aaa_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/tests/aaa_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/vars/main.yaml deleted file mode 100644 index 3e7e9546f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_aaa_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_aaa diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/01_acl_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/01_acl_config.j2 deleted file mode 100644 index f3a5d7b80..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/01_acl_config.j2 +++ /dev/null @@ -1,23 +0,0 @@ -idempotent: true - -os10_acl: - - name: ssh - type: ipv4 - description: acl - remark: - - description: 1 - number: 2 - state: present - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - state: present - lineterminal: - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/02_acl_stage.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/02_acl_stage.j2 deleted file mode 100644 index db65b97f9..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/02_acl_stage.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: false - -os10_acl: - - name: ssh - type: ipv4 - description: acl - stage_ingress: - - name: "{{ os10_interface_1 }}" - state: present - - name: "{{ os10_interface_2 }}" - state: present - stage_egress: - - name: "{{ os10_interface_3 }}" - state: present - lineterminal: - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/03_acl_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/03_acl_update.j2 deleted file mode 100644 index 0d9f1834d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/03_acl_update.j2 +++ /dev/null @@ -1,31 +0,0 @@ -idempotent: false - -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - remark: - - description: acl remark - number: 3 - state: present - entries: - - number: 15 - permit: false - protocol: udp - source: any - src_condition: gt 4 - destination: any - dest_condition: lt 5 - other_options: fragment - state: present - stage_ingress: - - name: "{{ os10_interface_1 }}" - state: present - - name: "{{ os10_interface_2 }}" - state: present - stage_egress: - - name: "{{ os10_interface_3 }}" - state: present - lineterminal: - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/04_acl_suboptions_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/04_acl_suboptions_absent.j2 deleted file mode 100644 index afa89bbf9..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/04_acl_suboptions_absent.j2 +++ /dev/null @@ -1,30 +0,0 @@ -idempotent: false -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - remark: - - description: acl remark - number: 3 - state: absent - entries: - - number: 15 - permit: false - protocol: udp - source: any - src_condition: gt 4 - destination: any - dest_condition: lt 5 - other_options: fragment - state: absent - stage_ingress: - - name: "{{ os10_interface_1 }}" - state: absent - - name: "{{ os10_interface_2 }}" - state: absent - stage_egress: - - name: "{{ os10_interface_3 }}" - state: absent - lineterminal: - state: absent - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/05_acl_suboptions_stateless.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/05_acl_suboptions_stateless.j2 deleted file mode 100644 index 518758d15..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/05_acl_suboptions_stateless.j2 +++ /dev/null @@ -1,34 +0,0 @@ -idempotent: false - -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - remark: - - description: acl remark - number: 3 - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - - number: 15 - permit: false - protocol: udp - source: any - src_condition: gt 4 - destination: any - dest_condition: lt 5 - other_options: fragment - stage_ingress: - - name: "{{ os10_interface_1 }}" - - name: "{{ os10_interface_2 }}" - stage_egress: - - name: "{{ os10_interface_3 }}" - lineterminal: - state: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/06_acl_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/06_acl_absent.j2 deleted file mode 100644 index 9bce3bf00..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/06_acl_absent.j2 +++ /dev/null @@ -1,7 +0,0 @@ -idempotent: false - -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/07_acl_stateless.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/07_acl_stateless.j2 deleted file mode 100644 index 9381300e6..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/07_acl_stateless.j2 +++ /dev/null @@ -1,24 +0,0 @@ -idempotent: false -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - remark: - - description: acl remark - number: 3 - entries: - - number: 14 - permit: true - protocol: tcp - source: any - src_condition: neq 6 - destination: any - dest_condition: eq 4 - other_options: count - stage_ingress: - - name: "{{ os10_interface_1 }}" - - name: "{{ os10_interface_2 }}" - stage_egress: - - name: "{{ os10_interface_3 }}" - lineterminal: - state: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/teardown.j2 deleted file mode 100644 index 2fcc4b18a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/templates/acl_basic/steps/teardown.j2 +++ /dev/null @@ -1,29 +0,0 @@ -os10_acl: - - name: ssh - type: ipv4 - description: acl ssh - remark: - - description: acl remark - number: 3 - state: absent - entries: - - number: 15 - permit: false - protocol: udp - source: any - src_condition: gt 4 - destination: any - dest_condition: lt 5 - other_options: fragment - state: absent - stage_ingress: - - name: "{{ os10_interface_1 }}" - state: absent - - name: "{{ os10_interface_2 }}" - state: absent - stage_egress: - - name: "{{ os10_interface_3 }}" - state: absent - lineterminal: - state: absent - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tests/acl_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tests/acl_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/tests/acl_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/vars/main.yaml deleted file mode 100644 index b40350ab3..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_acl_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_acl - -idempotent_roles: - - dellemc.os10.os10_acl diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/01_bgp_default_vrf_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/01_bgp_default_vrf_config.j2 deleted file mode 100644 index 947bca963..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/01_bgp_default_vrf_config.j2 +++ /dev/null @@ -1,191 +0,0 @@ -idempotent: false -os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: true - always_compare_med: true - default_loc_pref: 1000 - as_notation: asdot - enforce_first_as: true - non_deterministic_med: true - outbound_optimization: true - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - client_to_client: true - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 20::/64 - limit: 4 - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 10 - threshold: 40 - warning: true - state: present - default_originate: - route_map: aa - state: present - distribute_list: - in: XX - in_state: present - out: YY - out_state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - sender_loop_detect: true - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/02_bgp_default_vrf_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/02_bgp_default_vrf_unconfig.j2 deleted file mode 100644 index 0e4f173c9..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/02_bgp_default_vrf_unconfig.j2 +++ /dev/null @@ -1,185 +0,0 @@ -idempotent: false -os10_bgp: - asn: 12 - router_id: - maxpath_ibgp: - maxpath_ebgp: - graceful_restart: false - log_neighbor_changes: false - fast_ext_fallover: false - always_compare_med: false - default_loc_pref: - as_notation: asdot - enforce_first_as: false - non_deterministic_med: false - outbound_optimization: false - confederation: - identifier: 25 - peers: 23 24 - peers_state: absent - route_reflector: - client_to_client: false - cluster_id: - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: absent - summary_only: false - dampening: - value: 15 750 2000 60 - route_map: qq - state: absent - ibgp_redist_internal: - state: absent - default_metric: - distance_bgp: - value: 3 4 6 - state: absent - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: absent - summary_only: false - ibgp_redist_internal: - state: absent - best_path: - as_path: ignore - as_path_state: absent - ignore_router_id: false - med: - - attribute: confed - state: absent - neighbor: - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: absent - address_family: - - type: l2vpn - activate: false - state: absent - admin: up - state: absent - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: absent - peergroup_type: ibgp - adv_interval: 40 - fall_over: absent - password: bgppassword - route_reflector_client: false - adv_start: 100 - adv_start_state: absent - conn_retry_timer: 20 - remove_pri_as: absent - address_family: - - type: ipv4 - activate: false - state: absent - max_prefix: - count: 10 - threshold: 40 - warning: false - state: absent - default_originate: - route_map: aa - state: absent - distribute_list: - in: XX - in_state: absent - out: YY - out_state: absent - send_community: - - type: standard - state: absent - state: absent - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: false - allow_as_in: 5 - next_hop_self: false - soft_reconf: false - add_path: both 3 - route_map: - - name: qq - filter: in - state: absent - state: absent - state: absent - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: absent - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: absent - sender_loop_detect: false - password: bgppassword - address_family: - - type: ipv4 - activate: false - sender_loop_detect: false - state: absent - allow_as_in: 5 - next_hop_self: false - soft_reconf: false - - type: l2vpn - activate: false - sender_loop_detect: false - state: absent - send_community: - - type: standard - state: absent - admin: up - state: absent - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: absent - address_family: - - type: ipv4 - activate: false - state: absent - max_prefix: - count: 20 - threshold: 90 - warning: false - state: absent - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: absent - - subnet: 20::/64 - limit: 4 - subnet_state: absent - - name: ibgp_pg - type: peergroup - weight: 10 - state: absent - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: absent - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: absent - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/03_bgp_non_default_vrf_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/03_bgp_non_default_vrf_config.j2 deleted file mode 100644 index 1ec5c308a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/03_bgp_non_default_vrf_config.j2 +++ /dev/null @@ -1,153 +0,0 @@ -idempotent: false -os10_bgp: - asn: 12 - vrfs: - - name: "GREEN" - router_id: 50.1.1.1 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - fast_ext_fallover: true - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - client_to_client: true - cluster_id: 1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - description: "U_site2 vlan" - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - address_family: - - type: ipv4 - activate: true - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present - - name: "BLUE" - router_id: 6.6.6.6 - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/04_bgp_non_default_vrf_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/04_bgp_non_default_vrf_unconfig.j2 deleted file mode 100644 index 69d90adda..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/04_bgp_non_default_vrf_unconfig.j2 +++ /dev/null @@ -1,147 +0,0 @@ -idempotent: false -os10_bgp: - asn: 12 - vrfs: - - name: "GREEN" - router_id: - maxpath_ibgp: - maxpath_ebgp: - graceful_restart: false - log_neighbor_changes: false - fast_ext_fallover: false - always_compare_med: false - default_loc_pref: 1000 - route_reflector: - client_to_client: false - cluster_id: - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: absent - dampening: - value: 15 750 2000 60 - route_map: qq - state: absent - ibgp_redist_internal: - state: absent - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: absent - summary_only: false - ibgp_redist_internal: - state: absent - best_path: - as_path: ignore - as_path_state: absent - ignore_router_id: false - med: - - attribute: confed - state: absent - - attribute: missing-as-worst - state: absent - neighbor: - - type: ipv4 - interface: vlan10 - description: "U_site2 vlan" - send_community: - - type: extended - state: absent - admin: up - state: absent - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: absent - peergroup_type: ibgp - adv_interval: 40 - fall_over: absent - route_reflector_client: false - address_family: - - type: ipv4 - activate: false - state: absent - send_community: - - type: standard - state: absent - state: absent - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - activate: false - allow_as_in: 5 - next_hop_self: false - soft_reconf: false - add_path: both 3 - route_map: - - name: qq - filter: in - state: absent - state: absent - state: absent - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: absent - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: absent - address_family: - - type: ipv4 - activate: false - sender_loop_detect: false - state: absent - allow_as_in: 5 - next_hop_self: false - soft_reconf: false - send_community: - - type: standard - state: absent - admin: up - state: absent - - name: peer1 - type: peergroup - bfd: yes - state: absent - - name: ebgp_pg - type: peergroup - bfd: yes - state: absent - - name: ibgp_pg - type: peergroup - weight: 10 - state: absent - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: absent - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: absent - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: absent - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: absent - state: present - - name: "BLUE" - router_id: - state: absent - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/05_bgp_default_non_default_vrf_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/05_bgp_default_non_default_vrf_config.j2 deleted file mode 100644 index cd530af4a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/05_bgp_default_non_default_vrf_config.j2 +++ /dev/null @@ -1,314 +0,0 @@ -idempotent: true -os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - always_compare_med: true - default_loc_pref: 1000 - as_notation: asdot - non_deterministic_med: true - outbound_optimization: true - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 20::/64 - limit: 4 - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - state: present - admin: up - state: present - - type: ipv4 - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - address_family: - - type: ipv4 - state: present - max_prefix: - count: 10 - threshold: 40 - warning: true - state: present - default_originate: - route_map: aa - state: present - distribute_list: - in: XX - in_state: present - out: YY - out_state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs: - - name: "GREEN" - router_id: 50.1.1.1 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - cluster_id: 1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - ipv4_network: - - address: 101.1.1.0/30 - state: present - ipv6_network: - - address: "2001:4898:5808:ffa0::/126" - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - description: U_site2 vlan - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - address_family: - - type: ipv4 - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/06_bgp_default_non_default_vrf_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/06_bgp_default_non_default_vrf_unconfig.j2 deleted file mode 100644 index 1fa12ee20..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/06_bgp_default_non_default_vrf_unconfig.j2 +++ /dev/null @@ -1,313 +0,0 @@ -idempotent: false -os10_bgp: - asn: 12 - router_id: 90.1.1.4 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - log_neighbor_changes: true - always_compare_med: true - default_loc_pref: 1000 - as_notation: asdot - non_deterministic_med: true - outbound_optimization: true - confederation: - identifier: 25 - peers: 23 24 - peers_state: present - route_reflector: - cluster_id: 4294967295 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - summary_only: true - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - default_metric: 10 - distance_bgp: - value: 3 4 6 - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - address_family: - - type: ipv4 - state: present - max_prefix: - count: 20 - threshold: 90 - warning: true - state: present - listen: - - subnet: 4.4.4.4/32 - limit: 4 - subnet_state: present - - subnet: 20::/64 - limit: 4 - subnet_state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan20 - send_community: - - type: extended - state: present - address_family: - - type: l2vpn - activate: true - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2-spine1" - remote_asn: 11 - ip: 192.168.10.1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - password: bgppassword - route_reflector_client: true - adv_start: 100 - adv_start_state: present - conn_retry_timer: 20 - remove_pri_as: present - address_family: - - type: ipv4 - activate: true - state: present - max_prefix: - count: 10 - threshold: 40 - warning: true - state: present - default_originate: - route_map: aa - state: present - distribute_list: - in: XX - in_state: present - out: YY - out_state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.12.3 - address_family: - - type: ipv4 - activate: true - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - sender_loop_detect: true - password: bgppassword - address_family: - - type: ipv4 - activate: true - sender_loop_detect: true - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - - type: l2vpn - activate: true - state: present - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - vrfs: - - name: "GREEN" - router_id: 50.1.1.1 - maxpath_ibgp: 2 - maxpath_ebgp: 2 - graceful_restart: true - always_compare_med: true - default_loc_pref: 1000 - route_reflector: - cluster_id: 1 - address_family_ipv4: - aggregate_address: - - ip_and_mask: 1.1.1.1/16 - state: present - dampening: - value: 15 750 2000 60 - route_map: qq - state: present - ibgp_redist_internal: - state: present - address_family_ipv6: - aggregate_address: - - ip_and_mask: 2001:4898:5808:ffa0::/126 - state: present - summary_only: true - ibgp_redist_internal: - state: present - best_path: - as_path: ignore - as_path_state: present - ignore_router_id: true - med: - - attribute: confed - state: present - - attribute: missing-as-worst - state: present - neighbor: - - name: peer1 - type: peergroup - bfd: yes - state: present - - name: ebgp_pg - type: peergroup - bfd: yes - state: present - - name: ibgp_pg - type: peergroup - weight: 10 - state: present - - type: ipv4 - interface: vlan10 - description: U_site2 vlan - send_community: - - type: extended - state: present - admin: up - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 11 - ip: 192.168.20.1 - name: peer1 - peergroup: peer1 - peergroup_state: present - peergroup_type: ibgp - adv_interval: 40 - fall_over: present - route_reflector_client: true - address_family: - - type: ipv4 - state: present - send_community: - - type: standard - state: present - state: present - - type: ipv4 - description: "U_site2 spine1" - remote_asn: 13 - local_as: 10 - weight: 10 - ip: 192.168.15.3 - address_family: - - type: ipv4 - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - add_path: both 3 - route_map: - - name: qq - filter: in - state: present - state: present - state: present - - type: ipv6 - remote_asn: 14 - ip: 2001:4898:5808:ffa2::1 - state: present - - type: ipv6 - description: "U_site2-spine1-Auto Discovered peers" - auto_peer: unnumbered-auto - ibgp_peergroup: ibgp_pg - ibgp_peergroup_state: present - address_family: - - type: ipv4 - state: present - allow_as_in: 5 - next_hop_self: true - soft_reconf: true - send_community: - - type: standard - state: present - admin: up - state: present - redistribute: - - route_type: static - route_map_name: aa - address_type: ipv4 - state: present - - route_type: connected - route_map_name: bb - address_type: ipv4 - state: present - - route_type: l2vpn - route_map_name: cc - address_type: ipv4 - state: present - bfd_all_neighbors: - interval: 200 - min_rx: 200 - multiplier: 3 - role: active - state: present - state: present - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/setup.j2 deleted file mode 100644 index ccf217d39..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/setup.j2 +++ /dev/null @@ -1,13 +0,0 @@ -os10_vrf: - vrfdetails: - - vrf_name: GREEN - state: present - - vrf_name: BLUE - state: present -os10_vlan: - vlan 10: - description: "red" - state: present - vlan 20: - description: "yellow" - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/teardown.j2 deleted file mode 100644 index 1c0d524e2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/templates/bgp_vrf/steps/teardown.j2 +++ /dev/null @@ -1,13 +0,0 @@ -os10_vrf: - vrfdetails: - - vrf_name: GREEN - state: absent - - vrf_name: BLUE - state: absent -os10_vlan: - vlan 10: - description: "red" - state: absent - vlan 20: - description: "yellow" - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tests/bgp_vrf.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tests/bgp_vrf.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/tests/bgp_vrf.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/vars/main.yaml deleted file mode 100644 index 631238919..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_bgp_role/vars/main.yaml +++ /dev/null @@ -1,7 +0,0 @@ -test_roles: - - dellemc.os10.os10_vrf - - dellemc.os10.os10_vlan - - dellemc.os10.os10_bgp - -idempotent_roles: - - dellemc.os10.os10_bgp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/cli.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/cli.yaml deleted file mode 100644 index 8c11e106f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/cli.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: collect all cli test cases - find: - paths: "{{ role_path }}/tests/cli" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: - test_items: "{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/main.yaml deleted file mode 100644 index 415c99d8b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tasks/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- { include: cli.yaml, tags: ['cli'] } diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/bad_operator.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/bad_operator.yaml deleted file mode 100644 index 879a3d3f0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/bad_operator.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- debug: msg="START cli/bad_operator.yaml" - -- name: test bad operator - os10_command: - commands: - - show version - - show interface ethernet 1/1/1 - wait_for: - - "result[0] contains 'Description : blah'" - register: result - ignore_errors: yes - -- assert: - that: - - "result.failed == true" - - "result.msg is defined" - -- debug: msg="END cli/bad_operator.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/contains.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/contains.yaml deleted file mode 100644 index 1aa705820..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/contains.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- debug: msg="START cli/contains.yaml" - -- name: test contains operator - os10_command: - commands: - - show version - - show interface ethernet 1/1/1 - wait_for: - - "result[0] contains OS10 Enterprise" - - "result[1] contains Ethernet " - register: result - -- assert: - that: - - "result.changed == false" - - "result.stdout is defined" - -- debug: msg="END cli/contains.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/invalid.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/invalid.yaml deleted file mode 100644 index 0eff61708..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/invalid.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- debug: msg="START cli/invalid.yaml" - -- name: run invalid command - os10_command: - commands: ['show foo'] - register: result - ignore_errors: yes - -- assert: - that: - - "'Error: Unrecognized command' in result.msg" - -- name: run commands that include invalid command - os10_command: - commands: - - show version - - show foo - register: result - ignore_errors: yes - -- assert: - that: - - "'Error: Unrecognized command' in result.msg" - -- debug: msg="END cli/invalid.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/output.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/output.yaml deleted file mode 100644 index 0c85c0f85..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/output.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- debug: msg="START cli/output.yaml" - -- name: get output for single command - os10_command: - commands: ['show version'] - register: result - -- assert: - that: - - "result.changed == false" - - "result.stdout is defined" - -- name: get output for multiple commands - os10_command: - commands: - - show version - - show interface Eth 1/1/1 - register: result - -- assert: - that: - - "result.changed == false" - - "result.stdout is defined" - - "result.stdout | length == 2" - -- debug: msg="END cli/output.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/timeout.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/timeout.yaml deleted file mode 100644 index 65e5a82ec..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_command/tests/cli/timeout.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- debug: msg="START cli/timeout.yaml" - -- name: test bad condition - os10_command: - commands: - - show version - wait_for: - - "result[0] contains bad_value_string" - register: result - ignore_errors: yes - -- assert: - that: - - "result.failed == true" - - "result.msg is defined" - -- debug: msg="END cli/timeout.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/cli.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/cli.yaml deleted file mode 100644 index d675462dd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/cli.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: collect all cli test cases - find: - paths: "{{ role_path }}/tests/cli" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/main.yaml deleted file mode 100644 index 415c99d8b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tasks/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- { include: cli.yaml, tags: ['cli'] } diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel.yaml deleted file mode 100644 index d376e6ebf..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- debug: msg="START cli/sublevel.yaml" - -- name: setup test - os10_config: - lines: - - 'no ip access-list test' - match: none - -- name: configure sub level command - os10_config: - lines: ['seq 5 permit ip any any count byte'] - parents: ['ip access-list test'] - register: result - -- assert: - that: - - "result.changed == true" - - "'ip access-list test' in result.updates" - - "'seq 5 permit ip any any count byte' in result.updates" - -- name: configure sub level command idempotent check - os10_config: - lines: ['seq 5 permit ip any any count byte'] - parents: ['ip access-list test'] - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: - - 'no ip access-list test' - match: none - -- debug: msg="END cli/sublevel.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_block.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_block.yaml deleted file mode 100644 index ad598f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_block.yaml +++ /dev/null @@ -1,58 +0,0 @@ ---- -- debug: msg="START cli/sublevel_block.yaml" - -- name: setup - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - parents: ['router bgp 10'] - before: ['no router bgp'] - after: ['exit'] - match: none - -- name: configure sub level command using block resplace - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - parents: ['router bgp 10'] - replace: block - after: ['exit'] - register: result - -- assert: - that: - - "result.changed == true" - - "'router bgp 10' in result.updates" - - "'neighbor 1.1.1.1' in result.updates" - - "'neighbor 1.1.1.2' in result.updates" - - "'neighbor 1.1.1.3' in result.updates" - - "'neighbor 1.1.1.4' in result.updates" - -- name: check sub level command using block replace - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - parents: ['router bgp 10'] - replace: block - after: ['exit'] - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: - - no router bgp - match: none - -- debug: msg="END cli/sublevel_block.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_exact.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_exact.yaml deleted file mode 100644 index 0093e4c70..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_exact.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -- debug: msg="START cli/sublevel_exact.yaml" - -- name: setup - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - - neighbor 1.1.1.5 - parents: ['router bgp 10'] - before: ['no router bgp'] - after: ['exit'] - match: none - -- name: configure sub level command using exact match - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - parents: ['router bgp 10'] - after: ['exit'] - match: exact - register: result - -- assert: - that: - - "result.changed == true" - - "'router bgp 10' in result.updates" - - "'neighbor 1.1.1.1' in result.updates" - - "'neighbor 1.1.1.2' in result.updates" - - "'neighbor 1.1.1.3' in result.updates" - - "'neighbor 1.1.1.4' in result.updates" - - "'neighbor 1.1.1.5' not in result.updates" - -- name: check sub level command using exact match - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - - neighbor 1.1.1.5 - parents: ['router bgp 10'] - after: ['exit'] - match: exact - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: - - no router bgp - match: none - -- debug: msg="END cli/sublevel_exact.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_strict.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_strict.yaml deleted file mode 100644 index 388653404..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/sublevel_strict.yaml +++ /dev/null @@ -1,59 +0,0 @@ ---- -- debug: msg="START cli/sublevel_strict.yaml" - -- name: setup - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - - neighbor 1.1.1.5 - parents: ['router bgp 10'] - before: ['no router bgp'] - after: ['exit'] - match: none - -- name: configure sub level command using strict match - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.2 - - neighbor 1.1.1.3 - - neighbor 1.1.1.4 - parents: ['router bgp 10'] - match: strict - register: result - -- assert: - that: - - "result.changed == false" - -- name: check sub level command using strict match - os10_config: - lines: - - neighbor 1.1.1.1 - - neighbor 1.1.1.3 - - neighbor 1.1.1.2 - parents: ['router bgp 10'] - after: ['exit'] - match: strict - register: result - -- assert: - that: - - "result.changed == true" - - "'router bgp 10' in result.updates" - - "'neighbor 1.1.1.1' not in result.updates" - - "'neighbor 1.1.1.2' in result.updates" - - "'neighbor 1.1.1.3' in result.updates" - - "'neighbor 1.1.1.4' not in result.updates" - - "'neighbor 1.1.1.5' not in result.updates" - -- name: teardown - os10_config: - lines: - - no router bgp - match: none - -- debug: msg="END cli/sublevel_strict.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel.yaml deleted file mode 100644 index c90037b1e..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- debug: msg="START cli/toplevel.yaml" - -- name: setup - os10_config: - lines: ['hostname {{ inventory_hostname_short }}'] - match: none - -- name: configure top level command - os10_config: - lines: ['hostname foo'] - register: result - -- assert: - that: - - "result.changed == true" - - "'hostname foo' in result.updates" - -- name: configure top level command idempotent check - os10_config: - lines: ['hostname foo'] - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: ['hostname {{ inventory_hostname_short }}'] - match: none - -- debug: msg="END cli/toplevel.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_after.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_after.yaml deleted file mode 100644 index 7a50790f2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_after.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- debug: msg="START cli/toplevel_after.yaml" - -- name: setup - os10_config: - lines: - - "snmp-server contact ansible" - - "hostname {{ inventory_hostname_short }}" - match: none - -- name: configure top level command with before - os10_config: - lines: ['hostname foo'] - after: ['snmp-server contact bar'] - register: result - -- assert: - that: - - "result.changed == true" - - "'hostname foo' in result.updates" - - "'snmp-server contact bar' in result.updates" - -- name: configure top level command with before idempotent check - os10_config: - lines: ['hostname foo'] - after: ['snmp-server contact foo'] - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: - - "no snmp-server contact" - - "hostname {{ inventory_hostname_short }}" - match: none - -- debug: msg="END cli/toplevel_after.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_before.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_before.yaml deleted file mode 100644 index 3af72fa8f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_before.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- debug: msg="START cli/toplevel_before.yaml" - -- name: setup - os10_config: - lines: - - "snmp-server contact ansible" - - "hostname {{ inventory_hostname_short }}" - match: none - -- name: configure top level command with before - os10_config: - lines: ['hostname foo'] - before: ['snmp-server contact bar'] - register: result - -- assert: - that: - - "result.changed == true" - - "'hostname foo' in result.updates" - - "'snmp-server contact bar' in result.updates" - -- name: configure top level command with before idempotent check - os10_config: - lines: ['hostname foo'] - before: ['snmp-server contact foo'] - register: result - -- assert: - that: - - "result.changed == false" - -- name: teardown - os10_config: - lines: - - "no snmp-server contact" - - "hostname {{ inventory_hostname_short }}" - match: none - -- debug: msg="END cli/toplevel_before.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_nonidempotent.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_nonidempotent.yaml deleted file mode 100644 index 14ee21c37..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_config/tests/cli/toplevel_nonidempotent.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- debug: msg="START cli/toplevel_nonidempotent.yaml" - -- name: setup - os10_config: - lines: ['hostname {{ inventory_hostname_short }}'] - match: none - -- name: configure top level command - os10_config: - lines: ['hostname foo'] - match: strict - register: result - -- assert: - that: - - "result.changed == true" - - "'hostname foo' in result.updates" - -- name: configure top level command idempotent check - os10_config: - lines: ['hostname foo'] - match: strict - register: result - -- assert: - that: - - "result.changed == true" - -- name: teardown - os10_config: - lines: ['hostname {{ inventory_hostname_short }}'] - match: none - -- debug: msg="END cli/toplevel_nonidempotent.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/01_ecmp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/01_ecmp_configure.j2 deleted file mode 100644 index 52d49ff2c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/01_ecmp_configure.j2 +++ /dev/null @@ -1,4 +0,0 @@ -idempotent: true -os10_ecmp: - ecmp_group_max_paths: 3 - trigger_threshold: 50 diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/02_ecmp_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/02_ecmp_update.j2 deleted file mode 100644 index 6c0bb03fd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/02_ecmp_update.j2 +++ /dev/null @@ -1,4 +0,0 @@ -idempotent: true -os10_ecmp: - ecmp_group_max_paths: 29 - trigger_threshold: 86 diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/03_ecmp_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/03_ecmp_unconfig.j2 deleted file mode 100644 index 0187b2c1c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/03_ecmp_unconfig.j2 +++ /dev/null @@ -1,4 +0,0 @@ -idempotent: false -os10_ecmp: - ecmp_group_max_paths: - trigger_threshold: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/teardown.j2 deleted file mode 100644 index d2cb816ae..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/templates/ecmp_basic/steps/teardown.j2 +++ /dev/null @@ -1,3 +0,0 @@ -os10_ecmp: - ecmp_group_max_paths: - trigger_threshold: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tests/ecmp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tests/ecmp_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/tests/ecmp_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/vars/main.yaml deleted file mode 100644 index 1ee0bd401..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ecmp_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_ecmp - -idempotent_roles: - - dellemc.os10.os10_ecmp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/cli.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/cli.yaml deleted file mode 100644 index 8c11e106f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/cli.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: collect all cli test cases - find: - paths: "{{ role_path }}/tests/cli" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: - test_items: "{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/main.yaml deleted file mode 100644 index 415c99d8b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tasks/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- { include: cli.yaml, tags: ['cli'] } diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tests/cli/facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tests/cli/facts.yaml deleted file mode 100644 index d68efadcb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_facts/tests/cli/facts.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- debug: msg="START cli/facts.yaml" - -- name: test all facts - os10_facts: - gather_subset: - - all - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts is defined" - - "result.ansible_facts.ansible_net_interfaces is defined" - - "result.ansible_facts.ansible_net_memfree_mb is defined" - - "result.ansible_facts.ansible_net_model is defined" - - "result.ansible_facts.ansible_net_servicetag is defined" - - "result.ansible_facts.ansible_net_version is defined" - -- name: test all facts except hardware - os10_facts: - gather_subset: - - "!hardware" - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts.ansible_net_interfaces is defined" - - "result.ansible_facts.ansible_net_memfree_mb is not defined" - -- name: test interface facts - os10_facts: - gather_subset: - - interfaces - register: result - -- assert: - that: - - "result.changed == false" - - "result.ansible_facts.ansible_net_interfaces is defined" - - "result.ansible_facts.ansible_net_memfree_mb is not defined" - - -- debug: msg="END cli/facts.yaml" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/01_flow_monitor_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/01_flow_monitor_configure.j2 deleted file mode 100644 index fb1845836..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/01_flow_monitor_configure.j2 +++ /dev/null @@ -1,14 +0,0 @@ -os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: {{ os10_interface_1 }} - location: source - state: present - - interface_name: {{ os10_interface_2 }} - location: destination - state: present - flow_based: true - shutdown: up - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/02_flow_monitory_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/02_flow_monitory_update.j2 deleted file mode 100644 index 2f20dd25d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/02_flow_monitory_update.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_flow_monitor: - session 1: - session_type: local - description: "session1 desc" - port_match: - - interface_name: {{ os10_interface_1 }} - location: source - state: present - - interface_name: {{ os10_interface_2 }} - location: destination - state: present - flow_based: true - shutdown: down - state: present - session 2: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/03_flow_monitor_options_default.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/03_flow_monitor_options_default.j2 deleted file mode 100644 index 00225e2fb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/03_flow_monitor_options_default.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_flow_monitor: - session 1: - session_type: local - description: - port_match: - - interface_name: {{ os10_interface_1 }} - location: - state: present - - interface_name: {{ os10_interface_2 }} - location: destination - state: present - flow_based: - shutdown: - state: present - session 2: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/setup.j2 deleted file mode 100644 index c7eeeae16..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/setup.j2 +++ /dev/null @@ -1,3 +0,0 @@ -os10_interface: - {{ os10_interface_2 }}: - switchport: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/teardown.j2 deleted file mode 100644 index 94690f2a9..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/templates/flow_monitor_basic/steps/teardown.j2 +++ /dev/null @@ -1,23 +0,0 @@ -test_roles: - - dellemc.os10.os10_flow_monitor - - dellemc.os10.os10_interface -os10_interface: - {{ os10_interface_2 }}: - switchport: true - portmode: access -os10_flow_monitor: - session 1: - session_type: local - description: "Discription goes here" - port_match: - - interface_name: {{ os10_interface_1 }} - location: source - state: absent - - interface_name: {{ os10_interface_2 }} - location: destination - state: absent - flow_based: true - shutdown: up - state: absent - session 2: - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tests/flow_monitor_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tests/flow_monitor_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/tests/flow_monitor_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/vars/main.yaml deleted file mode 100644 index 8183f2827..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_flow_monitor_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_interface - - dellemc.os10.os10_flow_monitor diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/01_interface_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/01_interface_config.j2 deleted file mode 100644 index bb4364d61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/01_interface_config.j2 +++ /dev/null @@ -1,6 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - desc: "Connected to Core 2" - mtu: 2500 - admin: up - switchport: False diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/02_interface_dynamic_ip.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/02_interface_dynamic_ip.j2 deleted file mode 100644 index 725cbdedc..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/02_interface_dynamic_ip.j2 +++ /dev/null @@ -1,14 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - desc: "DHCP Ip" - mtu: 2500 - admin: up - switchport: False - ip_type_dynamic: True - ipv6_type_dynamic: True - {{ os10_interface_2 }}: - desc: "IPV6 Auto config" - mtu: 2000 - admin: up - switchport: False - ipv6_autoconfig: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/03_interface_static_ip.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/03_interface_static_ip.j2 deleted file mode 100644 index 74273ab0d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/03_interface_static_ip.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - desc: "Static Ip" - mtu: 2500 - portmode: - admin: up - switchport: False - ip_and_mask: 10.9.0.4/31 - ipv6_and_mask: 2001:4898:5809:faa2::10/126 - ipv6_autoconfig: false - ip_type_dynamic: false - ipv6_type_dynamic: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/04_interface_flowcontrol.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/04_interface_flowcontrol.j2 deleted file mode 100644 index c77200ea0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/04_interface_flowcontrol.j2 +++ /dev/null @@ -1,14 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - desc: "Static Ip" - mtu: 2500 - portmode: - admin: up - switchport: False - ip_and_mask: 10.9.0.4/31 - ipv6_and_mask: 2001:4898:5809:faa2::10/126 - ipv6_autoconfig: false - flowcontrol: - mode: "receive" - enable: "on" - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/05_interface_switchport.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/05_interface_switchport.j2 deleted file mode 100644 index a38709cc0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/05_interface_switchport.j2 +++ /dev/null @@ -1,17 +0,0 @@ -os10_interface: - {{ os10_interface_3 }}: - desc: "Switch port" - mtu: 3000 - portmode: trunk - admin: up - switchport: true - {{ os10_interface_1 }}: - ip_and_mask: - ipv6_and_mask: - ipv6_autoconfig: false - state_ipv6: absent - {{ os10_interface_2 }}: - ip_and_mask: - ipv6_and_mask: - ipv6_autoconfig: false - state_ipv6: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/06_interface_vlan.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/06_interface_vlan.j2 deleted file mode 100644 index ea4414de7..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/06_interface_vlan.j2 +++ /dev/null @@ -1,17 +0,0 @@ -test_roles: - - dellemc.os10.os10_vlan - - dellemc.os10.os10_interface - -os10_vlan: - vlan 10: - state: present - -os10_interface: - vlan 10: - ip_and_mask: - ipv6_and_mask: 2001:4898:5808:ffaf::1/64 - state_ipv6: present - ip_helper: - - ip: 10.0.0.33 - state: present - admin: up diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/07_interface_range.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/07_interface_range.j2 deleted file mode 100644 index 310dcd39d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/07_interface_range.j2 +++ /dev/null @@ -1,4 +0,0 @@ -os10_interface: - range ethernet {{ os10_interface_1.split()[1] }},{{ os10_interface_2.split()[1] }},{{ os10_interface_3.split()[1] }}: - mtu: 2500 - admin: up diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/teardown.j2 deleted file mode 100644 index e51374b70..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/templates/interface_basic/steps/teardown.j2 +++ /dev/null @@ -1,45 +0,0 @@ -test_roles: - - dellemc.os10.os10_vlan - - dellemc.os10.os10_interface - -os10_vlan: - vlan 10: - state: absent - -os10_interface: - {{ os10_interface_1 }}: - desc: - mtu: - portmode: access - admin: down - switchport: true - ip_and_mask: - ipv6_and_mask: - ip_type_dynamic: false - ipv6_type_dynamic: false - ipv6_autoconfig: false - flowcontrol: - mode: receive - enable: off - state: absent - {{ os10_interface_2 }}: - desc: - mtu: - portmode: access - admin: down - switchport: true - ip_and_mask: - ipv6_and_mask: - ip_type_dynamic: false - ipv6_type_dynamic: false - ipv6_autoconfig: false - flowcontrol: - mode: receive - enable: off - state: absent - {{ os10_interface_3 }}: - desc: - mtu: - portmode: access - admin: down - switchport: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tests/interface_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tests/interface_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/tests/interface_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/vars/main.yaml deleted file mode 100644 index ff3aa0eba..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_interface_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_interface diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/01_lag_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/01_lag_configure.j2 deleted file mode 100644 index fc74977a4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/01_lag_configure.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: {{ os10_interface_1 }} - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/02_lag_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/02_lag_update.j2 deleted file mode 100644 index e8c2338ec..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/02_lag_update.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_lag: - Po 12: - type: dynamic - min_links: 32 - max_bundle_size: 32 - lacp_system_priority: 5 - channel_members: - - port: {{ os10_interface_1 }} - mode: passive - port_priority: 4 - lacp_rate_fast: false - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/03_lag_options_reset.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/03_lag_options_reset.j2 deleted file mode 100644 index 03d18fd2c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/03_lag_options_reset.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_lag: - Po 12: - type: dynamic - min_links: - max_bundle_size: - lacp_system_priority: - channel_members: - - port: {{ os10_interface_1 }} - mode: - port_priority: - lacp_rate_fast: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/04_lag_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/04_lag_absent.j2 deleted file mode 100644 index c9e7b820f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/04_lag_absent.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: 2 - channel_members: - - port: {{ os10_interface_1 }} - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/teardown.j2 deleted file mode 100644 index 09b6c3ea6..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/templates/lag_basic/steps/teardown.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_lag: - Po 12: - type: dynamic - min_links: 2 - max_bundle_size: 2 - lacp_system_priority: - channel_members: - - port: {{ os10_interface_1 }} - mode: "active" - port_priority: 3 - lacp_rate_fast: true - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tests/lag_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tests/lag_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/tests/lag_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/vars/main.yaml deleted file mode 100644 index 4b1840fa4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lag_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_lag diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/01_lldp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/01_lldp_configure.j2 deleted file mode 100644 index aa8066948..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/01_lldp_configure.j2 +++ /dev/null @@ -1,44 +0,0 @@ -os10_lldp: - enable: true - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: present - local_interface: - "{{ os10_interface_1 }}": - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: present - application: - - network_policy_id: 4 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/02_lldp_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/02_lldp_update.j2 deleted file mode 100644 index 8b0272abc..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/02_lldp_update.j2 +++ /dev/null @@ -1,44 +0,0 @@ -os10_lldp: - enable: true - multiplier: 10 - reinit: 10 - timer: 15 - advertise: - med: - fast_start_repeat_count: 10 - application: - - name: guest-voice - network_policy_id: 1 - vlan_id: 5 - vlan_type: untag - l2_priority: 7 - code_point_value: 20 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: present - local_interface: - "{{ os10_interface_1 }}": - mode: transmit - mode_state: present - advertise: - med: - enable: true - tlv: network-policy - tlv_state: present - application: - - network_policy_id: 5 - state: present - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/03_lldp_options_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/03_lldp_options_absent.j2 deleted file mode 100644 index 7ded6af6c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/03_lldp_options_absent.j2 +++ /dev/null @@ -1,44 +0,0 @@ -os10_lldp: - enable: false - multiplier: 3 - reinit: 2 - timer: 5 - advertise: - med: - fast_start_repeat_count: 4 - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: present - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - "{{ os10_interface_1 }}": - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: present - application: - - network_policy_id: 4 - state: absent - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/teardown.j2 deleted file mode 100644 index 9f372d8ac..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/templates/lldp_basic/steps/teardown.j2 +++ /dev/null @@ -1,46 +0,0 @@ -os10_lldp: - enable: true - multiplier: - reinit: - timer: - advertise: - med: - fast_start_repeat_count: - application: - - name: guest-voice - network_policy_id: 0 - vlan_id: 2 - vlan_type: tag - l2_priority: 3 - code_point_value: 4 - state: absent - - name: voice - network_policy_id: 1 - vlan_id: 3 - vlan_type: untag - l2_priority: 3 - code_point_value: 4 - state: absent - local_interface: - "{{ os10_interface_1 }}": - mode: rx - mode_state: present - advertise: - med: - enable: true - tlv: inventory - tlv_state: absent - application: - - network_policy_id: 4 - state: absent - - network_policy_id: 5 - state: absent - tlv: - - name: basic-tlv - value: management-address port-description - state: present - - name: dcbxp-appln - value: iscsi - state: present - - name: dcbxp - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tests/lldp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tests/lldp_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/tests/lldp_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/vars/main.yaml deleted file mode 100644 index 031311ec5..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_lldp_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_lldp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/01_logging_enable.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/01_logging_enable.j2 deleted file mode 100644 index 75a47735d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/01_logging_enable.j2 +++ /dev/null @@ -1,6 +0,0 @@ -idempotent: true -os10_logging: - console: - severity: log-err - log_file: - severity: log-err diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/02_logging_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/02_logging_update.j2 deleted file mode 100644 index ea10cb8e4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/02_logging_update.j2 +++ /dev/null @@ -1,6 +0,0 @@ -idempotent: true -os10_logging: - console: - severity: log-debug - log_file: - severity: log-debug diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/03_logging_disable.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/03_logging_disable.j2 deleted file mode 100644 index f34f7ced4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/03_logging_disable.j2 +++ /dev/null @@ -1,8 +0,0 @@ -idempotent: true -os10_logging: - console: - enable: false - severity: log-err - log_file: - enable: false - severity: log-err diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/04_logging_server_add.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/04_logging_server_add.j2 deleted file mode 100644 index d714efd2a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/04_logging_server_add.j2 +++ /dev/null @@ -1,12 +0,0 @@ -idempotent: false -os10_logging: - logging: - - ip: 1.1.1.1 - state: present - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "{{ os10_interface_1 }}" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/05_logging_server_del.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/05_logging_server_del.j2 deleted file mode 100644 index 992bafac6..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/05_logging_server_del.j2 +++ /dev/null @@ -1,12 +0,0 @@ -idempotent: false -os10_logging: - logging: - - ip: 1.1.1.1 - state: absent - console: - enable: True - severity: log-err - log_file: - enable: True - severity: log-err - source_interface: "{{ os10_interface_1 }}" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/teardown.j2 deleted file mode 100644 index d8d31880d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/templates/logging_basic/steps/teardown.j2 +++ /dev/null @@ -1,11 +0,0 @@ -os10_logging: - logging: - - ip: 1.1.1.1 - state: absent - console: - enable: True - severity: log-notice - log_file: - enable: True - severity: log-notice - source_interface: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tests/logging_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tests/logging_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/tests/logging_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/vars/main.yaml deleted file mode 100644 index 55afbe1dd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_logging_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_logging - -idempotent_roles: - - dellemc.os10.os10_logging diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/01_ntp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/01_ntp_configure.j2 deleted file mode 100644 index 35d8889a2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/01_ntp_configure.j2 +++ /dev/null @@ -1,24 +0,0 @@ -os10_ntp: - source: "{{ os10_interface_1 }}" - master: 5 - authenticate: true - authentication_key: - - key_num: 123 - key_string_type: 0 - key_string: test - state: present - trusted_key: - - key_num: 1323 - state: present - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: present - intf: - "{{ os10_interface_1 }}": - disable: true - broadcast: true - vrf: - name: red - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/02_ntp_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/02_ntp_update.j2 deleted file mode 100644 index f2b11184d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/02_ntp_update.j2 +++ /dev/null @@ -1,20 +0,0 @@ -os10_ntp: - master: 4 - authenticate: false - authentication_key: - - key_num: 456 - key_string_type: 0 - key_string: ntptest - state: present - trusted_key: - - key_num: 4626 - state: present - server: - - ip: 2.2.2.2 - key: 567 - prefer: false - state: present - intf: - "{{ os10_interface_1 }}": - disable: false - broadcast: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/03_ntp_suboptions_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/03_ntp_suboptions_absent.j2 deleted file mode 100644 index 56aff6af7..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/03_ntp_suboptions_absent.j2 +++ /dev/null @@ -1,14 +0,0 @@ -os10_ntp: - authentication_key: - - key_num: 456 - key_string_type: 0 - key_string: ntptest - state: absent - trusted_key: - - key_num: 4626 - state: absent - server: - - ip: 2.2.2.2 - key: 567 - prefer: false - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/04_ntp_suboptions_stateless.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/04_ntp_suboptions_stateless.j2 deleted file mode 100644 index 61c784722..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/04_ntp_suboptions_stateless.j2 +++ /dev/null @@ -1,11 +0,0 @@ -os10_ntp: - authentication_key: - - key_num: 456 - key_string_type: 0 - key_string: ntptest - trusted_key: - - key_num: 4626 - server: - - ip: 2.2.2.2 - key: 567 - prefer: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/05_ntp_empty_string.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/05_ntp_empty_string.j2 deleted file mode 100644 index a23265215..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/05_ntp_empty_string.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_ntp: - authenticate: '' - authentication_key: - - key_num: 456 - key_string_type: 0 - key_string: ntptest - trusted_key: - - key_num: 4626 - server: - - ip: 2.2.2.2 - key: 567 - prefer: '' - intf: - "{{ os10_interface_1 }}": - disable: '' - broadcast: '' diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/setup.j2 deleted file mode 100644 index 7ea26a0a0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/setup.j2 +++ /dev/null @@ -1,4 +0,0 @@ -os10_vrf: - vrfdetails: - - vrf_name: red - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/teardown.j2 deleted file mode 100644 index a916200c3..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/templates/ntp_basic/steps/teardown.j2 +++ /dev/null @@ -1,32 +0,0 @@ -test_roles: - - dellemc.os10.os10_ntp - - dellemc.os10.os10_vrf -os10_ntp: - source: - master: - authenticate: - authentication_key: - - key_num: 123 - key_string_type: 0 - key_string: test - state: absent - trusted_key: - - key_num: 1323 - state: absent - server: - - ip: 2.2.2.2 - key: 345 - prefer: true - state: absent - intf: - "{{ os10_interface_1 }}": - disable: false - broadcast: false - vrf: - name: red - state: absent - -os10_vrf: - vrfdetails: - - vrf_name: red - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tests/ntp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tests/ntp_basic.yaml deleted file mode 100644 index ed97d539c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/tests/ntp_basic.yaml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/vars/main.yaml deleted file mode 100644 index b42240ddd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_ntp_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_vrf - - dellemc.os10.os10_ntp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/01_prefix_list_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/01_prefix_list_config.j2 deleted file mode 100644 index 4e9d912bf..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/01_prefix_list_config.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: true -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/02_prefix_list_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/02_prefix_list_update.j2 deleted file mode 100644 index 3481d358e..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/02_prefix_list_update.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: true -os10_prefix_list: - - name: testpl - type: ipv4 - description: prefixlistdesc - entries: - - number: 18 - permit: false - net_num: 20.0.0.0 - mask: 24 - condition_list: - - condition: le - prelen: 14 - - condition: ge - prelen: 13 - state: present - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/03_prefix_list_entry_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/03_prefix_list_entry_absent.j2 deleted file mode 100644 index d14b8ddac..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/03_prefix_list_entry_absent.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: false -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: absent - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/04_prefix_list_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/04_prefix_list_absent.j2 deleted file mode 100644 index b349bd900..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/04_prefix_list_absent.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: absent - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/teardown.j2 deleted file mode 100644 index b349bd900..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/templates/prefix_list_basic/steps/teardown.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_prefix_list: - - name: testpl - type: ipv4 - description: pl - entries: - - number: 19 - permit: true - net_num: 20.0.0.0 - mask: 16 - condition_list: - - condition: ge - prelen: 17 - - condition: le - prelen: 18 - state: absent - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tests/prefix_list_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tests/prefix_list_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/tests/prefix_list_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/vars/main.yaml deleted file mode 100644 index 706b6a875..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_prefix_list_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_prefix_list - -idempotent_roles: - - dellemc.os10.os10_prefix_list diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/01_qos_config.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/01_qos_config.j2 deleted file mode 100644 index eec0f565a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/01_qos_config.j2 +++ /dev/null @@ -1,10 +0,0 @@ -idempotent: true -os10_qos: - policy_map: - - name: testpolicy - type: qos - state: present - class_map: - - name: testclas - type: qos - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/02_qos_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/02_qos_update.j2 deleted file mode 100644 index ba5936830..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/02_qos_update.j2 +++ /dev/null @@ -1,10 +0,0 @@ -idempotent: true -os10_qos: - policy_map: - - name: testpolicy - type: - state: present - class_map: - - name: testclas - type: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/03_qos_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/03_qos_unconfig.j2 deleted file mode 100644 index 3310a13e8..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/03_qos_unconfig.j2 +++ /dev/null @@ -1,10 +0,0 @@ -idempotent: false -os10_qos: - policy_map: - - name: testpolicy - type: - state: absent - class_map: - - name: testclas - type: - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/teardown.j2 deleted file mode 100644 index 2e7960c68..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/templates/qos_basic/steps/teardown.j2 +++ /dev/null @@ -1,9 +0,0 @@ -os10_qos: - policy_map: - - name: testpolicy - type: - state: absent - class_map: - - name: testclas - type: - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tests/qos_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tests/qos_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/tests/qos_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/vars/main.yaml deleted file mode 100644 index 9a1913c94..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_qos_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_qos - -idempotent_roles: - - dellemc.os10.os10_qos diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/01_route_map_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/01_route_map_configure.j2 deleted file mode 100644 index 1c0adec04..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/01_route_map_configure.j2 +++ /dev/null @@ -1,48 +0,0 @@ -idempotent: true -os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: present - community_list: - - type: standard - name: qqq - permit: false - community: internet - state: present - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: present - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - set: - local_pref: 1200 - metric_type: type-1 - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/02_route_map_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/02_route_map_update.j2 deleted file mode 100644 index fb464397f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/02_route_map_update.j2 +++ /dev/null @@ -1,48 +0,0 @@ -idempotent: true -os10_route_map: - as_path: - - access_list: aa - permit: false - regex: abc - state: present - community_list: - - type: standard - name: qqq - permit: false - regex: internet - state: present - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:35" - state: present - route_map: - - name: test - permit: false - seq_num: 5 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - set: - local_pref: 1500 - metric_type: type-1 - metric: "- 20" - origin: egp - weight: 60 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: no-export - comm_list: - add: commstd - delete: commex - extcommunity: "25:37" - extcomm_list: - add: commstd - delete: commex - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/03_route_map_options_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/03_route_map_options_unconfig.j2 deleted file mode 100644 index a10c5d0ab..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/03_route_map_options_unconfig.j2 +++ /dev/null @@ -1,48 +0,0 @@ -idempotent: false -os10_route_map: - as_path: - - access_list: aa - permit: - regex: www - state: present - community_list: - - type: standard - name: qqq - permit: - community: internet - state: present - extcommunity_list: - - type: standard - name: qqq - permit: - community: "rt 22:33" - state: present - route_map: - - name: test - permit: - seq_num: - continue: - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - set: - local_pref: - metric_type: - metric: - origin: - weight: - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: present - community: - comm_list: - add: - delete: - extcommunity: - extcomm_list: - add: - delete: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/04_route_map_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/04_route_map_unconfig.j2 deleted file mode 100644 index 181d8823f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/04_route_map_unconfig.j2 +++ /dev/null @@ -1,47 +0,0 @@ -os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: absent - community_list: - - type: standard - name: qqq - permit: false - community: internet - state: absent - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: absent - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - set: - local_pref: 1200 - metric_type: type-1 - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: absent - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/teardown.j2 deleted file mode 100644 index e7380b3dd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/templates/route_map_basic/steps/teardown.j2 +++ /dev/null @@ -1,47 +0,0 @@ -os10_route_map: - as_path: - - access_list: aa - permit: true - regex: www - state: absent - community_list: - - type: standard - name: qqq - permit: false - community: internet - state: absent - extcommunity_list: - - type: standard - name: qqq - permit: false - community: "rt 22:33" - state: absent - route_map: - - name: test - permit: true - seq_num: 1 - continue: 20 - match: - - ip_type: ipv4 - access_group: testaccess - prefix_list: testprefix - set: - local_pref: 1200 - metric_type: internal - metric: + 30 - origin: igp - weight: 50 - next_hop: - - type: ip - address: 10.1.1.1 - track_id: 3 - state: absent - community: internet - comm_list: - add: qq - delete: qqq - extcommunity: "22:33" - extcomm_list: - add: aa - delete: aa - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tests/route_map_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tests/route_map_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/tests/route_map_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/vars/main.yaml deleted file mode 100644 index 853134724..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_route_map_role/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -test_roles: - - dellemc.os10.os10_route_map - -idempotent_roles: - - dellemc.os10.os10_route_map diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/01_snmp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/01_snmp_configure.j2 deleted file mode 100644 index bbc976421..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/01_snmp_configure.j2 +++ /dev/null @@ -1,135 +0,0 @@ -test_roles: - - dellemc.os10.os10_snmp -os10_snmp: - snmp_source_interface: mgmt 1/1/1 - snmp_location: Chennai - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: present - - name: test - access_mode: ro - access_list: - name: test_acl - state: present - state: present - snmp_traps: - - name: all - state: present - snmp_engine_id: 123456789 - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - - host: 1.1.1.1 - engine_id: '0xcd' - udpport: 200 - - host: 2.1.1.1 - engine_id: '0xef' - udpport: 200 - snmp_vrf: red - snmp_group: - - name: group_1 - version: 1 - write_view: - name: view_2 - - name: group_2 - version: 2c - state: present - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - notify_view: - name: view_3 - - name: group_3 - version: 3 - security_level: auth - read_view: - name: view_1 - write_view: - name: view_2 - state: present - - name: group_4 - version: 3 - security_level: priv - notify_view: - name: view_1 - state: present - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: present - - ip: 2.1.1.1 - version: 1 - communitystring: c3 - trap_categories: - dom: true - entity: true - snmp: true - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: true - lldp: true - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: present - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: false - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: present - - name: user_4 - group_name: group_1 - version: 3 - state: present - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/02_snmp_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/02_snmp_update.j2 deleted file mode 100644 index 8c43046d2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/02_snmp_update.j2 +++ /dev/null @@ -1,144 +0,0 @@ -os10_snmp: - snmp_source_interface: mgmt 1/1/1 - snmp_location: Chennai - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: absent - - name: test - access_mode: ro - access_list: - name: test_acl - state: present - state: present - snmp_traps: - - name: all - state: present - snmp_engine_id: 123456789 - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - - host: 1.1.1.1 - engine_id: '0xcd' - udpport: 200 - - host: 2.1.1.1 - engine_id: '0xef' - udpport: 200 - snmp_vrf: red - snmp_group: - - name: group_1 - version: 1 - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - - name: group_2 - version: 2c - state: present - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - notify_view: - name: view_3 - state: absent - - name: group_3 - version: 3 - security_level: auth - read_view: - name: view_1 - write_view: - name: view_2 - state: present - - name: group_4 - version: 3 - security_level: priv - notify_view: - name: view_1 - state: present - read_view: - name: view_1 - write_view: - name: view_2 - state: present - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: present - - ip: 2.1.1.1 - version: 1 - communitystring: c3 - trap_categories: - dom: true - entity: true - snmp: true - lldp: true - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: false - lldp: false - state: present - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: present - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: false - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: present - - name: user_4 - group_name: group_1 - version: 3 - state: present - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/03_snmp_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/03_snmp_unconfig.j2 deleted file mode 100644 index 4b4a86830..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/03_snmp_unconfig.j2 +++ /dev/null @@ -1,147 +0,0 @@ -os10_snmp: - snmp_source_interface: mgmt 1/1/1 - snmp_location: Chennai - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: absent - - name: test - access_mode: ro - access_list: - name: test_acl - state: present - state: absent - snmp_traps: - - name: all - state: absent - snmp_engine_id: - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - - host: 1.1.1.1 - engine_id: '0xcd' - udpport: 200 - - host: 2.1.1.1 - engine_id: '0xef' - udpport: 200 - state: absent - snmp_vrf: red - snmp_group: - - name: group_1 - version: 1 - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - - name: group_2 - version: 2c - state: present - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - notify_view: - name: view_3 - state: absent - - name: group_3 - version: 3 - security_level: auth - read_view: - name: view_1 - write_view: - name: view_2 - state: present - - name: group_4 - version: 3 - security_level: priv - notify_view: - name: view_1 - state: absent - read_view: - name: view_1 - state: absent - write_view: - name: view_2 - state: absent - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: present - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: present - - ip: 2.1.1.1 - version: 1 - communitystring: c3 - trap_categories: - dom: true - entity: true - snmp: true - lldp: true - state: present - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: false - lldp: false - state: absent - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: absent - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: false - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: present - - name: user_2 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: present - - name: user_3 - group_name: group_1 - version: 2c - state: absent - - name: user_4 - group_name: group_1 - version: 3 - state: absent - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/setup.j2 deleted file mode 100644 index 7ea26a0a0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/setup.j2 +++ /dev/null @@ -1,4 +0,0 @@ -os10_vrf: - vrfdetails: - - vrf_name: red - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/teardown.j2 deleted file mode 100644 index 1a3ba013d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/templates/snmp_basic/steps/teardown.j2 +++ /dev/null @@ -1,147 +0,0 @@ -test_roles: - - dellemc.os10.os10_snmp - - dellemc.os10.os10_vrf -os10_vrf: - vrfdetails: - - vrf_name: "red" - state: "absent" -os10_snmp: - snmp_source_interface: - snmp_location: - snmp_community: - - name: public - access_mode: ro - access_list: - name: test_acl - state: absent - - name: test - access_mode: ro - access_list: - name: test_acl - state: absent - state: absent - snmp_traps: - - name: all - state: absent - snmp_engine_id: - snmp_remote_engine_id: - - host: 1.1.1.1 - engine_id: '0xab' - state: absent - - host: 1.1.1.1 - engine_id: '0xcd' - udpport: 200 - state: absent - - host: 2.1.1.1 - engine_id: '0xef' - udpport: 200 - state: absent - snmp_group: - - name: group_1 - version: 1 - write_view: - name: view_2 - state: absent - - name: group_2 - version: 2c - state: present - access_list: - name: test_acl - read_view: - name: view_1 - write_view: - name: view_2 - notify_view: - name: view_3 - state: absent - - name: group_3 - version: 3 - security_level: auth - read_view: - name: view_1 - write_view: - name: view_2 - state: present - state: absent - - name: group_4 - version: 3 - security_level: priv - notify_view: - name: view_1 - state: present - state: absent - snmp_host: - - ip: 1.1.1.1 - communitystring: c1 - version: "2c" - udpport: 4 - state: absent - - ip: 2.2.2.2 - version: 1 - communitystring: c3 - state: absent - - ip: 2.1.1.1 - version: 1 - communitystring: c3 - trap_categories: - dom: true - entity: true - snmp: true - state: absent - - ip: 3.1.1.1 - version: 3 - security_level: priv - security_name: test - notification_type: informs - udpport: 200 - trap_categories: - dom: true - entity: true - envmon: true - lldp: true - state: absent - snmp_view: - - name: view_1 - oid_subtree: 2 - include: true - state: absent - snmp_vrf: - snmp_user: - - name: user_1 - group_name: group_1 - version: 3 - authentication: - localized: false - algorithm: md5 - password: 9fc53d9d908118b2804fe80e3ba8763d - encryption: - algorithm: aes - password: d0452401a8c3ce42804fe80e3ba8763d - state: absent - - name: user_2 - group_name: group_1 - version: 3 - authentication: - localized: true - algorithm: md5 - password: '0x9fc53d9d908118b2804fe80e3ba8763d' - encryption: - algorithm: aes - password: '0xd0452401a8c3ce42804fe80e3ba8763d' - state: absent - - name: user_3 - group_name: group_1 - version: 2c - state: absent - - name: user_4 - group_name: group_1 - version: 3 - state: absent - - name: user_5 - group_name: group_2 - version: 2c - remote: - ip: 1.1.1.1 - udpport: 200 - access_list: test_acl - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tests/snmp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tests/snmp_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/tests/snmp_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/vars/main.yaml deleted file mode 100644 index 0e3995a5e..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_snmp_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_vrf - - dellemc.os10.os10_snmp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/01_system_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/01_system_configure.j2 deleted file mode 100644 index 135499850..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/01_system_configure.j2 +++ /dev/null @@ -1,26 +0,0 @@ -os10_system: - hostname: OS10 - hardware_forwarding: scaled-l3-hosts - hash_algo: - algo: - - name: lag - mode: crc - state: present - - name: ecmp - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: source-ip - state: present - ipv6_selection: - - field: source-ip - state: present - mac_selection: - - field: source-mac - state: present - tcp_udp_selection: - - field: l4-source-port - state: present - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/02_system_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/02_system_update.j2 deleted file mode 100644 index 7263204bd..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/02_system_update.j2 +++ /dev/null @@ -1,26 +0,0 @@ -os10_system: - hostname: OS10 - hardware_forwarding: scaled-l2 - hash_algo: - algo: - - name: ecmp - mode: random - state: present - - name: lag - mode: xor - state: present - load_balance: - ingress_port: true - ip_selection: - - field: destination-ip - state: present - ipv6_selection: - - field: destination-ip - state: present - mac_selection: - - field: destination-mac - state: present - tcp_udp_selection: - - field: l4-destination-port - state: present - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/03_system_unconfig.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/03_system_unconfig.j2 deleted file mode 100644 index 17c84d336..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/03_system_unconfig.j2 +++ /dev/null @@ -1,26 +0,0 @@ -os10_system: - hostname: OS10 - hardware_forwarding: - hash_algo: - algo: - - name: ecmp - mode: random - state: absent - - name: lag - mode: xor - state: present - load_balance: - ingress_port: - ip_selection: - - field: destination-ip - state: absent - ipv6_selection: - - field: destination-ip - state: absent - mac_selection: - - field: destination-mac - state: absent - tcp_udp_selection: - - field: l4-destination-port - state: absent - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/teardown.j2 deleted file mode 100644 index 480ce1145..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/templates/system_basic/steps/teardown.j2 +++ /dev/null @@ -1,25 +0,0 @@ -os10_system: - hostname: - hardware_forwarding: - hash_algo: - algo: - - name: ecmp - mode: random - state: absent - - name: lag - mode: xor - state: absent - load_balance: - ingress_port: - ip_selection: - - field: destination-ip - state: absent - ipv6_selection: - - field: destination-ip - state: absent - mac_selection: - - field: destination-mac - state: absent - tcp_udp_selection: - - field: l4-destination-port - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tests/system_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tests/system_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/tests/system_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/vars/main.yaml deleted file mode 100644 index d847941e5..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_system_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_system diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/01_uplink_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/01_uplink_configure.j2 deleted file mode 100644 index fd7a91655..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/01_uplink_configure.j2 +++ /dev/null @@ -1,32 +0,0 @@ -test_roles: - - dellemc.os10.os10_uplink -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "present" - - type: "downstream" - intf: "ethernet{{ os10_interface_1.split()[1] }},{{ os10_interface_2.split()[1] }}" - state: "present" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - state: "present" - - id: 2 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel2" - state: "present" - - type: "downstream" - intf: "{{ os10_interface_3 }}" - state: "present" - downstream: - disable_links: 10 - auto_recover: true - defer_time: 50 - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/02_uplink_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/02_uplink_update.j2 deleted file mode 100644 index d412e3e02..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/02_uplink_update.j2 +++ /dev/null @@ -1,30 +0,0 @@ -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: absent - - type: "downstream" - intf: "ethernet{{ os10_interface_1.split()[1] }},{{ os10_interface_2.split()[1] }}" - state: "present" - downstream: - disable_links: 10 - auto_recover: false - defer_time: 50 - state: "present" - - id: 2 - enable: false - uplink_type: - - type: "upstream" - intf: "port-channel2" - state: "present" - - type: "downstream" - intf: "{{ os10_interface_3 }}" - state: absent - downstream: - disable_links: 15 - auto_recover: false - defer_time: 40 - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/03_uplink_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/03_uplink_absent.j2 deleted file mode 100644 index b2d3da079..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/03_uplink_absent.j2 +++ /dev/null @@ -1,30 +0,0 @@ -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "absent" - - type: "downstream" - intf: "ethernet{{ os10_interface_1.split()[1] }},{{ os10_interface_2.split()[1] }}" - state: "absent" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - state: "absent" - - id: 2 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel2" - state: "absent" - - type: "downstream" - intf: "{{ os10_interface_3 }}" - state: "absent" - downstream: - disable_links: 10 - auto_recover: true - defer_time: 50 - state: "absent" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/setup.j2 deleted file mode 100644 index 2f5796161..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/setup.j2 +++ /dev/null @@ -1,5 +0,0 @@ -os10_lag: - Po 1: - state: present - Po 2: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/teardown.j2 deleted file mode 100644 index dcd90471f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/templates/uplink_basic/steps/teardown.j2 +++ /dev/null @@ -1,38 +0,0 @@ -test_roles: - - dellemc.os10.os10_uplink - - dellemc.os10.os10_lag -os10_lag: - Po 1: - state: absent - Po 2: - state: absent -os10_uplink: - uplink_state_group: - - id: 1 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel1" - state: "absent" - - type: "downstream" - intf: "ethernet{{ os10_interface_1.split()[1] }},{{ os10_interface_2.split()[1] }}" - state: "absent" - downstream: - disable_links: all - auto_recover: false - defer_time: 50 - state: "absent" - - id: 2 - enable: True - uplink_type: - - type: "upstream" - intf: "port-channel2" - state: "absent" - - type: "downstream" - intf: "{{ os10_interface_3 }}" - state: "absent" - downstream: - disable_links: 10 - auto_recover: true - defer_time: 50 - state: "absent" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tests/uplink_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tests/uplink_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/tests/uplink_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/vars/main.yaml deleted file mode 100644 index c3d3900d4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_uplink_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_lag - - dellemc.os10.os10_uplink diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks_old/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks_old/main.yaml deleted file mode 100644 index 4de62fb9f..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tasks_old/main.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/01_users_add.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/01_users_add.j2 deleted file mode 100644 index b53a5bb03..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/01_users_add.j2 +++ /dev/null @@ -1,9 +0,0 @@ -os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: present - - username: u1 - password: a1a2a3a4!@#$ - role: netadmin - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/02_users_del.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/02_users_del.j2 deleted file mode 100644 index abb30cfad..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/02_users_del.j2 +++ /dev/null @@ -1,5 +0,0 @@ -os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/teardown.j2 deleted file mode 100644 index f817f7b27..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/templates/users_basic/steps/teardown.j2 +++ /dev/null @@ -1,9 +0,0 @@ -os10_users: - - username: test - password: a1a2a3a4!@#$ - role: sysadmin - state: absent - - username: u1 - password: a1a2a3a4!@#$ - role: netadmin - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tests/users_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tests/users_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/tests/users_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/vars/main.yaml deleted file mode 100644 index 0a54dcad7..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_users_role/vars/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -test_roles: - - dellemc.os10.os10_users diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/01_vlan_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/01_vlan_configure.j2 deleted file mode 100644 index 593fb33d4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/01_vlan_configure.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: true -os10_vlan: - vlan 100: - description: "Blue" - tagged_members: - - port: {{ os10_interface_1 }} - state: present - untagged_members: - - port: {{ os10_interface_2 }} - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/02_vlan_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/02_vlan_update.j2 deleted file mode 100644 index a2fd82f4b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/02_vlan_update.j2 +++ /dev/null @@ -1,19 +0,0 @@ -idempotent: true -os10_vlan: - vlan 100: - description: "Blue VLAN" - tagged_members: - - port: {{ os10_interface_1 }} - state: present - - port: {{ os10_interface_3 }} - state: present - untagged_members: - - port: {{ os10_interface_2 }} - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/03_vlan_member_port_range.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/03_vlan_member_port_range.j2 deleted file mode 100644 index bbff49b19..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/03_vlan_member_port_range.j2 +++ /dev/null @@ -1,17 +0,0 @@ -idempotent: false -os10_vlan: - vlan 100: - description: "Blue VLAN" - tagged_members: - - port: range ethernet {{ os10_interface_1.split()[1] }},{{ os10_interface_3.split()[1] }} - state: present - untagged_members: - - port: range {{ os10_interface_2 }} - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: "present" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/04_vlan_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/04_vlan_absent.j2 deleted file mode 100644 index 2cc502d2d..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/04_vlan_absent.j2 +++ /dev/null @@ -1,20 +0,0 @@ -idempotent: false -os10_vlan: - default_vlan_id: 1 - vlan 100: - description: - tagged_members: - - port: {{ os10_interface_1 }} - state: present - - port: {{ os10_interface_3 }} - state: absent - untagged_members: - - port: {{ os10_interface_2 }} - state: present - state: present - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: "present" - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/setup.j2 deleted file mode 100644 index 81cff710c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/setup.j2 +++ /dev/null @@ -1,3 +0,0 @@ -os10_lag: - Po 1: - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/teardown.j2 deleted file mode 100644 index e640d0c19..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/templates/vlan_basic/steps/teardown.j2 +++ /dev/null @@ -1,25 +0,0 @@ -test_roles: - - dellemc.os10.os10_vlan - - dellemc.os10.os10_lag -os10_lag: - Po 1: - state: absent -os10_vlan: - default_vlan_id: - vlan 100: - description: - tagged_members: - - port: {{ os10_interface_1 }} - state: absent - - port: {{ os10_interface_3 }} - state: absent - untagged_members: - - port: {{ os10_interface_2 }} - state: absent - state: absent - vlan 888: - description: "NSX_Cluster" - untagged_members: - - port: port-channel 1 - state: absent - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tests/vlan_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tests/vlan_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/tests/vlan_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/vars/main.yaml deleted file mode 100644 index 7acc287d9..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlan_role/vars/main.yaml +++ /dev/null @@ -1,6 +0,0 @@ -test_roles: - - dellemc.os10.os10_lag - - dellemc.os10.os10_vlan - -idempotent_roles: - - dellemc.os10.os10_vlan diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/defaults/main.yaml deleted file mode 100644 index 967b3f143..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -testcase: "*" -test_idempotency: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/01_vlt_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/01_vlt_configure.j2 deleted file mode 100644 index 90ca59883..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/01_vlt_configure.j2 +++ /dev/null @@ -1,15 +0,0 @@ -idempotent: true -test_roles: - - dellemc.os10.os10_vlt -os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - discovery_intf: {{ os10_interface_1.split()[1] }} - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/02_vlt_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/02_vlt_update.j2 deleted file mode 100644 index e1406d215..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/02_vlt_update.j2 +++ /dev/null @@ -1,14 +0,0 @@ -idempotent: false -os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - backup_destination_vrf: - discovery_intf: {{ os10_interface_1.split()[1] }} - discovery_intf_state: absent - peer_routing: false - vlt_mac: aa:aa:aa:aa:aa:ab - vlt_peers: - Po 12: - peer_lag: 14 - state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/03_vlt_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/03_vlt_absent.j2 deleted file mode 100644 index 1d667cca0..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/03_vlt_absent.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - discovery_intf: {{ os10_interface_1.split()[1] }} - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/setup.j2 deleted file mode 100644 index 17245d040..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/setup.j2 +++ /dev/null @@ -1,7 +0,0 @@ -os10_lag: - Po 12: - state: present - -os10_interface: - {{ os10_interface_1 }}: - switchport: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/teardown.j2 deleted file mode 100644 index 4460af862..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/templates/vlt_basic/steps/teardown.j2 +++ /dev/null @@ -1,23 +0,0 @@ -test_roles: - - dellemc.os10.os10_vlt - - dellemc.os10.os10_lag - - dellemc.os10.os10_interface -os10_interface: - {{ os10_interface_1 }}: - portmode: access - switchport: true -os10_lag: - Po 12: - state: absent -os10_vlt: - domain: 1 - backup_destination: "192.168.211.175" - destination_type: "ipv4" - discovery_intf: {{ os10_interface_1.split()[1] }} - discovery_intf_state: present - peer_routing: True - vlt_mac: aa:aa:aa:aa:aa:aa - vlt_peers: - Po 12: - peer_lag: 13 - state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tests/vlt_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tests/vlt_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/tests/vlt_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/vars/main.yaml deleted file mode 100644 index e18e8364c..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vlt_role/vars/main.yaml +++ /dev/null @@ -1,7 +0,0 @@ -test_roles: - - dellemc.os10.os10_interface - - dellemc.os10.os10_lag - - dellemc.os10.os10_vlt - -idempotent_roles: - - dellemc.os10.os10_vlt diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/01_vrrp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/01_vrrp_configure.j2 deleted file mode 100644 index 0f95b5156..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/01_vrrp_configure.j2 +++ /dev/null @@ -1,43 +0,0 @@ -test_roles: - - dellemc.os10.os10_vrrp -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - {{ os10_interface_1 }}: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/02_vrrp_update.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/02_vrrp_update.j2 deleted file mode 100644 index b3fc61ce5..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/02_vrrp_update.j2 +++ /dev/null @@ -1,41 +0,0 @@ -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - {{ os10_interface_1 }}: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 200 - preempt: true - track_interface: - - resource_id: 3 - priority_cost: 30 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: absent - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 300 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: absent - - ip: 4.1.1.3 - state: absent - priority: 140 - preempt: true - track_interface: - - resource_id: 3 - priority_cost: 20 - state: present - adv_interval_centisecs: 300 - state: present - vlan100: - vrrp_active_active_mode: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/03_vrrp_options_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/03_vrrp_options_absent.j2 deleted file mode 100644 index f013293a7..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/03_vrrp_options_absent.j2 +++ /dev/null @@ -1,41 +0,0 @@ -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - {{ os10_interface_1 }}: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: absent - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: present - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: absent - adv_interval_centisecs: 200 - state: present - vlan100: - vrrp_active_active_mode: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/04_vrrp_absent.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/04_vrrp_absent.j2 deleted file mode 100644 index 8e79b3198..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/04_vrrp_absent.j2 +++ /dev/null @@ -1,41 +0,0 @@ -os10_vrrp: - vrrp: - delay_reload: 2 - version: 3 - {{ os10_interface_1 }}: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: present - - ip: 3001:4828:5808:ffa3::9 - state: present - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: absent - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: present - - ip: 4.1.1.2 - state: present - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: present - adv_interval_centisecs: 200 - state: absent - vlan100: - vrrp_active_active_mode: true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/setup.j2 deleted file mode 100644 index dd6b16b43..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/setup.j2 +++ /dev/null @@ -1,3 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - switchport: false diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/teardown.j2 deleted file mode 100644 index 2d876f557..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/templates/vrrp_basic/steps/teardown.j2 +++ /dev/null @@ -1,47 +0,0 @@ -test_roles: - - dellemc.os10.os10_vrrp - - dellemc.os10.os10_vlan -os10_vlan: - vlan 100: - state: absent -os10_vrrp: - vrrp: - delay_reload: 0 - version: - {{ os10_interface_1 }}: - vrrp_group: - - group_id: 2 - type: ipv6 - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: absent - virtual_address: - - ip: 2001:4828:5808:ffa3::9 - state: absent - - ip: 3001:4828:5808:ffa3::9 - state: absent - - ip: 4001:4828:5808:ffa3::9 - state: absent - adv_interval_centisecs: 200 - state: absent - - group_id: 4 - virtual_address: - - ip: 4.1.1.1 - state: absent - - ip: 4.1.1.2 - state: absent - - ip: 4.1.1.3 - state: absent - priority: 120 - preempt: false - track_interface: - - resource_id: 3 - priority_cost: 25 - state: absent - adv_interval_centisecs: 200 - state: absent - vlan100: - vrrp_active_active_mode: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tests/vrrp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tests/vrrp_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/tests/vrrp_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/vars/main.yaml deleted file mode 100644 index 1eb402bf5..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_vrrp_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_interface - - dellemc.os10.os10_vrrp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/defaults/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/defaults/main.yaml deleted file mode 100644 index 5f709c5aa..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/defaults/main.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -testcase: "*" diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/01_xstp_rstp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/01_xstp_rstp_configure.j2 deleted file mode 100644 index f1a85dbd2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/01_xstp_rstp_configure.j2 +++ /dev/null @@ -1,14 +0,0 @@ -test_roles: - - dellemc.os10.os10_xstp -os10_xstp: - type: rstp - enable: true - path_cost: false - mac_flush_timer: 5 - rstp: - max_age: 7 - hello_time: 8 - forward_time: 9 - force_version: stp - bridge_priority: 8192 - mac_flush_threshold: 6 diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/02_xstp_rstp_defaults.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/02_xstp_rstp_defaults.j2 deleted file mode 100644 index f6c324bdf..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/02_xstp_rstp_defaults.j2 +++ /dev/null @@ -1,12 +0,0 @@ -os10_xstp: - type: rstp - enable: true - path_cost: false - mac_flush_timer: - rstp: - max_age: - hello_time: - forward_time: - force_version: stp - bridge_priority: - mac_flush_threshold: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/03_xstp_pvst_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/03_xstp_pvst_configure.j2 deleted file mode 100644 index 07ed32db4..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/03_xstp_pvst_configure.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_xstp: - type: rapid-pvst - enable: true - path_cost: true - mac_flush_timer: 5 - pvst: - vlan: - - range_or_id: 10 - max_age: 10 - enable: true - hello_time: 8 - forward_time: 8 - bridge_priority: 8192 - mac_flush_threshold: 6 - root: secondary - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/04_xstp_pvst_defaults.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/04_xstp_pvst_defaults.j2 deleted file mode 100644 index 82469210e..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/04_xstp_pvst_defaults.j2 +++ /dev/null @@ -1,16 +0,0 @@ -os10_xstp: - type: rapid-pvst - enable: true - path_cost: false - mac_flush_timer: - pvst: - vlan: - - range_or_id: 10 - max_age: - enable: - hello_time: - forward_time: - bridge_priority: - mac_flush_threshold: - root: - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/05_xstp_mstp_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/05_xstp_mstp_configure.j2 deleted file mode 100644 index ded2976b3..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/05_xstp_mstp_configure.j2 +++ /dev/null @@ -1,24 +0,0 @@ -os10_xstp: - type: mst - enable: true - path_cost: true - mac_flush_timer: 5 - mstp: - max_age: 8 - max_hops: 7 - hello_time: 8 - forward_time: 8 - force_version: stp - mstp_instances: - - number_or_range: 1 - enable: true - root: secondary - mac_flush_threshold: 8 - bridge_priority: 8192 - mst_config: - name: cfg1 - revision: 3 - cfg_list: - - number: 1 - vlans: 4,5 - vlans_state: present diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/06_xstp_mstp_defaults.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/06_xstp_mstp_defaults.j2 deleted file mode 100644 index c39becdc2..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/06_xstp_mstp_defaults.j2 +++ /dev/null @@ -1,24 +0,0 @@ -os10_xstp: - type: mst - enable: true - path_cost: false - mac_flush_timer: - mstp: - max_age: - max_hops: - hello_time: - forward_time: - force_version: - mstp_instances: - - number_or_range: 1 - enable: - root: - mac_flush_threshold: - bridge_priority: - mst_config: - name: cfg1 - revision: - cfg_list: - - number: 1 - vlans: 4,5 - vlans_state: absent diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/07_xstp_interface_configure.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/07_xstp_interface_configure.j2 deleted file mode 100644 index 2ec48bc22..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/07_xstp_interface_configure.j2 +++ /dev/null @@ -1,25 +0,0 @@ -os10_xstp: - type: rstp - enable: true - path_cost: true - mac_flush_timer: - intf: - {{ os10_interface_1 }}: - edge_port: true - bpdu_filter: true - bpdu_guard: true - guard: loop - enable: true - link_type: point-to-point - msti: - - instance_number: 1 - priority: 32 - cost: 1 - rstp: - priority: 32 - cost: 7 - vlan: - - range_or_id: 6 - priority: 16 - cost: 8 - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/08_xstp_interface_defaults.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/08_xstp_interface_defaults.j2 deleted file mode 100644 index b28ea4510..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/08_xstp_interface_defaults.j2 +++ /dev/null @@ -1,25 +0,0 @@ -os10_xstp: - type: rstp - enable: true - path_cost: true - mac_flush_timer: - intf: - {{ os10_interface_1 }}: - edge_port: - bpdu_filter: - bpdu_guard: - guard: - enable: false - link_type: - msti: - - instance_number: 1 - priority: - cost: - rstp: - priority: - cost: - vlan: - - range_or_id: 6 - priority: - cost: - diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/setup.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/setup.j2 deleted file mode 100644 index e01f16e4b..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/setup.j2 +++ /dev/null @@ -1,4 +0,0 @@ -os10_interface: - {{ os10_interface_1 }}: - switchport: true - portmode: access diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/teardown.j2 b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/teardown.j2 deleted file mode 100644 index e1e5ffa81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/templates/xstp_basic/steps/teardown.j2 +++ /dev/null @@ -1,60 +0,0 @@ -os10_xstp: - type: - enable: true - path_cost: false - mac_flush_timer: - rstp: - max_age: - hello_time: - forward_time: - force_version: - bridge_priority: - mac_flush_threshold: - pvst: - vlan: - - range_or_id: 10 - max_age: - enable: true - hello_time: - forward_time: - bridge_priority: - mac_flush_threshold: - root: - mstp: - max_age: - max_hops: - hello_time: - forward_time: - force_version: - mstp_instances: - - number_or_range: 1 - enable: true - root: - mac_flush_threshold: - bridge_priority: - mst_config: - name: - revision: - cfg_list: - - number: 1 - vlans: 4,5 - vlans_state: absent - intf: - {{ os10_interface_1 }}: - edge_port: - bpdu_filter: - bpdu_guard: - guard: - enable: true - link_type: - msti: - - instance_number: 1 - priority: - cost: - rstp: - priority: - cost: - vlan: - - range_or_id: 6 - priority: - cost: diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tests/xstp_basic.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tests/xstp_basic.yaml deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/tests/xstp_basic.yaml +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/vars/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/vars/main.yaml deleted file mode 100644 index 001043cd5..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/os10_xstp_role/vars/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -test_roles: - - dellemc.os10.os10_interface - - dellemc.os10.os10_xstp diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/main.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/main.yaml deleted file mode 100644 index 88be0f207..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- { include: prepare_test_facts.yaml, tags: ['role']} -- { include: tests.yaml, tags: ['role']} diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/prepare_test_facts.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/prepare_test_facts.yaml deleted file mode 100644 index a86b71f61..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/prepare_test_facts.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- block: - - name: Collect interface list - import_role: - name: os10_template - tasks_from: show_ip_interface_brief.yaml - register: result - - name: Set interface list - set_fact: - os10_interface_1: "{{ ip_interface_facts[0].INTERFACE_NAME | lower }}" - os10_interface_2: "{{ ip_interface_facts[1].INTERFACE_NAME | lower }}" - os10_interface_3: "{{ ip_interface_facts[2].INTERFACE_NAME | lower }}" - - when: prepare_os10_role_tests_task | default(True) | bool diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/include_os10_role.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/include_os10_role.yaml deleted file mode 100644 index 395d2fe81..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/include_os10_role.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- include_role: - name: "{{ os10_role_name }}" - -- debug: msg="Role completed {{ os10_role_name }}" - notify: "os10_role completed" - -- block: - - name: "Testing idempotency for {{ os10_role_name }}" - include_role: - name: "{{ os10_role_name }}" - - name: "idempotency result for {{ os10_role_name }}" - fail: - msg: "idempotency test failed for {{ os10_role_name }}" - when: output.changed - - when: > - ( test_idempotency is defined and test_idempotency and - idempotent_roles is defined and os10_role_name in idempotent_roles and - idempotent is defined and idempotent - ) diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_case.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_case.yaml deleted file mode 100644 index c84b1033a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_case.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- name: set test case - set_fact: - role_testcase: "{{ role_testcase_path | basename | splitext | first }}" - -- name: set test case output dir - set_fact: - testcase_outdir: "{{ output_dir }}/{{ role_name }}/{{ role_testcase_path }}" - - -- name: Prepare testcase output dir - file: - path: "{{ testcase_outdir }}" - state: directory - -- name: Source testcase variables - include_vars: "{{ item }}" - vars: - params: - files: - - "{{ role_testcase }}.yaml" - paths: - - "vars" - loop: "{{ query('first_found', params, errors='ignore') }}" - -- name: Include Testcase tasks - include: "{{ role_testcase_path }}" - -- name: Identifying steps - block: - - name: Identifying steps - find: - paths: "{{ role_path }}/templates/{{ role_testcase }}/steps" - patterns: "*.j2" - register: step_files - - set_fact: teststeps_files="{{ step_files.files | map(attribute='path') | map('basename') | list }}" - - set_fact: teststeps="{{ teststeps_files | map('splitext') | map('first') | reject('equalto', 'setup') | reject('equalto', 'teardown') | list | sort }}" - when: teststeps is not defined - -- name: Check if setup step exists - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/setup.j2" - ignore_errors: true - register: setup_template - -- name: Setup Testcase - include: testcase/run_test_step.yaml role_teststep=setup idempotent=false - when: setup_template.stat.exists == true - -- name: Run Test Steps - block: - - name: Run Test Steps - include: testcase/run_test_step.yaml idempotent=false - with_items: "{{ teststeps }}" - loop_control: - loop_var: role_teststep - always: - - name: Check teardown - stat: path="{{ role_path }}/templates/{{ role_testcase }}/steps/teardown.j2" - ignore_errors: true - register: teardown_template - - name: Run teardown - include: testcase/run_test_step.yaml role_teststep=teardown idempotent=false - when: teardown_template.stat.exists == true diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_step.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_step.yaml deleted file mode 100644 index 624325e54..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/testcase/run_test_step.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Running step {{ role_teststep }} - debug: msg="{{ role_teststep }}" - -- name: Set step vars file - set_fact: - teststep_var_template: "{{ role_testcase }}/steps/{{ role_teststep }}.j2" - teststep_vars_file: "{{ testcase_outdir }}/{{ role_teststep }}.yaml" - -- name: Preparing step variables - template: - src: "{{ teststep_var_template }}" - dest: "{{ teststep_vars_file }}" - -- name: Load step variables - include_vars: - file: "{{ teststep_vars_file }}" - -- name: Including roles for the step - include: testcase/include_os10_role.yaml os10_role_name="{{ step_role }}" - # include_role: - # name: "{{ step_role }}" - with_items: "{{ test_roles }}" - loop_control: - loop_var: step_role - when: test_roles is defined diff --git a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/tests.yaml b/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/tests.yaml deleted file mode 100644 index 572c2538a..000000000 --- a/ansible_collections/dellemc/os10/tests/integration/targets/role_test/tasks/tests.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - register: test_cases - -- name: set test_items - set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - -- name: run test case - include: testcase/run_test_case.yaml - with_items: "{{ test_items }}" - loop_control: - loop_var: role_testcase_path diff --git a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.10.txt b/ansible_collections/dellemc/os10/tests/sanity/ignore-2.10.txt deleted file mode 100644 index bfed9cf67..000000000 --- a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.10.txt +++ /dev/null @@ -1,20 +0,0 @@ -plugins/action/os10.py action-plugin-docs -plugins/action/textfsm_parser.py action-plugin-docs -plugins/modules/bgp_validate.py validate-modules:parameter-list-no-elements -plugins/modules/mtu_validate.py validate-modules:parameter-list-no-elements -plugins/modules/vlt_validate.py validate-modules:parameter-list-no-elements -plugins/modules/wiring_validate.py validate-modules:parameter-list-no-elements -plugins/modules/show_system_network_summary.py validate-modules:parameter-list-no-elements -plugins/modules/os10_config.py validate-modules:parameter-list-no-elements -plugins/modules/os10_facts.py validate-modules:parameter-list-no-elements -plugins/modules/os10_command.py validate-modules:parameter-list-no-elements -plugins/modules/os10_config.py validate-modules:doc-default-does-not-match-spec -plugins/modules/os10_facts.py validate-modules:doc-default-does-not-match-spec -plugins/modules/os10_command.py validate-modules:doc-default-does-not-match-spec -plugins/module_utils/network/base_network_show.py import-2.6 -plugins/modules/base_xml_to_dict.py import-2.6 -plugins/modules/bgp_validate.py import-2.6 -plugins/modules/mtu_validate.py import-2.6 -plugins/modules/show_system_network_summary.py import-2.6 -plugins/modules/vlt_validate.py import-2.6 -plugins/modules/wiring_validate.py import-2.6 diff --git a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.11.txt b/ansible_collections/dellemc/os10/tests/sanity/ignore-2.11.txt deleted file mode 100644 index 16dc721fb..000000000 --- a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.11.txt +++ /dev/null @@ -1,13 +0,0 @@ -plugins/action/os10.py action-plugin-docs -plugins/action/textfsm_parser.py action-plugin-docs -plugins/modules/bgp_validate.py validate-modules:parameter-list-no-elements -plugins/modules/mtu_validate.py validate-modules:parameter-list-no-elements -plugins/modules/vlt_validate.py validate-modules:parameter-list-no-elements -plugins/modules/wiring_validate.py validate-modules:parameter-list-no-elements -plugins/modules/show_system_network_summary.py validate-modules:parameter-list-no-elements -plugins/modules/os10_config.py validate-modules:parameter-list-no-elements -plugins/modules/os10_facts.py validate-modules:parameter-list-no-elements -plugins/modules/os10_command.py validate-modules:parameter-list-no-elements -plugins/modules/os10_config.py validate-modules:doc-default-does-not-match-spec -plugins/modules/os10_facts.py validate-modules:doc-default-does-not-match-spec -plugins/modules/os10_command.py validate-modules:doc-default-does-not-match-spec diff --git a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.9.txt b/ansible_collections/dellemc/os10/tests/sanity/ignore-2.9.txt deleted file mode 100644 index ee4573d7b..000000000 --- a/ansible_collections/dellemc/os10/tests/sanity/ignore-2.9.txt +++ /dev/null @@ -1,3 +0,0 @@ -plugins/action/os10.py action-plugin-docs -plugins/action/textfsm_parser.py action-plugin-docs -plugins/modules/show_system_network_summary.py validate-modules:missing-module-utils-import diff --git a/ansible_collections/dellemc/os10/tests/sanity/requirements.txt b/ansible_collections/dellemc/os10/tests/sanity/requirements.txt deleted file mode 100644 index 3e3a96692..000000000 --- a/ansible_collections/dellemc/os10/tests/sanity/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -packaging # needed for update-bundled and changelog -sphinx ; python_version >= '3.5' # docs build requires python 3+ -sphinx-notfound-page ; python_version >= '3.5' # docs build requires python 3+ -straight.plugin ; python_version >= '3.5' # needed for hacking/build-ansible.py which will host changelog generation and requires python 3+ diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/__init__.py b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/__init__.py +++ /dev/null diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_config.cfg b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_config.cfg deleted file mode 100644 index 83e3e8911..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_config.cfg +++ /dev/null @@ -1,13 +0,0 @@ -! -hostname router -! -interface ethernet1/1/2 - ip address 1.2.3.4/24 - description test string -! -interface ethernet1/1/3 - ip address 6.7.8.9/24 - description test string - shutdown -! - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_src.cfg b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_src.cfg deleted file mode 100644 index 7303a0c47..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/os10_config_src.cfg +++ /dev/null @@ -1,12 +0,0 @@ -! -hostname foo -! -interface ethernet1/1/2 - no ip address -! -interface ethernet1/1/3 - ip address 6.7.8.9/24 - description test string - shutdown -! - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_interface__display-xml b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_interface__display-xml deleted file mode 100644 index bd13f0e65..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_interface__display-xml +++ /dev/null @@ -1,19467 +0,0 @@ -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/1</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/1</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/1</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305068</if-index> - <phys-address>14:18:77:09:ae:01</phys-address> - <speed>40000000000</speed> - <statistics> - <in-octets>884475</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>5429</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>6212880</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>88684</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>94113</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>7097355</ether-octets> - <ether-pkts>94113</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>88684</ether-tx-no-errors> - <ether-rx-no-errors>5429</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>4</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>5425</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>83258</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>5426</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>5429</in-pkts> - <out-pkts>88684</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:01</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>16272700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/1</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/2</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/2</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/2</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305094</if-index> - <phys-address>14:18:77:09:ae:05</phys-address> - <speed>40000000000</speed> - <statistics> - <in-octets>6220575</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>88787</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>892090</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>5523</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>94310</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>7112665</ether-octets> - <ether-pkts>94310</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>5523</ether-tx-no-errors> - <ether-rx-no-errors>88787</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>83350</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>5437</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>77</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>6</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>5440</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>88787</in-pkts> - <out-pkts>5523</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:05</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>16306900</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - <link-local-addr>fe80::1618:77ff:fe09:ae05/64</link-local-addr> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/2</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/3</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/3</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/3</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305120</if-index> - <phys-address>14:18:77:09:ae:09</phys-address> - <speed>40000000000</speed> - <statistics> - <in-octets>6396220</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>91295</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>911207</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>5593</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>96888</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>7307427</ether-octets> - <ether-pkts>96888</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>5593</ether-tx-no-errors> - <ether-rx-no-errors>91295</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>85705</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>5590</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>4</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>5589</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>91295</in-pkts> - <out-pkts>5593</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:09</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>16764600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/3</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/4</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/4</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/4</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305146</if-index> - <phys-address>14:18:77:09:ae:0d</phys-address> - <speed>40000000000</speed> - <statistics> - <in-octets>919800</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>5693</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>6410845</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>91497</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>97190</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>7330645</ether-octets> - <ether-pkts>97190</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>91497</ether-tx-no-errors> - <ether-rx-no-errors>5693</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>77</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>6</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>5610</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>85890</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>5607</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>5693</in-pkts> - <out-pkts>91497</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:0d</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>16818100</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/4</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/5</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/5</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/5</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305172</if-index> - <phys-address>14:18:77:09:ae:11</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:11</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>16913000</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/5</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/6</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/6</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/6</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305198</if-index> - <phys-address>14:18:77:09:ae:15</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:15</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>16950900</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/6</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/7</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/7</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/7</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305224</if-index> - <phys-address>14:18:77:09:ae:19</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:19</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>16995200</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/7</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/8</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/8</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/8</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305250</if-index> - <phys-address>14:18:77:09:ae:1d</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:1d</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17021600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/8</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/9</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/9</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/9</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305276</if-index> - <phys-address>14:18:77:09:ae:21</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:21</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17027900</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/9</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/10</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/10</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/10</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305302</if-index> - <phys-address>14:18:77:09:ae:25</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:25</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17039500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/10</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/11</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/11</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/11</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305328</if-index> - <phys-address>14:18:77:09:ae:29</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:29</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17048300</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/11</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/13</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/13</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <vrrp-ipv4> - <vrrp-instance> - <vrid>4</vrid> - <log-state-change>false</log-state-change> - <preempt> - <enable>false</enable> - <hold-time>0</hold-time> - </preempt> - <priority>120</priority> - <advertise-interval> - <advertise-interval-sec>1</advertise-interval-sec> - <advertise-interval-centi-sec>200</advertise-interval-centi-sec> - </advertise-interval> - <virtual-ip-address>4.1.1.1</virtual-ip-address> - <virtual-ip-address>4.1.1.2</virtual-ip-address> - <accept-mode>false</accept-mode> - <auth-type>no-authentication</auth-type> - <protocol>ip</protocol> - <track-list> - <track-id>3</track-id> - <priority-decrement>25</priority-decrement> - </track-list> - </vrrp-instance> - </vrrp-ipv4> - <vrrp-ipv6> - <vrrp-instance> - <vrid>2</vrid> - <log-state-change>false</log-state-change> - <preempt> - <enable>false</enable> - <hold-time>0</hold-time> - </preempt> - <priority>120</priority> - <advertise-interval> - <advertise-interval-sec>1</advertise-interval-sec> - <advertise-interval-centi-sec>200</advertise-interval-centi-sec> - </advertise-interval> - <virtual-ip-address>fe80::10</virtual-ip-address> - <virtual-ip-address>3001:4828:5808:ffa3::9</virtual-ip-address> - <accept-mode>false</accept-mode> - <auth-type>no-authentication</auth-type> - <protocol>ip</protocol> - <track-list> - <track-id>3</track-id> - <priority-decrement>25</priority-decrement> - </track-list> - </vrrp-instance> - </vrrp-ipv6> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/13</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305380</if-index> - <phys-address>14:18:77:09:ae:31</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:31</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17074100</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/13</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/16</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/16</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/16</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305458</if-index> - <phys-address>14:18:77:09:ae:34</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:34</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17087400</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/16</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/17</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/17</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/17</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305484</if-index> - <phys-address>14:18:77:09:ae:35</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:35</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17090400</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/17</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/18</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/18</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/18</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305510</if-index> - <phys-address>14:18:77:09:ae:39</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:39</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17116100</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/18</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/19</name> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/19</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2DISABLED</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/19</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305536</if-index> - <phys-address>14:18:77:09:ae:3d</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:3d</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17128600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/19</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/20</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/20</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/20</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305562</if-index> - <phys-address>14:18:77:09:ae:41</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:41</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17135100</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/20</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/21</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/21</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/21</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305588</if-index> - <phys-address>14:18:77:09:ae:45</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:45</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17145300</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/21</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/23</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/23</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/23</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305640</if-index> - <phys-address>14:18:77:09:ae:4d</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:4d</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17164100</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/23</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/24</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/24</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/24</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305666</if-index> - <phys-address>14:18:77:09:ae:51</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:51</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17164900</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/24</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/25</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/25</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/25</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305692</if-index> - <phys-address>14:18:77:09:ae:55</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:55</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17424700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/25</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/26</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/26</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/26</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305718</if-index> - <phys-address>14:18:77:09:ae:59</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:59</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17431600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/26</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/27</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/27</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/27</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305744</if-index> - <phys-address>14:18:77:09:ae:5d</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:5d</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17470200</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/27</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/28</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/28</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/28</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305770</if-index> - <phys-address>14:18:77:09:ae:61</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:61</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17477600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/28</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/30</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/30</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/30</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305822</if-index> - <phys-address>14:18:77:09:ae:66</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:66</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17491400</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/30</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/31</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/31</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/31</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305848</if-index> - <phys-address>14:18:77:09:ae:67</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:67</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17493000</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/31</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>ethernet1/1/32</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>ethernet1/1/32</name> - <type>ianaift:ethernetCsmacd</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <lldp-med-cfg> - <med-enable>true</med-enable> - <notif-enable>false</notif-enable> - </lldp-med-cfg> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>ethernet1/1/32</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305874</if-index> - <phys-address>14:18:77:09:ae:68</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - <dcbx-stats> - <ets-conf-tx-tlv-count>0</ets-conf-tx-tlv-count> - <ets-conf-rx-tlv-count>0</ets-conf-rx-tlv-count> - <ets-conf-rx-tlv-errors>0</ets-conf-rx-tlv-errors> - <ets-reco-tx-tlv-count>0</ets-reco-tx-tlv-count> - <ets-reco-rx-tlv-count>0</ets-reco-rx-tlv-count> - <ets-reco-rx-tlv-errors>0</ets-reco-rx-tlv-errors> - <pfc-tx-tlv-count>0</pfc-tx-tlv-count> - <pfc-rx-tlv-count>0</pfc-rx-tlv-count> - <pfc-rx-tlv-errors>0</pfc-rx-tlv-errors> - <app-prio-tx-tlv-count>0</app-prio-tx-tlv-count> - <app-prio-rx-tlv-count>0</app-prio-rx-tlv-count> - <app-prio-rx-tlv-errors>0</app-prio-rx-tlv-errors> - <dcbx-frames-tx-total>0</dcbx-frames-tx-total> - <dcbx-frames-rx-total>0</dcbx-frames-rx-total> - <dcbx-frames-error-total>0</dcbx-frames-error-total> - <dcbx-frames-unrecognized>0</dcbx-frames-unrecognized> - </dcbx-stats> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:68</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17498900</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <qos-if-params> - <flow-control-rx>false</flow-control-rx> - <flow-control-tx>false</flow-control-tx> - <pfc-mode>false</pfc-mode> - <ets-mode>false</ets-mode> - <unknown-unicast-rate-pps>0</unknown-unicast-rate-pps> - <weight-info> - <queue-id>0</queue-id> - <weight>1</weight> - </weight-info> - <weight-info> - <queue-id>1</queue-id> - <weight>2</weight> - </weight-info> - <weight-info> - <queue-id>2</queue-id> - <weight>3</weight> - </weight-info> - <weight-info> - <queue-id>3</queue-id> - <weight>4</weight> - </weight-info> - <weight-info> - <queue-id>4</queue-id> - <weight>5</weight> - </weight-info> - <weight-info> - <queue-id>5</queue-id> - <weight>10</weight> - </weight-info> - <weight-info> - <queue-id>6</queue-id> - <weight>25</weight> - </weight-info> - <weight-info> - <queue-id>7</queue-id> - <weight>50</weight> - </weight-info> - </qos-if-params> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>ethernet1/1/32</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr/> - <interfaces> - <interface> - <name>mgmt1/1/1</name> - <type>base-if:management</type> - <enabled>true</enabled> - <mtu>1500</mtu> - <mac-learn>HW</mac-learn> - <duplex>auto</duplex> - <speed>AUTO</speed> - <keepalive>true</keepalive> - <ipv4> - <address> - <primary-addr>10.16.148.144/16</primary-addr> - </address> - </ipv4> - <ipv6> - <autoconfig>true</autoconfig> - <intf-v6-enabled>true</intf-v6-enabled> - </ipv6> - <lldp> - <tx-enable>true</tx-enable> - <rx-enable>true</rx-enable> - </lldp> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>mgmt1/1/1</name> - <type>base-if:management</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>35454736</if-index> - <phys-address>00:a0:c9:00:00:00</phys-address> - <speed>1000000000</speed> - <statistics> - <in-octets>74473686</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>66</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>17129927</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>889900</in-pkts> - <out-pkts>52776</out-pkts> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-speed>10MBPS</supported-speed> - <supported-speed>100MBPS</supported-speed> - <supported-speed>1GIGE</supported-speed> - <supported-autoneg>NOT_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <bind-ni-name>default</bind-ni-name> - <current-phys-address>00:a0:c9:00:00:00</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17509300</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <ipv4-info> - <assignment-mode>manual-cfg</assignment-mode> - <addr>10.16.148.144/16</addr> - </ipv4-info> - <ipv6> - <enable-status>true</enable-status> - <link-local-addr>fe80::2a0:c9ff:fe00:0/64</link-local-addr> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>mgmt1/1/1</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr/> - <interfaces> - <interface> - <name>vlan1</name> - <type>ianaift:l2vlan</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <vlan-type>DATA</vlan-type> - <untagged-ports>ethernet1/1/1</untagged-ports> - <untagged-ports>ethernet1/1/3</untagged-ports> - <untagged-ports>ethernet1/1/4</untagged-ports> - <untagged-ports>ethernet1/1/5</untagged-ports> - <untagged-ports>ethernet1/1/6</untagged-ports> - <untagged-ports>ethernet1/1/7</untagged-ports> - <untagged-ports>ethernet1/1/9</untagged-ports> - <untagged-ports>ethernet1/1/10</untagged-ports> - <untagged-ports>ethernet1/1/11</untagged-ports> - <untagged-ports>ethernet1/1/20</untagged-ports> - <untagged-ports>ethernet1/1/21</untagged-ports> - <untagged-ports>ethernet1/1/22</untagged-ports> - <untagged-ports>ethernet1/1/23</untagged-ports> - <untagged-ports>ethernet1/1/24</untagged-ports> - <untagged-ports>ethernet1/1/25</untagged-ports> - <untagged-ports>ethernet1/1/26</untagged-ports> - <untagged-ports>ethernet1/1/27</untagged-ports> - <untagged-ports>ethernet1/1/28</untagged-ports> - <untagged-ports>ethernet1/1/29</untagged-ports> - <untagged-ports>ethernet1/1/30</untagged-ports> - <untagged-ports>ethernet1/1/31</untagged-ports> - <untagged-ports>ethernet1/1/32</untagged-ports> - <untagged-ports>port-channel12</untagged-ports> - <vlt-control>false</vlt-control> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>vlan1</name> - <type>ianaift:l2vlan</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>69208865</if-index> - <phys-address>14:18:77:09:af:01</phys-address> - <speed>10000000000</speed> - <statistics> - <in-octets>8587506</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>9015054</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-in-vlan-discards>0</if-in-vlan-discards> - <if-out-qlen>0</if-out-qlen> - <in-pkts>107065</in-pkts> - <out-pkts>107059</out-pkts> - </statistics> - <current-phys-address>14:18:77:09:af:01</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>17517200</last-counter-clear> - <mtu>1532</mtu> - <vlan-type>DATA</vlan-type> - <untagged-ports>ethernet1/1/1</untagged-ports> - <untagged-ports>ethernet1/1/3</untagged-ports> - <untagged-ports>ethernet1/1/4</untagged-ports> - <untagged-ports>ethernet1/1/5</untagged-ports> - <untagged-ports>ethernet1/1/6</untagged-ports> - <untagged-ports>ethernet1/1/7</untagged-ports> - <untagged-ports>ethernet1/1/9</untagged-ports> - <untagged-ports>ethernet1/1/10</untagged-ports> - <untagged-ports>ethernet1/1/11</untagged-ports> - <untagged-ports>ethernet1/1/20</untagged-ports> - <untagged-ports>ethernet1/1/21</untagged-ports> - <untagged-ports>ethernet1/1/22</untagged-ports> - <untagged-ports>ethernet1/1/23</untagged-ports> - <untagged-ports>ethernet1/1/24</untagged-ports> - <untagged-ports>ethernet1/1/25</untagged-ports> - <untagged-ports>ethernet1/1/26</untagged-ports> - <untagged-ports>ethernet1/1/27</untagged-ports> - <untagged-ports>ethernet1/1/28</untagged-ports> - <untagged-ports>ethernet1/1/29</untagged-ports> - <untagged-ports>ethernet1/1/30</untagged-ports> - <untagged-ports>ethernet1/1/31</untagged-ports> - <untagged-ports>ethernet1/1/32</untagged-ports> - <untagged-ports>port-channel12</untagged-ports> - <vlt-control>false</vlt-control> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - <link-local-addr>fe80::1618:77ff:fe09:af01/64</link-local-addr> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>vlan1</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr/> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>vlan4094</name> - <type>ianaift:l2vlan</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>69212958</if-index> - <phys-address>14:18:77:09:af:01</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-in-vlan-discards>0</if-in-vlan-discards> - <if-out-qlen>0</if-out-qlen> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - </statistics> - <current-phys-address>14:18:77:09:af:01</current-phys-address> - <last-change-time>3992</last-change-time> - <last-counter-clear>17135400</last-counter-clear> - <mtu>1532</mtu> - <vlan-type>INTERNAL</vlan-type> - <vlt-control>true</vlt-control> - <ipv4-info/> - <ipv6> - <enable-status>true</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>vlan4094</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr> - <interface-in-running> - <name>port-channel12</name> - <untagged-vlan>vlan1</untagged-vlan> - </interface-in-running> - </cms-interface-backptr> - <interfaces> - <interface> - <name>port-channel12</name> - <type>ianaift:ieee8023adLag</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - <mode>MODE_L2</mode> - <load-interval>299</load-interval> - <min-links>1</min-links> - <lag-mode>STATIC</lag-mode> - <vlti-lag>false</vlti-lag> - <vlt> - <vlt-id>13</vlt-id> - </vlt> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>port-channel12</name> - <type>ianaift:ieee8023adLag</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>85886092</if-index> - <phys-address>14:18:77:09:ae:8d</phys-address> - <speed>0</speed> - <statistics> - <in-octets>0</in-octets> - <in-unicast-pkts>0</in-unicast-pkts> - <in-broadcast-pkts>0</in-broadcast-pkts> - <in-multicast-pkts>0</in-multicast-pkts> - <in-discards>0</in-discards> - <in-errors>0</in-errors> - <in-unknown-protos>0</in-unknown-protos> - <out-octets>0</out-octets> - <out-unicast-pkts>0</out-unicast-pkts> - <out-broadcast-pkts>0</out-broadcast-pkts> - <out-multicast-pkts>0</out-multicast-pkts> - <out-discards>0</out-discards> - <out-errors>0</out-errors> - <if-out-qlen>0</if-out-qlen> - <ether-drop-events>0</ether-drop-events> - <ether-multicast-pkts>0</ether-multicast-pkts> - <ether-broadcast-pkts>0</ether-broadcast-pkts> - <ether-undersize-pkts>0</ether-undersize-pkts> - <ether-fragments>0</ether-fragments> - <ether-oversize-pkts>0</ether-oversize-pkts> - <ether-rx-oversize-pkts>0</ether-rx-oversize-pkts> - <ether-tx-oversize-pkts>0</ether-tx-oversize-pkts> - <ether-jabbers>0</ether-jabbers> - <ether-octets>0</ether-octets> - <ether-pkts>0</ether-pkts> - <ether-collisions>0</ether-collisions> - <ether-crc-align-errors>0</ether-crc-align-errors> - <ether-tx-no-errors>0</ether-tx-no-errors> - <ether-rx-no-errors>0</ether-rx-no-errors> - <green-discard-dropped-packets>0</green-discard-dropped-packets> - <green-discard-dropped-bytes>0</green-discard-dropped-bytes> - <yellow-discard-dropped-packets>0</yellow-discard-dropped-packets> - <yellow-discard-dropped-bytes>0</yellow-discard-dropped-bytes> - <red-discard-dropped-packets>0</red-discard-dropped-packets> - <red-discard-dropped-bytes>0</red-discard-dropped-bytes> - <discard-dropped-packets>0</discard-dropped-packets> - <discard-dropped-bytes>0</discard-dropped-bytes> - <ether-in-pkts-64-octets>0</ether-in-pkts-64-octets> - <ether-in-pkts-65-to-127-octets>0</ether-in-pkts-65-to-127-octets> - <ether-in-pkts-128-to-255-octets>0</ether-in-pkts-128-to-255-octets> - <ether-in-pkts-256-to-511-octets>0</ether-in-pkts-256-to-511-octets> - <ether-in-pkts-512-to-1023-octets>0</ether-in-pkts-512-to-1023-octets> - <ether-in-pkts-1024-to-1518-octets>0</ether-in-pkts-1024-to-1518-octets> - <ether-in-pkts-1519-to-2047-octets>0</ether-in-pkts-1519-to-2047-octets> - <ether-in-pkts-2048-to-4095-octets>0</ether-in-pkts-2048-to-4095-octets> - <ether-in-pkts-4096-to-9216-octets>0</ether-in-pkts-4096-to-9216-octets> - <ether-in-pkts-9217-to-16383-octets>0</ether-in-pkts-9217-to-16383-octets> - <ether-out-pkts-64-octets>0</ether-out-pkts-64-octets> - <ether-out-pkts-65-to-127-octets>0</ether-out-pkts-65-to-127-octets> - <ether-out-pkts-128-to-255-octets>0</ether-out-pkts-128-to-255-octets> - <ether-out-pkts-256-to-511-octets>0</ether-out-pkts-256-to-511-octets> - <ether-out-pkts-512-to-1023-octets>0</ether-out-pkts-512-to-1023-octets> - <ether-out-pkts-1024-to-1518-octets>0</ether-out-pkts-1024-to-1518-octets> - <ether-out-pkts-1519-to-2047-octets>0</ether-out-pkts-1519-to-2047-octets> - <ether-out-pkts-2048-to-4095-octets>0</ether-out-pkts-2048-to-4095-octets> - <ether-out-pkts-4096-to-9216-octets>0</ether-out-pkts-4096-to-9216-octets> - <ether-out-pkts-9217-to-16383-octets>0</ether-out-pkts-9217-to-16383-octets> - <pause-rx-pkts>0</pause-rx-pkts> - <pause-tx-pkts>0</pause-tx-pkts> - <in-pkts>0</in-pkts> - <out-pkts>0</out-pkts> - <utilization-percentage>0</utilization-percentage> - <in-bit-rate>0</in-bit-rate> - <in-pkt-rate>0</in-pkt-rate> - <in-line-rate>0</in-line-rate> - <out-bit-rate>0</out-bit-rate> - <out-pkt-rate>0</out-pkt-rate> - <out-line-rate>0</out-line-rate> - <link-bundle-monitoring-alarm>false</link-bundle-monitoring-alarm> - <lacp-statistics> - <lacpdus-rx>0</lacpdus-rx> - <lacpdus-tx>0</lacpdus-tx> - <unknown-rx>0</unknown-rx> - <illegal-rx>0</illegal-rx> - <marker-pdus-tx>0</marker-pdus-tx> - <marker-response-pdus-tx>0</marker-response-pdus-tx> - <marker-pdus-rx>0</marker-pdus-rx> - <marker-response-pdus-rx>0</marker-response-pdus-rx> - </lacp-statistics> - </statistics> - <auto-negotiation>false</auto-negotiation> - <supported-autoneg>NOT_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <current-phys-address>14:18:77:09:ae:8d</current-phys-address> - <last-change-time>3750</last-change-time> - <last-counter-clear>17160800</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <min-links>1</min-links> - <lag-mode>STATIC</lag-mode> - <num-ports-up>0</num-ports-up> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>port-channel12</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <cms-interface-backptr/> - <interfaces> - <interface> - <name>null0</name> - <type>base-if:null</type> - <enabled>true</enabled> - <mtu>1532</mtu> - <mac-learn>HW</mac-learn> - </interface> - </interfaces> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data> - <interface> - <name>null0</name> - <type>base-if:null</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>119690512</if-index> - <last-change-time>39</last-change-time> - <last-counter-clear>17549600</last-counter-clear> - <ipv4-info/> - <ipv6> - <enable-status>false</enable-status> - </ipv6> - <fc-intf-params> - <port-type>Disabled</port-type> - <pwwn>00:00:00:00:00:00:00:00</pwwn> - <fc-id>00:00:00</fc-id> - <bb-credit>0</bb-credit> - </fc-intf-params> - </interface> - </data> - <last-keys> - <name>null0</name> - </last-keys> - </bulk> -</rpc-reply> -<?xml version="1.0"?> -<rpc-reply> - <data> - <ip-config> - <ipv4> - <arp> - <timeout>60</timeout> - </arp> - </ipv4> - </ip-config> - <ports> - <ports-state> - <port> - <name>phy-eth1/1/1</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/2</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/3</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>131137546</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/4</name> - <base-ID-fields> - <media-laser-wavelength>38</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-category>QSFP-PLUS</media-category> - <media-type>AR_QSFP_40GBASE_CR4_1M</media-type> - <present>true</present> - </port> - <port> - <name>phy-eth1/1/5</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/6</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/7</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/8</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/9</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/10</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/11</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/12</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/13</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/14</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/15</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/16</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/17</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/18</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/19</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/20</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/21</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/22</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/23</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/24</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/25</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/26</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3758089944</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/27</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3840747224</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/28</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/29</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/30</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3857532632</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/31</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3865925336</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - <port> - <name>phy-eth1/1/32</name> - <base-ID-fields> - <media-laser-wavelength>0</media-laser-wavelength> - </base-ID-fields> - <channel> - <sub-port>3849139928</sub-port> - <rx-power>0.0</rx-power> - </channel> - <media-type>AR_POPTICS_NOTPRESENT</media-type> - <present>false</present> - </port> - </ports-state> - </ports> - <system-state> - <system-status> - <uptime>162762</uptime> - </system-status> - </system-state> - </data> - <bulk> - <data/> - </bulk> -</rpc-reply> - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_lldp_neighbors__display-xml b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_lldp_neighbors__display-xml deleted file mode 100644 index de3ad4ed7..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_lldp_neighbors__display-xml +++ /dev/null @@ -1,855 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rpc-reply> - <bulk> - <data> - <interface> - <name>ethernet1/1/1</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305068</if-index> - <phys-address>14:18:77:09:ae:01</phys-address> - <speed>40000000000</speed> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:01</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>17570800</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info> - <info> - <rem-lldp-time-mark>330300</rem-lldp-time-mark> - <rem-lldp-index>4</rem-lldp-index> - <dest-mac-addr-index>1</dest-mac-addr-index> - <rem-if-index>17305068</rem-if-index> - <rem-local-port-num>260</rem-local-port-num> - <rem-lldp-chassis-id>FBh3Ca4A -</rem-lldp-chassis-id> - <rem-lldp-port-id>ZXRoZXJuZXQxLzEvMw== -</rem-lldp-port-id> - <rem-lldp-chassis-id-subtype>mac-address</rem-lldp-chassis-id-subtype> - <rem-lldp-port-subtype>interface-alias</rem-lldp-port-subtype> - <rem-ttl>120</rem-ttl> - <rem-last-update-time>172395</rem-last-update-time> - <rem-info-valid-time>107</rem-info-valid-time> - <rem-system-desc>OS10</rem-system-desc> - <rem-port-desc>ethernet1/1/3</rem-port-desc> - <rem-system-name>os10</rem-system-name> - <rem-port-vlan-id>1</rem-port-vlan-id> - <rem-max-frame-size>1532</rem-max-frame-size> - <rem-agg-link-status>false</rem-agg-link-status> - <rem-sys-cap-supported>router bridge repeater</rem-sys-cap-supported> - <rem-sys-cap-enabled>router bridge repeater</rem-sys-cap-enabled> - <rem-remote-changes>true</rem-remote-changes> - <rem-too-many-neighbors>false</rem-too-many-neighbors> - <rem-dot3-auto-neg-supported>true</rem-dot3-auto-neg-supported> - <rem-dot3-auto-neg-enabled>true</rem-dot3-auto-neg-enabled> - <rem-dot3-auto-neg-adv-cap>b-1000base-t</rem-dot3-auto-neg-adv-cap> - </info> - </lldp-rem-neighbor-info> - </interface> - <interface> - <name>ethernet1/1/2</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305094</if-index> - <phys-address>14:18:77:09:ae:05</phys-address> - <speed>40000000000</speed> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:05</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info> - <info> - <rem-lldp-time-mark>330300</rem-lldp-time-mark> - <rem-lldp-index>5</rem-lldp-index> - <dest-mac-addr-index>1</dest-mac-addr-index> - <rem-if-index>17305094</rem-if-index> - <rem-local-port-num>264</rem-local-port-num> - <rem-lldp-chassis-id>FBh3Ca4A -</rem-lldp-chassis-id> - <rem-lldp-port-id>ZXRoZXJuZXQxLzEvNA== -</rem-lldp-port-id> - <rem-lldp-chassis-id-subtype>mac-address</rem-lldp-chassis-id-subtype> - <rem-lldp-port-subtype>interface-alias</rem-lldp-port-subtype> - <rem-ttl>120</rem-ttl> - <rem-last-update-time>172395</rem-last-update-time> - <rem-info-valid-time>107</rem-info-valid-time> - <rem-system-desc>OS10</rem-system-desc> - <rem-port-desc>ethernet1/1/4</rem-port-desc> - <rem-system-name>os10</rem-system-name> - <rem-port-vlan-id>1</rem-port-vlan-id> - <rem-max-frame-size>1532</rem-max-frame-size> - <rem-agg-link-status>false</rem-agg-link-status> - <rem-sys-cap-supported>router bridge repeater</rem-sys-cap-supported> - <rem-sys-cap-enabled>router bridge repeater</rem-sys-cap-enabled> - <rem-remote-changes>true</rem-remote-changes> - <rem-too-many-neighbors>false</rem-too-many-neighbors> - <rem-dot3-auto-neg-supported>true</rem-dot3-auto-neg-supported> - <rem-dot3-auto-neg-enabled>true</rem-dot3-auto-neg-enabled> - <rem-dot3-auto-neg-adv-cap>b-1000base-t</rem-dot3-auto-neg-adv-cap> - </info> - </lldp-rem-neighbor-info> - </interface> - <interface> - <name>ethernet1/1/3</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305120</if-index> - <phys-address>14:18:77:09:ae:09</phys-address> - <speed>40000000000</speed> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:09</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info> - <info> - <rem-lldp-time-mark>330300</rem-lldp-time-mark> - <rem-lldp-index>2</rem-lldp-index> - <dest-mac-addr-index>1</dest-mac-addr-index> - <rem-if-index>17305120</rem-if-index> - <rem-local-port-num>268</rem-local-port-num> - <rem-lldp-chassis-id>FBh3Ca4A -</rem-lldp-chassis-id> - <rem-lldp-port-id>ZXRoZXJuZXQxLzEvMQ== -</rem-lldp-port-id> - <rem-lldp-chassis-id-subtype>mac-address</rem-lldp-chassis-id-subtype> - <rem-lldp-port-subtype>interface-alias</rem-lldp-port-subtype> - <rem-ttl>120</rem-ttl> - <rem-last-update-time>172395</rem-last-update-time> - <rem-info-valid-time>107</rem-info-valid-time> - <rem-system-desc>OS10</rem-system-desc> - <rem-port-desc>ethernet1/1/1</rem-port-desc> - <rem-system-name>os10</rem-system-name> - <rem-port-vlan-id>1</rem-port-vlan-id> - <rem-max-frame-size>1532</rem-max-frame-size> - <rem-agg-link-status>false</rem-agg-link-status> - <rem-sys-cap-supported>router bridge repeater</rem-sys-cap-supported> - <rem-sys-cap-enabled>router bridge repeater</rem-sys-cap-enabled> - <rem-remote-changes>true</rem-remote-changes> - <rem-too-many-neighbors>false</rem-too-many-neighbors> - <rem-dot3-auto-neg-supported>true</rem-dot3-auto-neg-supported> - <rem-dot3-auto-neg-enabled>true</rem-dot3-auto-neg-enabled> - <rem-dot3-auto-neg-adv-cap>b-1000base-t</rem-dot3-auto-neg-adv-cap> - </info> - </lldp-rem-neighbor-info> - </interface> - <interface> - <name>ethernet1/1/4</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>17305146</if-index> - <phys-address>14:18:77:09:ae:0d</phys-address> - <speed>40000000000</speed> - <auto-negotiation>true</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:0d</current-phys-address> - <last-change-time>44</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info> - <info> - <rem-lldp-time-mark>330300</rem-lldp-time-mark> - <rem-lldp-index>3</rem-lldp-index> - <dest-mac-addr-index>1</dest-mac-addr-index> - <rem-if-index>17305146</rem-if-index> - <rem-local-port-num>272</rem-local-port-num> - <rem-lldp-chassis-id>FBh3Ca4A -</rem-lldp-chassis-id> - <rem-lldp-port-id>ZXRoZXJuZXQxLzEvMg== -</rem-lldp-port-id> - <rem-lldp-chassis-id-subtype>mac-address</rem-lldp-chassis-id-subtype> - <rem-lldp-port-subtype>interface-alias</rem-lldp-port-subtype> - <rem-ttl>120</rem-ttl> - <rem-last-update-time>172395</rem-last-update-time> - <rem-info-valid-time>107</rem-info-valid-time> - <rem-system-desc>OS10</rem-system-desc> - <rem-port-desc>ethernet1/1/2</rem-port-desc> - <rem-system-name>os10</rem-system-name> - <rem-port-vlan-id>1</rem-port-vlan-id> - <rem-max-frame-size>1532</rem-max-frame-size> - <rem-agg-link-status>false</rem-agg-link-status> - <rem-sys-cap-supported>router bridge repeater</rem-sys-cap-supported> - <rem-sys-cap-enabled>router bridge repeater</rem-sys-cap-enabled> - <rem-remote-changes>true</rem-remote-changes> - <rem-too-many-neighbors>false</rem-too-many-neighbors> - <rem-dot3-auto-neg-supported>true</rem-dot3-auto-neg-supported> - <rem-dot3-auto-neg-enabled>true</rem-dot3-auto-neg-enabled> - <rem-dot3-auto-neg-adv-cap>b-1000base-t</rem-dot3-auto-neg-adv-cap> - </info> - </lldp-rem-neighbor-info> - </interface> - <interface> - <name>ethernet1/1/5</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305172</if-index> - <phys-address>14:18:77:09:ae:11</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:11</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/6</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305198</if-index> - <phys-address>14:18:77:09:ae:15</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:15</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/7</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305224</if-index> - <phys-address>14:18:77:09:ae:19</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:19</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/8</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305250</if-index> - <phys-address>14:18:77:09:ae:1d</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:1d</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/9</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305276</if-index> - <phys-address>14:18:77:09:ae:21</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:21</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/10</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305302</if-index> - <phys-address>14:18:77:09:ae:25</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:25</current-phys-address> - <last-change-time>36</last-change-time> - <last-counter-clear>17570700</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/11</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305328</if-index> - <phys-address>14:18:77:09:ae:29</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:29</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/12</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305354</if-index> - <phys-address>14:18:77:09:ae:2d</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:2d</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/13</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305380</if-index> - <phys-address>14:18:77:09:ae:31</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:31</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/14</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305406</if-index> - <phys-address>14:18:77:09:ae:32</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:32</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/15</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305432</if-index> - <phys-address>14:18:77:09:ae:33</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:33</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/16</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305458</if-index> - <phys-address>14:18:77:09:ae:34</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:34</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/17</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305484</if-index> - <phys-address>14:18:77:09:ae:35</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:35</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/18</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305510</if-index> - <phys-address>14:18:77:09:ae:39</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:39</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/19</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305536</if-index> - <phys-address>14:18:77:09:ae:3d</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:3d</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/20</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305562</if-index> - <phys-address>14:18:77:09:ae:41</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:41</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/21</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305588</if-index> - <phys-address>14:18:77:09:ae:45</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:45</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/22</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305614</if-index> - <phys-address>14:18:77:09:ae:49</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:49</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570600</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/23</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305640</if-index> - <phys-address>14:18:77:09:ae:4d</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:4d</current-phys-address> - <last-change-time>37</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/24</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305666</if-index> - <phys-address>14:18:77:09:ae:51</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:51</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/25</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305692</if-index> - <phys-address>14:18:77:09:ae:55</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:55</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/26</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305718</if-index> - <phys-address>14:18:77:09:ae:59</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:59</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/27</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305744</if-index> - <phys-address>14:18:77:09:ae:5d</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:5d</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/28</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305770</if-index> - <phys-address>14:18:77:09:ae:61</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:61</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/29</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305796</if-index> - <phys-address>14:18:77:09:ae:65</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:65</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/30</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305822</if-index> - <phys-address>14:18:77:09:ae:66</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:66</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/31</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305848</if-index> - <phys-address>14:18:77:09:ae:67</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:67</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>ethernet1/1/32</name> - <type>ianaift:ethernetCsmacd</type> - <admin-status>up</admin-status> - <oper-status>down</oper-status> - <if-index>17305874</if-index> - <phys-address>14:18:77:09:ae:68</phys-address> - <speed>0</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>40GIGE</supported-speed> - <supported-autoneg>BOTH_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <npu-speed>0MBPS</npu-speed> - <current-phys-address>14:18:77:09:ae:68</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570500</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <eee-state>n/a</eee-state> - <lldp-rem-neighbor-info/> - </interface> - <interface> - <name>mgmt1/1/1</name> - <type>base-if:management</type> - <admin-status>up</admin-status> - <oper-status>up</oper-status> - <if-index>35454736</if-index> - <phys-address>00:a0:c9:00:00:00</phys-address> - <speed>1000000000</speed> - <auto-negotiation>false</auto-negotiation> - <supported-speed>10MBPS</supported-speed> - <supported-speed>100MBPS</supported-speed> - <supported-speed>1GIGE</supported-speed> - <supported-autoneg>NOT_SUPPORTED</supported-autoneg> - <fec>not-supported</fec> - <bind-ni-name>default</bind-ni-name> - <current-phys-address>00:a0:c9:00:00:00</current-phys-address> - <last-change-time>38</last-change-time> - <last-counter-clear>17570400</last-counter-clear> - <load-interval>30</load-interval> - <mtu>1532</mtu> - <lldp-rem-neighbor-info> - <info> - <rem-lldp-time-mark>3100</rem-lldp-time-mark> - <rem-lldp-index>1</rem-lldp-index> - <dest-mac-addr-index>1</dest-mac-addr-index> - <rem-if-index>35454736</rem-if-index> - <rem-local-port-num>4</rem-local-port-num> - <rem-lldp-chassis-id>kLEc9C9t -</rem-lldp-chassis-id> - <rem-lldp-port-id>VGVuR2lnYWJpdEV0aGVybmV0IDAvMA== -</rem-lldp-port-id> - <rem-lldp-chassis-id-subtype>mac-address</rem-lldp-chassis-id-subtype> - <rem-lldp-port-subtype>interface-name</rem-lldp-port-subtype> - <rem-ttl>20</rem-ttl> - <rem-last-update-time>175667</rem-last-update-time> - <rem-info-valid-time>15</rem-info-valid-time> - <rem-system-desc>Dell Real Time Operating System Software. Dell Operating System Version: 2.0. Dell Application Software Version: 9.11(2.0) Copyright (c) 1999-2017Dell Inc. All Rights Reserved.Build Time: Tue Apr 25 21:22:59 2017</rem-system-desc> - <rem-port-desc>TenGigabitEthernet 0/0</rem-port-desc> - <rem-system-name>swlab1-maa-tor-A2</rem-system-name> - <rem-port-vlan-id>148</rem-port-vlan-id> - <rem-max-frame-size>0</rem-max-frame-size> - <rem-agg-link-status>false</rem-agg-link-status> - <rem-sys-cap-supported>router bridge repeater</rem-sys-cap-supported> - <rem-sys-cap-enabled>router bridge repeater</rem-sys-cap-enabled> - <rem-remote-changes>false</rem-remote-changes> - <rem-too-many-neighbors>false</rem-too-many-neighbors> - <rem-dot3-auto-neg-supported>false</rem-dot3-auto-neg-supported> - <rem-dot3-auto-neg-enabled>false</rem-dot3-auto-neg-enabled> - <rem-dot3-auto-neg-adv-cap/> - </info> - </lldp-rem-neighbor-info> - </interface> - </data> - <last-keys> - <name>mgmt1/1/1</name> - </last-keys> - </bulk> -</rpc-reply> - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_processes_node-id_1__grep_Mem_colon_ b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_processes_node-id_1__grep_Mem_colon_ deleted file mode 100644 index 78903b697..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_processes_node-id_1__grep_Mem_colon_ +++ /dev/null @@ -1 +0,0 @@ -KiB Mem: 8127144 total, 2297272 used, 5829872 free, 137360 buffers diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_running-config b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_running-config deleted file mode 100644 index ff7ff2794..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_running-config +++ /dev/null @@ -1,252 +0,0 @@ -! Version 10.4.0E(R1) -! Last configuration change at Jan 11 12:26:08 2018 -! -snmp-server contact http://www.dell.com/support -snmp-server host 192.0.2.1 traps version 1 c4 udp-port 5 -snmp-server host 192.0.2.1 traps version 2c c1 udp-port 4 -snmp-server host 192.0.2.2 traps version 1 c3 udp-port 162 -ip community-list expanded commex deny aaa -ip community-list standard commstd deny internet -ip community-list standard commstd permit no-advertise -ip as-path access-list accesslist deny abc -ip as-path access-list accesslist deny www -ip extcommunity-list expanded extcommex deny aaa -ip extcommunity-list standard extcommstd deny rt 22:33 -ip extcommunity-list standard extcommstd permit soo 22:33 -hostname os10 -interface breakout 1/1/1 map 40g-1x -interface breakout 1/1/2 map 40g-1x -interface breakout 1/1/3 map 40g-1x -interface breakout 1/1/4 map 40g-1x -interface breakout 1/1/5 map 40g-1x -interface breakout 1/1/6 map 40g-1x -interface breakout 1/1/7 map 40g-1x -interface breakout 1/1/8 map 40g-1x -interface breakout 1/1/9 map 40g-1x -interface breakout 1/1/10 map 40g-1x -interface breakout 1/1/11 map 40g-1x -interface breakout 1/1/12 map 40g-1x -interface breakout 1/1/13 map 40g-1x -interface breakout 1/1/14 map 40g-1x -interface breakout 1/1/15 map 40g-1x -interface breakout 1/1/16 map 40g-1x -interface breakout 1/1/17 map 40g-1x -interface breakout 1/1/18 map 40g-1x -interface breakout 1/1/19 map 40g-1x -interface breakout 1/1/20 map 40g-1x -interface breakout 1/1/21 map 40g-1x -interface breakout 1/1/22 map 40g-1x -interface breakout 1/1/23 map 40g-1x -interface breakout 1/1/24 map 40g-1x -interface breakout 1/1/25 map 40g-1x -interface breakout 1/1/26 map 40g-1x -interface breakout 1/1/27 map 40g-1x -interface breakout 1/1/28 map 40g-1x -interface breakout 1/1/29 map 40g-1x -interface breakout 1/1/30 map 40g-1x -interface breakout 1/1/31 map 40g-1x -interface breakout 1/1/32 map 40g-1x -username admin password $6$q9QBeYjZ$jfxzVqGhkxX3smxJSH9DDz7/3OJc6m5wjF8nnLD7/VKx8SloIhp4NoGZs0I/UNwh8WVuxwfd9q4pWIgNs5BKH. role sysadmin -aaa authentication local -iscsi target port 860 -iscsi target port 3260 -hash-algorithm ecmp xor -logging console disable -vrrp delay reload 5 -vrrp version 3 -spanning-tree mode rstp -! -interface vlan1 - no shutdown -! -interface vlan100 - no shutdown -! -interface port-channel12 - no shutdown - switchport access vlan 1 - vlt-port-channel 13 -! -interface ethernet1/1/1 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/2 - no shutdown - no switchport -! -interface ethernet1/1/3 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/4 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/5 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/6 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/7 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/8 - no shutdown - no switchport -! -interface ethernet1/1/9 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/10 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/11 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/12 - no shutdown - no switchport -! -interface ethernet1/1/13 - no shutdown - no switchport - ! - vrrp-group 4 - priority 120 - track 3 priority-cost 25 - virtual-address 4.1.1.1 - virtual-address 4.1.1.2 - advertise-interval centisecs 200 - no preempt - ! - vrrp-ipv6-group 2 - priority 120 - track 3 priority-cost 25 - virtual-address 3001:4828:5808:ffa3::9 - virtual-address fe80::10 - advertise-interval centisecs 200 - no preempt -! -interface ethernet1/1/14 - no shutdown - no switchport -! -interface ethernet1/1/15 - no shutdown - no switchport -! -interface ethernet1/1/16 - no shutdown - no switchport -! -interface ethernet1/1/17 - no shutdown - no switchport -! -interface ethernet1/1/18 - no shutdown - no switchport -! -interface ethernet1/1/19 - no shutdown - no switchport -! -interface ethernet1/1/20 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/21 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/22 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/23 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/24 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/25 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/26 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/27 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/28 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/29 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/30 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/31 - no shutdown - switchport access vlan 1 -! -interface ethernet1/1/32 - no shutdown - switchport access vlan 1 -! -interface mgmt1/1/1 - no shutdown - ip address 10.16.148.144/16 - ipv6 address autoconfig -! -route-map test permit 1 - match ip address prefix-list testprefix - match ip address testaccess - continue 20 - set comm-list commstd delete - set comm-list commex add - set community internet - set extcommunity rt 22:33 - set extcomm-list extcommstd delete - set extcomm-list extcommex add - set ip next-hop 10.1.1.1 track-id 3 - set local-preference 1200 - set metric + 30 - set metric-type internal - set origin igp - set weight 50 -! -route-map test deny 10 - match ip address prefix-list testprefix - match ip address testaccess - set ip next-hop 10.1.1.1 track-id 3 -! -support-assist -! -policy-map type application policy-iscsi -! -class-map type application class-iscsi -! -class-map type qos class-trust -! -vlt-domain 1 - discovery-interface ethernet1/1/12 - vlt-mac aa:aa:aa:aa:aa:aa - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_system__display-xml b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_system__display-xml deleted file mode 100644 index bb496cc93..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_system__display-xml +++ /dev/null @@ -1,194 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rpc-reply> - <data> - <system> - <node> - <node-id>1</node-id> - <node-mac>14:18:77:09:ae:00</node-mac> - <number-of-mac-addresses>384</number-of-mac-addresses> - <mfg-info> - <vendor-name>DELL</vendor-name> - <product-name>S6010-ON</product-name> - <hw-version>X01</hw-version> - <platform-name>x86_64-dell_s6010_c2538-r0</platform-name> - <ppid>0088</ppid> - <service-tag/> - <service-code/> - </mfg-info> - <unit> - <unit-id>1</unit-id> - <current-unit-model>S6010</current-unit-model> - <provisioned-unit-model>S6010</provisioned-unit-model> - <unit-state>up</unit-state> - <software-version>10.4.0E(R1)</software-version> - <port-info>32x40GbE</port-info> - <mfg-info> - <vendor-name>DELL</vendor-name> - <product-name>S6010-ON</product-name> - <hw-version>X01</hw-version> - <platform-name>x86_64-dell_s6010_c2538-r0</platform-name> - <ppid>0088</ppid> - <part-number>083R0P</part-number> - <service-tag/> - <service-code/> - </mfg-info> - <down-reason>user-triggered</down-reason> - <descr>S6010-ON 32x40GbE QSFP+ Interface Module</descr> - <beacon_led_state>false</beacon_led_state> - <system-identifier-id>1</system-identifier-id> - <firmware> - <firmware-name>BIOS</firmware-name> - <firmware-version>3.26.0.1</firmware-version> - </firmware> - <firmware> - <firmware-name>System CPLD</firmware-name> - <firmware-version>10</firmware-version> - </firmware> - <firmware> - <firmware-name>Master CPLD</firmware-name> - <firmware-version>9</firmware-version> - </firmware> - <firmware> - <firmware-name>Slave CPLD</firmware-name> - <firmware-version>4</firmware-version> - </firmware> - </unit> - <power-supply> - <psu-id>1</psu-id> - <status>fail</status> - <mfg-info/> - </power-supply> - <power-supply> - <psu-id>2</psu-id> - <status>up</status> - <power-type>UNKNOWN</power-type> - <fan-info> - <fan-id>1</fan-id> - <fan-status>fail</fan-status> - <fan-speed-rpm>1920</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version/> - <platform-name/> - <ppid/> - <part-number/> - <service-tag/> - <service-code/> - </mfg-info> - </power-supply> - <fan-tray> - <fan-tray-id>1</fan-tray-id> - <status>up</status> - <fan-info> - <fan-id>1</fan-id> - <fan-status>up</fan-status> - <fan-speed-rpm>22090</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version>F01</hw-version> - <platform-name/> - <ppid>CN123456FAN100589021</ppid> - <part-number>P1FAN1</part-number> - <service-tag/> - <service-code/> - </mfg-info> - </fan-tray> - <fan-tray> - <fan-tray-id>2</fan-tray-id> - <status>up</status> - <fan-info> - <fan-id>1</fan-id> - <fan-status>up</fan-status> - <fan-speed-rpm>22215</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version>F02</hw-version> - <platform-name/> - <ppid>CN123456FAN200589031</ppid> - <part-number>P2FAN2</part-number> - <service-tag/> - <service-code/> - </mfg-info> - </fan-tray> - <fan-tray> - <fan-tray-id>3</fan-tray-id> - <status>up</status> - <fan-info> - <fan-id>1</fan-id> - <fan-status>up</fan-status> - <fan-speed-rpm>22215</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version>F03</hw-version> - <platform-name/> - <ppid>CN123456FAN300589041</ppid> - <part-number>P3FAN3</part-number> - <service-tag/> - <service-code/> - </mfg-info> - </fan-tray> - <fan-tray> - <fan-tray-id>4</fan-tray-id> - <status>up</status> - <fan-info> - <fan-id>1</fan-id> - <fan-status>up</fan-status> - <fan-speed-rpm>22215</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version>F04</hw-version> - <platform-name/> - <ppid>CN123456FAN400589051</ppid> - <part-number>P4FAN4</part-number> - <service-tag/> - <service-code/> - </mfg-info> - </fan-tray> - <fan-tray> - <fan-tray-id>5</fan-tray-id> - <status>up</status> - <fan-info> - <fan-id>1</fan-id> - <fan-status>up</fan-status> - <fan-speed-rpm>21724</fan-speed-rpm> - </fan-info> - <air-flow>NORMAL</air-flow> - <mfg-info> - <vendor-name/> - <product-name/> - <hw-version>F05</hw-version> - <platform-name/> - <ppid>CN123456FAN500589061</ppid> - <part-number>P5FAN5</part-number> - <service-tag/> - <service-code/> - </mfg-info> - </fan-tray> - </node> - </system> - <system-state> - <system-status> - <hostname>os10</hostname> - <uptime>161826</uptime> - <date-time>2018-01-12T13:42:36.20+00:00</date-time> - <boot-datetime>2018-01-10T16:45:30+00:00</boot-datetime> - </system-status> - </system-state> - </data> -</rpc-reply> - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version deleted file mode 100644 index b9aa8feaa..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version +++ /dev/null @@ -1,9 +0,0 @@ -Dell EMC Networking OS10 Enterprise -Copyright (c) 1999-2017 by Dell Inc. All Rights Reserved. -OS Version: 10.4.0E(R1) -Build Version: 10.4.0E(R1.56) -Build Time: 2017-12-19T22:11:00-0800 -System Type: S6000-VM -Architecture: x86_64 -Up Time: 6 days 00:33:35 - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version__display-xml b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version__display-xml deleted file mode 100644 index 50f84ab67..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/fixtures/show_version__display-xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rpc-reply> - <data> - <system-state> - <system-status> - <hostname>os10</hostname> - <uptime>162698</uptime> - <date-time>2018-01-12T13:57:08.58+00:00</date-time> - <boot-datetime>2018-01-10T16:45:30+00:00</boot-datetime> - </system-status> - </system-state> - <system-sw-state> - <sw-version> - <sw-version>10.4.0E(R1)</sw-version> - <sw-name>Enterprise</sw-name> - <sw-name-long>Dell EMC Networking OS10 Enterprise</sw-name-long> - <sw-platform>S6010-ON</sw-platform> - <sw-platform-long>Dell EMC OS10 Enterprise Edition Blueprint 1.0.0</sw-platform-long> - <cpu-arch>x86_64</cpu-arch> - <sw-build-date>2017-12-14T23:39:27-0800</sw-build-date> - <sw-build-version>10.4.0E(R1.55)</sw-build-version> - <copyright>Copyright (c) 1999-2017 by Dell Inc. All Rights Reserved.</copyright> - </sw-version> - </system-sw-state> - </data> -</rpc-reply> - diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/os10_module.py b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/os10_module.py deleted file mode 100644 index 8f990d739..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/os10_module.py +++ /dev/null @@ -1,90 +0,0 @@ -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import os -import json - -from units.modules.utils import AnsibleExitJson, AnsibleFailJson, ModuleTestCase - - -fixture_path = os.path.join(os.path.dirname(__file__), 'fixtures') -fixture_data = {} - - -def load_fixture(name): - path = os.path.join(fixture_path, name) - - if path in fixture_data: - return fixture_data[path] - - with open(path) as f: - data = f.read() - - try: - data = json.loads(data) - except Exception: - pass - - fixture_data[path] = data - return data - - -class TestDellos10Module(ModuleTestCase): - - def execute_module(self, failed=False, changed=False, commands=None, sort=True, defaults=False): - - self.load_fixtures(commands) - - if failed: - result = self.failed() - self.assertTrue(result['failed'], result) - else: - result = self.changed(changed) - self.assertEqual(result['changed'], changed, result) - - if commands is not None: - if sort: - self.assertEqual(sorted(commands), sorted(result['updates']), result['updates']) - else: - self.assertEqual(commands, result['updates'], result['updates']) - - return result - - def failed(self): - with self.assertRaises(AnsibleFailJson) as exc: - self.module.main() - - result = exc.exception.args[0] - self.assertTrue(result['failed'], result) - return result - - def changed(self, changed=False): - with self.assertRaises(AnsibleExitJson) as exc: - self.module.main() - - result = exc.exception.args[0] - self.assertEqual(result['changed'], changed, result) - return result - - def load_fixtures(self, commands=None): - pass diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_command.py b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_command.py deleted file mode 100644 index 77f6f1a74..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_command.py +++ /dev/null @@ -1,110 +0,0 @@ -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import json - -from units.compat.mock import patch -from ansible_collections.dellemc.os10.plugins.modules import os10_command -from units.modules.utils import set_module_args -from .os10_module import TestDellos10Module, load_fixture - - -class TestDellos10CommandModule(TestDellos10Module): - - module = os10_command - - def setUp(self): - super(TestDellos10CommandModule, self).setUp() - - self.mock_run_commands = patch('ansible.modules.network.os10.os10_command.run_commands') - self.run_commands = self.mock_run_commands.start() - - def tearDown(self): - super(TestDellos10CommandModule, self).tearDown() - self.mock_run_commands.stop() - - def load_fixtures(self, commands=None): - - def load_from_file(*args, **kwargs): - module, commands = args - output = list() - - for item in commands: - try: - obj = json.loads(item['command']) - command = obj['command'] - except ValueError: - command = item['command'] - filename = str(command).replace(' ', '_') - output.append(load_fixture(filename)) - return output - - self.run_commands.side_effect = load_from_file - - def test_os10_command_simple(self): - set_module_args(dict(commands=['show version'])) - result = self.execute_module() - self.assertEqual(len(result['stdout']), 1) - self.assertTrue(result['stdout'][0].startswith('Dell EMC Networking')) - - def test_os10_command_multiple(self): - set_module_args(dict(commands=['show version', 'show version'])) - result = self.execute_module() - self.assertEqual(len(result['stdout']), 2) - self.assertTrue(result['stdout'][0].startswith('Dell EMC Networking')) - - def test_os10_command_wait_for(self): - wait_for = 'result[0] contains "Dell EMC"' - set_module_args(dict(commands=['show version'], wait_for=wait_for)) - self.execute_module() - - def test_os10_command_wait_for_fails(self): - wait_for = 'result[0] contains "test string"' - set_module_args(dict(commands=['show version'], wait_for=wait_for)) - self.execute_module(failed=True) - self.assertEqual(self.run_commands.call_count, 10) - - def test_os10_command_retries(self): - wait_for = 'result[0] contains "test string"' - set_module_args(dict(commands=['show version'], wait_for=wait_for, retries=2)) - self.execute_module(failed=True) - self.assertEqual(self.run_commands.call_count, 2) - - def test_os10_command_match_any(self): - wait_for = ['result[0] contains "Dell EMC"', - 'result[0] contains "test string"'] - set_module_args(dict(commands=['show version'], wait_for=wait_for, match='any')) - self.execute_module() - - def test_os10_command_match_all(self): - wait_for = ['result[0] contains "Dell EMC"', - 'result[0] contains "OS10 Enterprise"'] - set_module_args(dict(commands=['show version'], wait_for=wait_for, match='all')) - self.execute_module() - - def test_os10_command_match_all_failure(self): - wait_for = ['result[0] contains "Dell EMC"', - 'result[0] contains "test string"'] - commands = ['show version', 'show version'] - set_module_args(dict(commands=commands, wait_for=wait_for, match='all')) - self.execute_module(failed=True) diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_config.py b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_config.py deleted file mode 100644 index e38d124a7..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_config.py +++ /dev/null @@ -1,150 +0,0 @@ -# -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -from units.compat.mock import patch -from ansible_collections.dellemc.os10.plugins.modules import os10_config -from units.modules.utils import set_module_args -from .os10_module import TestDellos10Module, load_fixture - - -class TestDellos10ConfigModule(TestDellos10Module): - - module = os10_config - - def setUp(self): - super(TestDellos10ConfigModule, self).setUp() - - self.mock_get_config = patch('ansible.modules.network.os10.os10_config.get_config') - self.get_config = self.mock_get_config.start() - - self.mock_load_config = patch('ansible.modules.network.os10.os10_config.load_config') - self.load_config = self.mock_load_config.start() - - self.mock_run_commands = patch('ansible.modules.network.os10.os10_config.run_commands') - self.run_commands = self.mock_run_commands.start() - - def tearDown(self): - super(TestDellos10ConfigModule, self).tearDown() - self.mock_get_config.stop() - self.mock_load_config.stop() - self.mock_run_commands.stop() - - def load_fixtures(self, commands=None): - config_file = 'os10_config_config.cfg' - self.get_config.return_value = load_fixture(config_file) - self.load_config.return_value = None - - def test_os10_config_unchanged(self): - src = load_fixture('os10_config_config.cfg') - set_module_args(dict(src=src)) - self.execute_module() - - def test_os10_config_src(self): - src = load_fixture('os10_config_src.cfg') - set_module_args(dict(src=src)) - commands = ['hostname foo', 'interface ethernet1/1/2', - 'no ip address'] - self.execute_module(changed=True, commands=commands) - - def test_os10_config_backup(self): - set_module_args(dict(backup=True)) - result = self.execute_module() - self.assertIn('__backup__', result) - - def test_os10_config_save(self): - set_module_args(dict(save=True)) - self.execute_module(changed=True) - self.assertEqual(self.run_commands.call_count, 1) - self.assertEqual(self.get_config.call_count, 0) - self.assertEqual(self.load_config.call_count, 0) - args = self.run_commands.call_args[0][1] - self.assertDictContainsSubset({'command': 'copy running-config startup-config'}, args[0]) -# self.assertIn('copy running-config startup-config\r', args) - - def test_os10_config_lines_wo_parents(self): - set_module_args(dict(lines=['hostname foo'])) - commands = ['hostname foo'] - self.execute_module(changed=True, commands=commands) - - def test_os10_config_lines_w_parents(self): - set_module_args(dict(lines=['shutdown'], parents=['interface ethernet1/1/2'])) - commands = ['interface ethernet1/1/2', 'shutdown'] - self.execute_module(changed=True, commands=commands) - - def test_os10_config_before(self): - set_module_args(dict(lines=['hostname foo'], before=['snmp-server contact bar'])) - commands = ['snmp-server contact bar', 'hostname foo'] - self.execute_module(changed=True, commands=commands, sort=False) - - def test_os10_config_after(self): - set_module_args(dict(lines=['hostname foo'], after=['snmp-server contact bar'])) - commands = ['hostname foo', 'snmp-server contact bar'] - self.execute_module(changed=True, commands=commands, sort=False) - - def test_os10_config_before_after_no_change(self): - set_module_args(dict(lines=['hostname router'], - before=['snmp-server contact bar'], - after=['snmp-server location chennai'])) - self.execute_module() - - def test_os10_config_config(self): - config = 'hostname localhost' - set_module_args(dict(lines=['hostname router'], config=config)) - commands = ['hostname router'] - self.execute_module(changed=True, commands=commands) - - def test_os10_config_replace_block(self): - lines = ['description test string', 'test string'] - parents = ['interface ethernet1/1/2'] - set_module_args(dict(lines=lines, replace='block', parents=parents)) - commands = parents + lines - self.execute_module(changed=True, commands=commands) - - def test_os10_config_match_none(self): - lines = ['hostname router'] - set_module_args(dict(lines=lines, match='none')) - self.execute_module(changed=True, commands=lines) - - def test_os10_config_match_none(self): - lines = ['ip address 1.2.3.4/24', 'description test string'] - parents = ['interface ethernet1/1/2'] - set_module_args(dict(lines=lines, parents=parents, match='none')) - commands = parents + lines - self.execute_module(changed=True, commands=commands, sort=False) - - def test_os10_config_match_strict(self): - lines = ['ip address 1.2.3.4/24', 'description test string', - 'shutdown'] - parents = ['interface ethernet1/1/2'] - set_module_args(dict(lines=lines, parents=parents, match='strict')) - commands = parents + ['shutdown'] - self.execute_module(changed=True, commands=commands, sort=False) - - def test_os10_config_match_exact(self): - lines = ['ip address 1.2.3.4/24', 'description test string', - 'shutdown'] - parents = ['interface ethernet1/1/2'] - set_module_args(dict(lines=lines, parents=parents, match='exact')) - commands = parents + lines - self.execute_module(changed=True, commands=commands, sort=False) diff --git a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_facts.py b/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_facts.py deleted file mode 100644 index 7f03eab80..000000000 --- a/ansible_collections/dellemc/os10/tests/unit/modules/network/os10/test_os10_facts.py +++ /dev/null @@ -1,110 +0,0 @@ -# (c) 2020 Red Hat Inc. -# -# (c) 2020 Dell Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -import json - -from units.compat.mock import patch -from units.modules.utils import set_module_args -from .os10_module import TestDellos10Module, load_fixture -from ansible_collections.dellemc.os10.plugins.modules import os10_facts - - -class TestDellos10Facts(TestDellos10Module): - - module = os10_facts - - def setUp(self): - super(TestDellos10Facts, self).setUp() - - self.mock_run_command = patch( - 'ansible.modules.network.os10.os10_facts.run_commands') - self.run_command = self.mock_run_command.start() - - def tearDown(self): - super(TestDellos10Facts, self).tearDown() - - self.mock_run_command.stop() - - def load_fixtures(self, commands=None): - - def load_from_file(*args, **kwargs): - module, commands = args - output = list() - - for item in commands: - try: - obj = json.loads(item) - command = obj['command'] - except ValueError: - command = item - if '|' in command: - command = str(command).replace('|', '') - filename = str(command).replace(' ', '_') - filename = filename.replace('/', '7') - filename = filename.replace(':', '_colon_') - output.append(load_fixture(filename)) - return output - - self.run_command.side_effect = load_from_file - - def test_os10_facts_gather_subset_default(self): - set_module_args(dict()) - result = self.execute_module() - ansible_facts = result['ansible_facts'] - self.assertIn('hardware', ansible_facts['ansible_net_gather_subset']) - self.assertIn('default', ansible_facts['ansible_net_gather_subset']) - self.assertIn('interfaces', ansible_facts['ansible_net_gather_subset']) - self.assertEquals('os10', ansible_facts['ansible_net_hostname']) - self.assertIn('ethernet1/1/8', ansible_facts['ansible_net_interfaces'].keys()) - self.assertEquals(7936, ansible_facts['ansible_net_memtotal_mb']) - self.assertEquals(5693, ansible_facts['ansible_net_memfree_mb']) - - def test_os10_facts_gather_subset_config(self): - set_module_args({'gather_subset': 'config'}) - result = self.execute_module() - ansible_facts = result['ansible_facts'] - self.assertIn('default', ansible_facts['ansible_net_gather_subset']) - self.assertIn('config', ansible_facts['ansible_net_gather_subset']) - self.assertEquals('os10', ansible_facts['ansible_net_hostname']) - self.assertIn('ansible_net_config', ansible_facts) - - def test_os10_facts_gather_subset_hardware(self): - set_module_args({'gather_subset': 'hardware'}) - result = self.execute_module() - ansible_facts = result['ansible_facts'] - self.assertIn('default', ansible_facts['ansible_net_gather_subset']) - self.assertIn('hardware', ansible_facts['ansible_net_gather_subset']) - self.assertEquals('x86_64', ansible_facts['ansible_net_cpu_arch']) - self.assertEquals(7936, ansible_facts['ansible_net_memtotal_mb']) - self.assertEquals(5693, ansible_facts['ansible_net_memfree_mb']) - - def test_os10_facts_gather_subset_interfaces(self): - set_module_args({'gather_subset': 'interfaces'}) - result = self.execute_module() - ansible_facts = result['ansible_facts'] - self.assertIn('default', ansible_facts['ansible_net_gather_subset']) - self.assertIn('interfaces', ansible_facts['ansible_net_gather_subset']) - self.assertIn('ethernet1/1/8', ansible_facts['ansible_net_interfaces'].keys()) - self.assertEquals(sorted(['mgmt1/1/1', 'ethernet1/1/4', 'ethernet1/1/2', 'ethernet1/1/3', 'ethernet1/1/1']), - sorted(list(ansible_facts['ansible_net_neighbors'].keys()))) - self.assertIn('ansible_net_interfaces', ansible_facts) |