diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
commit | 38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch) | |
tree | 356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/community/network | |
parent | Adding upstream version 7.7.0+dfsg. (diff) | |
download | ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip |
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/network')
182 files changed, 1920 insertions, 2733 deletions
diff --git a/ansible_collections/community/network/.ansible-lint b/ansible_collections/community/network/.ansible-lint new file mode 100644 index 000000000..33953eedb --- /dev/null +++ b/ansible_collections/community/network/.ansible-lint @@ -0,0 +1,11 @@ +skip_list: + # Remove these temporary disable skips added during adopting of ansible-lint: + - deprecated-module + - fqcn + - ignore-errors + - jinja + - key-order + - name + - no-free-form + - sanity + - yaml diff --git a/ansible_collections/community/network/.azure-pipelines/azure-pipelines.yml b/ansible_collections/community/network/.azure-pipelines/azure-pipelines.yml index 80f9df94d..edff3f6c4 100644 --- a/ansible_collections/community/network/.azure-pipelines/azure-pipelines.yml +++ b/ansible_collections/community/network/.azure-pipelines/azure-pipelines.yml @@ -24,14 +24,8 @@ schedules: always: true branches: include: + - stable-5 - stable-4 - - stable-3 - - cron: 0 11 * * 0 - displayName: "Weekly (old stable branches)" - always: true - branches: - include: - - stable-2 variables: - name: checkoutPath @@ -48,7 +42,7 @@ variables: resources: containers: - container: default - image: quay.io/ansible/azure-pipelines-test-container:3.0.0 + image: quay.io/ansible/azure-pipelines-test-container:4.0.1 pool: Standard @@ -70,44 +64,46 @@ stages: - test: 5 - test: extra - - stage: Sanity_2_14 - displayName: Sanity 2.14 + - stage: Sanity_2_16 + displayName: Sanity 2.16 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Test {0} - testFormat: 2.14/sanity/{0} + testFormat: 2.16/sanity/{0} targets: - test: 1 - test: 2 - test: 3 - test: 4 - test: 5 + - test: extra - - stage: Sanity_2_13 - displayName: Sanity 2.13 + - stage: Sanity_2_15 + displayName: Sanity 2.15 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Test {0} - testFormat: 2.13/sanity/{0} + testFormat: 2.15/sanity/{0} targets: - test: 1 - test: 2 - test: 3 - test: 4 - test: 5 + - test: extra - - stage: Sanity_2_12 - displayName: Sanity 2.12 + - stage: Sanity_2_14 + displayName: Sanity 2.14 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Test {0} - testFormat: 2.12/sanity/{0} + testFormat: 2.14/sanity/{0} targets: - test: 1 - test: 2 @@ -115,14 +111,14 @@ stages: - test: 4 - test: 5 - - stage: Sanity_2_11 - displayName: Sanity 2.11 + - stage: Sanity_2_13 + displayName: Sanity 2.13 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Test {0} - testFormat: 2.11/sanity/{0} + testFormat: 2.13/sanity/{0} targets: - test: 1 - test: 2 @@ -142,57 +138,50 @@ stages: targets: - test: '3.10' - - stage: Units_2_14 - displayName: Units 2.14 + - stage: Units_2_16 + displayName: Units 2.16 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.14/units/{0}/1 + testFormat: 2.16/units/{0}/1 targets: - test: '3.10' - - stage: Units_2_13 - displayName: Units 2.13 + - stage: Units_2_15 + displayName: Units 2.15 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.13/units/{0}/1 + testFormat: 2.15/units/{0}/1 targets: - - test: 3.8 - test: '3.10' - - stage: Units_2_12 - displayName: Units 2.12 + - stage: Units_2_14 + displayName: Units 2.14 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.12/units/{0}/1 + testFormat: 2.14/units/{0}/1 targets: - - test: 3.8 - - test: 3.9 + - test: '3.10' - - stage: Units_2_11 - displayName: Units 2.11 + - stage: Units_2_13 + displayName: Units 2.13 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.11/units/{0}/1 + testFormat: 2.13/units/{0}/1 targets: - - test: 2.6 - - test: 2.7 - - test: 3.5 - - test: 3.6 - - test: 3.7 - test: 3.8 - - test: 3.9 + - test: '3.10' ### Cloud - stage: Cloud_devel @@ -208,72 +197,75 @@ stages: - test: 3.9 - test: "3.10" - - stage: Cloud_2_14 - displayName: Cloud 2.14 + - stage: Cloud_2_16 + displayName: Cloud 2.16 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.14/cloud/{0}/1 + testFormat: 2.16/cloud/{0}/1 targets: - test: 3.8 - test: 3.9 - test: "3.10" - - stage: Cloud_2_13 - displayName: Cloud 2.13 + - stage: Cloud_2_15 + displayName: Cloud 2.15 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.13/cloud/{0}/1 + testFormat: 2.15/cloud/{0}/1 targets: + - test: 3.8 - test: 3.9 - test: "3.10" - - stage: Cloud_2_12 - displayName: Cloud 2.12 + - stage: Cloud_2_14 + displayName: Cloud 2.14 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.12/cloud/{0}/1 + testFormat: 2.14/cloud/{0}/1 targets: - test: 3.8 + - test: 3.9 - test: "3.10" - - stage: Cloud_2_11 - displayName: Cloud 2.11 + - stage: Cloud_2_13 + displayName: Cloud 2.13 dependsOn: [] jobs: - template: templates/matrix.yml parameters: nameFormat: Python {0} - testFormat: 2.11/cloud/{0}/1 + testFormat: 2.13/cloud/{0}/1 targets: - - test: 3.8 + - test: 3.9 + - test: "3.10" ### Finally - stage: Summary condition: succeededOrFailed() dependsOn: - Sanity_devel + - Sanity_2_16 + - Sanity_2_15 - Sanity_2_14 - Sanity_2_13 - - Sanity_2_12 - - Sanity_2_11 - Units_devel + - Units_2_16 + - Units_2_15 - Units_2_14 - Units_2_13 - - Units_2_12 - - Units_2_11 - Cloud_devel + - Cloud_2_16 + - Cloud_2_15 - Cloud_2_14 - Cloud_2_13 - - Cloud_2_12 - - Cloud_2_11 jobs: - template: templates/coverage.yml diff --git a/ansible_collections/community/network/CHANGELOG.rst b/ansible_collections/community/network/CHANGELOG.rst index e6e0c1ab6..6805773cf 100644 --- a/ansible_collections/community/network/CHANGELOG.rst +++ b/ansible_collections/community/network/CHANGELOG.rst @@ -6,6 +6,36 @@ Community Network Release Notes This changelog describes changes after version 4.0.0. +v5.0.2 +====== + +Release Summary +--------------- + +This is the mock patch release of the ``community.network`` collection +caused by Galaxy issues. +This changelog contains changes made since release 5.0.0. +See the changelog for version 5.0.1 for details. + +v5.0.1 +====== + +Release Summary +--------------- + +This is a patch release of the ``community.network`` collection. +This changelog contains all changes to the modules and plugins in this collection +that have been made after the previous release. + +Bugfixes +-------- + +- cnos_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). +- exos_config - missing whitespace in command with ``defaults: True``. It happened because the command is ``show configurationdetail`` instead of ``show configuration detail`` (https://github.com/ansible-collections/community.network/pull/516). +- exos_facts - returns timeout error when we use connection type ``network_cli``. It happened because we send command without ``no-refresh`` and script ``cli2json.py`` stuck in loop while reading console output (https://github.com/ansible-collections/community.network/pull/517). +- icx_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). +- slxos_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). + v5.0.0 ====== diff --git a/ansible_collections/community/network/FILES.json b/ansible_collections/community/network/FILES.json index fa6972f1f..48d500a30 100644 --- a/ansible_collections/community/network/FILES.json +++ b/ansible_collections/community/network/FILES.json @@ -109,7 +109,7 @@ "name": ".azure-pipelines/azure-pipelines.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "870472211ccd5fd8ec26127a2af18c320d13f2e96421d6a2173073008a0388c0", + "chksum_sha256": "f2112d8c5ddaca809f1d13953864b03b713590d7cb7805f0c16f62277a009484", "format": 1 }, { @@ -172,7 +172,7 @@ "name": "changelogs/changelog.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5c88b6d2e48dae95270f9ae40387f63cb513767dc1373fb0a5608646d9fea075", + "chksum_sha256": "9e2550ba9ca90e0d106b52fc04c136140485803b62db3f9e4fb12371b26c914b", "format": 1 }, { @@ -515,7 +515,7 @@ "name": "plugins/doc_fragments/a10.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f8946171ce108e332ac9e1e4608987445fa6bdaa31dcfbfb0eaf9a69764093a9", + "chksum_sha256": "537a6419a6446712d56a748e7c1bafd7d29757f9dfe33116707bc9c7ccc25b2b", "format": 1 }, { @@ -557,28 +557,28 @@ "name": "plugins/doc_fragments/enos.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7b2822cdf9bcf762fe5cb38ccee8fcf9bfce64bc38aab379be3b50fda72349f7", + "chksum_sha256": "f5de933da113c5166ca8afc0bc4d650e799d43d77ace91dd71cc3576fd795f1d", "format": 1 }, { "name": "plugins/doc_fragments/ingate.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e5785790ff593d2d8054d31e4e3ee6987c3038f389dace7213c1d96b2b7571f9", + "chksum_sha256": "ed9297ca9b7a66f1a308d22202e374e88643fd69c136a4fd04e6b721ef65d228", "format": 1 }, { "name": "plugins/doc_fragments/ironware.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3daf9ac2ae7f7e876e3e23d4b6e53b7c6d4662b11d3a0100a2e8f16b8e5bd984", + "chksum_sha256": "159b6f9ca4cd3a6d5621bf6eb6b585179a70b67383699537f6454f8ced5a7d25", "format": 1 }, { "name": "plugins/doc_fragments/netscaler.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c3110f4c82e5c9435f28ebb6783bb368eb17827ad62f6f41380e11950a3b57d0", + "chksum_sha256": "46c9fb0676af589ea6c70a764a8efd7e2ccf2b810501c98751a03e260e6d6344", "format": 1 }, { @@ -662,7 +662,7 @@ "name": "plugins/lookup/avi.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c35c18bb421ae58a8a9c4cf2c125507761bc42c8c55cf025d24d652b35e6e241", + "chksum_sha256": "491caf174a8699ffcd63e7cc4f72dcec372e3bf8639685845507b9ae3c91652d", "format": 1 }, { @@ -802,7 +802,7 @@ "name": "plugins/module_utils/network/avi/ansible_utils.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7e227e54f5011c1290030f854c1173dc007faba48c8c4a23dcadf0cc5089aa72", + "chksum_sha256": "89c5dc93a837f472305546ac56123ff5bae5a68da749c3cdedad6903b8042dbd", "format": 1 }, { @@ -816,7 +816,7 @@ "name": "plugins/module_utils/network/avi/avi_api.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b92370c34fc21c648a540b3492992c711d163e2de4f6c8f7c48c6314a5e29bb3", + "chksum_sha256": "65b332935b957c5381504d163d59e208b79cdb7bbe15d017928a547de3134656", "format": 1 }, { @@ -1257,7 +1257,7 @@ "name": "plugins/module_utils/network/exos/facts/legacy/base.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f3fcd1a2a7d82bfa30737def6f7efb5e809252a29834b8e124e9971dd56f5f17", + "chksum_sha256": "78f42d1812f845f126fa4f4bd3d8481c3e2083e3f4309d7df9465b02d62a74ea", "format": 1 }, { @@ -1390,7 +1390,7 @@ "name": "plugins/module_utils/network/ftd/common.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f6922775db1aa9b22c962e5f4a7844511e28edeea7ca012c9fef56223f73be89", + "chksum_sha256": "7f37391936ef47f1bd9e45b98e665452c09e5363470b46bbfc1a66c7539398bf", "format": 1 }, { @@ -1691,7 +1691,7 @@ "name": "plugins/modules/a10_server_axapi3.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "119bdedf0feb7eb6a5444b386a1049da9964447300f427eaf10d585279a6d134", + "chksum_sha256": "cfb34fc25776d56db3680f57d4c7f767157df07f3da372965573ffb36db594c9", "format": 1 }, { @@ -1719,7 +1719,7 @@ "name": "plugins/modules/aireos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c65108a6c850cb4db8d11a02ca0edac42a2289b0b7518f60e23d1e93ad3bc357", + "chksum_sha256": "8b514ec935383351b344c3d0e8551f3f853c0df4ad03f080b2de7fa43fbfa5ec", "format": 1 }, { @@ -1740,7 +1740,7 @@ "name": "plugins/modules/aruba_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bedd88945fa682be9179d920a4cbc32c13a6fd4911f890f4f1098b4544f47e7e", + "chksum_sha256": "7065a9d8798c4ca0dea6a6c67e25955f988166ef36b1f605c4b647c8d4b95738", "format": 1 }, { @@ -1922,7 +1922,7 @@ "name": "plugins/modules/avi_gslb.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7cc53f39ba1591b1c164baaeedc1af074467fa029f78886f917f54fe67c12020", + "chksum_sha256": "9df67c6baf109e3eb7850d54f0660a600e74b3bf65767028a5fbd4482d818868", "format": 1 }, { @@ -2223,210 +2223,210 @@ "name": "plugins/modules/ce_aaa_server.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9d8f63bac3510618cded25f2a0d0003c6585f62aea4504da210c132f20839aab", + "chksum_sha256": "bebe9743e6f9f0f4dd4f52b72342ecc8cfb7c22aa0d818ca373c6268b761e0ad", "format": 1 }, { "name": "plugins/modules/ce_aaa_server_host.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d6c922741f535555d97ca0642c9414499e6eb6cea885b393aa637bf5aab0dec6", + "chksum_sha256": "2c71e2275325a7acf64c6ebe574b97f158a7b839cd0d4a18fa74e6775105e8a8", "format": 1 }, { "name": "plugins/modules/ce_acl.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e3cdda4fb1c0ed9bb3caa6e75d9108406b547e6cd87d7bc5f6dfd2b86bb2d1dd", + "chksum_sha256": "a3a5d61e986542b8488916c9431ec5c64a89cc3662bb79fa8914db22b4a0155e", "format": 1 }, { "name": "plugins/modules/ce_acl_advance.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5e0e595c447354c08cc3ccd12d1db5b1dc6601738a8b08b698ba1a7852e3a9d3", + "chksum_sha256": "bcf858545d5aa2b3447a46ed1af8532223b1f4afa6b30be8488d9f89c3d04c25", "format": 1 }, { "name": "plugins/modules/ce_acl_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4ee1d38658f237c3761551eed645b36fcedb0506b66acf4089490b5ff37f2911", + "chksum_sha256": "0e02464040763795bef70144a576c00346c56574289b2e43203f0f5917968414", "format": 1 }, { "name": "plugins/modules/ce_bfd_global.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "54af83e3b7bf346c19f9df12a86a292ee23d30b3323183940f071ffc353c9fca", + "chksum_sha256": "57ba688086b4f3d76b4cf038dddd66533863ab07ff478d5a5ad603fb9358edcd", "format": 1 }, { "name": "plugins/modules/ce_bfd_session.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "19d07505d343a6f893f66b25afece590374cd47ea9c7188a1fc32f7ad9d338c8", + "chksum_sha256": "6aaa3f668e4580e48928163a62d3ab009b995c118f6a472af30f39b3cf0d5d23", "format": 1 }, { "name": "plugins/modules/ce_bfd_view.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "166f1304f4166d575ac6ed82db28a41eb2ca2134c2f73844864f1f38bd9b5537", + "chksum_sha256": "5ae0e0a478057131434f3e0df705e283ba5aa2fb36cb0d4a3e47200ea22af683", "format": 1 }, { "name": "plugins/modules/ce_bgp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "965efe6cbad6ab530de150d9e3ab51cc6a0cd5c777a9690452da09971672aedd", + "chksum_sha256": "f300c5aa4bf9aae11e156ebcb78b6e077617caf6a76279bf6dcb0e9270b37a75", "format": 1 }, { "name": "plugins/modules/ce_bgp_af.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4beaa2e7bf8c365e3e51936a5510bda518af893cc5f614fa4e961913bdad371b", + "chksum_sha256": "756055076e839d796fd93ffefcf03a0b7299e9e978c5e9b156317ee1125265f6", "format": 1 }, { "name": "plugins/modules/ce_bgp_neighbor.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "98eb6f2bcfc0aea0db3fe2af59370d293939f5a04dc985fb4bcd8a7697620681", + "chksum_sha256": "23020323023ff4002c9734e68ca12cc504a62d51fd02ba518d26050e308d0d7b", "format": 1 }, { "name": "plugins/modules/ce_bgp_neighbor_af.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d70d24f91490fc34a951f1532db4d04f3b4d100b0667f59d172b153013e6a123", + "chksum_sha256": "048fc72ed3e2d02ee23f4ce5da3ab75b7be46ab51fda87ed68faba7e83d45b8f", "format": 1 }, { "name": "plugins/modules/ce_command.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "078ab5716698463bdc6fe64f7fb187368995793c9e6059302346ced4b66901cd", + "chksum_sha256": "25002eccea52205eacf7683b701bdae152a9504297e632825f93f12add85d2c6", "format": 1 }, { "name": "plugins/modules/ce_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2c15457adcf3d2e8fa74769437478443eb35ee31f11b4f18f706faaae9eb9b68", + "chksum_sha256": "b0670897f1b39dd58598e5b9a08ab336f41cf640d5e2dbb63bb2a382a1617283", "format": 1 }, { "name": "plugins/modules/ce_dldp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "55aecd16fddb19cd52b8aefc9bab68277a3ccd2163321784a889249fb8dc311a", + "chksum_sha256": "746612c3f0201e630246854df12e9c12f750a24d2d29be9e4722c8d98f921ddf", "format": 1 }, { "name": "plugins/modules/ce_dldp_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8c490f002397270caa0c32682abf91a0865855381d13349606d9015d4ed0cca2", + "chksum_sha256": "db86449acc2a77205170c3ecf1f323989ab98410f14d3d193802c2f9c3d928aa", "format": 1 }, { "name": "plugins/modules/ce_eth_trunk.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "de46af5ca637e5b1ba0e031fa9a0aa0cc6322b0fdf6d248fa11e85a7f5393861", + "chksum_sha256": "12a4db1050db90f99db4d4253261a7132b552a3486718d5b8b84d158ff8fb7c2", "format": 1 }, { "name": "plugins/modules/ce_evpn_bd_vni.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4e7b5efef96a063a383f9cf03644d8140e6b6fe19a1dd347481cb6a44b109b57", + "chksum_sha256": "e20b596c9b352d9d20af380f6942b6237c8e4398c7748ee4ed4802e487da938f", "format": 1 }, { "name": "plugins/modules/ce_evpn_bgp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e5944fadd87f89a362ba2bf7b7c4f1f192690ddba82a9da286069d016cd9b268", + "chksum_sha256": "966b7730bf3995b03b5be36db3deb4e97b8c061ef0ae99a833a1c8a2e255ee45", "format": 1 }, { "name": "plugins/modules/ce_evpn_bgp_rr.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0a01815c71be156bd57363a35474d253a2846af759c341d5df8b8ba98aa28c03", + "chksum_sha256": "91e1d8c12241421235ec645f0158c498d26136bdd3d587b8bc502072896bb8b1", "format": 1 }, { "name": "plugins/modules/ce_evpn_global.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e33654b068d13586ade7f2a0bbe42a55ea872d182c6412249490ec535f222c2a", + "chksum_sha256": "eae985d6d15786408b217c20ea81b80a942f4d0b67d8e3b77656ed8f7438ebe3", "format": 1 }, { "name": "plugins/modules/ce_facts.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c53727cb04c703d3e4a1937c7e7de06b119a53d75ddd02ae37f1d508401a5af1", + "chksum_sha256": "79d5542e50a839acf269a07bc891281641af1e86c420189c6ebd799fbde4a07f", "format": 1 }, { "name": "plugins/modules/ce_file_copy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5642a88de0207053d69b34095fbd2a340aa94ba1983852850bb1c25e25b83677", + "chksum_sha256": "057a7d130eed705f46661f78532ad9131dd28851016258afa1ca6904fc59974d", "format": 1 }, { "name": "plugins/modules/ce_info_center_debug.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "66c3a95a2e3fb760bcdbbc8bb1b53562a0dced8b4b4d3f43646d313ae94f1f71", + "chksum_sha256": "bad0de0ac8f3e9b2bc895144e6db36effc11892eec465d45cfbb73bb402bd287", "format": 1 }, { "name": "plugins/modules/ce_info_center_global.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2fa8863dc8035ffc2f92f1009e79068da16328b68f728a7f1ce8737167f1ccd9", + "chksum_sha256": "5e151513915e23a31b73c4a5eb27446e3ec223d25f59ef8cd271c2f1459bcdd7", "format": 1 }, { "name": "plugins/modules/ce_info_center_log.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "213892d84c4f5896136fdc47a463a782fffe6d38f4674eba28b51839ec91fd31", + "chksum_sha256": "97df7d4a668c3465f02f505253065349f1185e9db8c0db9ea9f7df992d362e03", "format": 1 }, { "name": "plugins/modules/ce_info_center_trap.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d1321d0ae1bfa9bceff6065df965f721b4debcb886ebefb9814202aae697cda2", + "chksum_sha256": "e44ed575948651ad37566f744d0c6cee4ab439fd8cda342857e01cd38feb3c4f", "format": 1 }, { "name": "plugins/modules/ce_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "de51078a7928ef8c771ea5597dff72c343b48cac426c1c0816605f14a88cd522", + "chksum_sha256": "fe1e49142febcc858f432e510bb0907a9f2b571d5d31a8668a472be402061546", "format": 1 }, { "name": "plugins/modules/ce_interface_ospf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "048dc081fd388e8b54d4c8f434761bcfc7e239d3e3f43806089679687912f8ea", + "chksum_sha256": "2c583415df2fce1bde4e2ca0da065e4cfeb627613967409a2351feadf8b2b0b3", "format": 1 }, { "name": "plugins/modules/ce_ip_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "80cb6a9dfb50bdf8a7afccc4ce86a852c827bba1df6f3cacf3f16f29aa73a1fa", + "chksum_sha256": "cafeae2881c095acaf5e0df8ef7d5e416c5502ac2a34a73f5391ebef98aaedee", "format": 1 }, { @@ -2461,7 +2461,7 @@ "name": "plugins/modules/ce_link_status.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0e0c87c00146a55edaba51eae54f5459cd781b244cba65c80b7cf5901963fa52", + "chksum_sha256": "e8b7b612425e3ad4f9a38060a3730fb12b94e01e37d72b72237764da78d5693a", "format": 1 }, { @@ -2489,21 +2489,21 @@ "name": "plugins/modules/ce_mlag_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "03122371995ee2e166ebccf7a69364e3d1e48c3ea7612a2a351dcfaeca3269a1", + "chksum_sha256": "d10e9ce8169e358e4f366e53997b7f1912bdd13bfce2a2058fce843090431f64", "format": 1 }, { "name": "plugins/modules/ce_mlag_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4ce8641c9b04d5b19f55c6c9fd25806ea4b4b05066eb623e04a92c3fb650dce8", + "chksum_sha256": "1690a1c9f5073e14a2c23dd23b3bcd728429868a78c18aefd5286a838057b19c", "format": 1 }, { "name": "plugins/modules/ce_mtu.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e2d0944a5a3440d370b2dd839b752a1800f86e1dc639f28f69ffb2ba4f5dba55", + "chksum_sha256": "747a0d974bcef5c4f79873c741c721035dcf3421e39761ddfa5e6e91474acbfc", "format": 1 }, { @@ -2524,140 +2524,140 @@ "name": "plugins/modules/ce_netconf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "19c9a1cfc631d5065e094ff64e5d9d90b9def9775b4b1b605d5090a090143b29", + "chksum_sha256": "245ae0793746a5411e4130a50b8ebf12f293533738fd4d68504f2190d9c50638", "format": 1 }, { "name": "plugins/modules/ce_netstream_aging.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "23d0c25213471d71cca0155d53e05a90e4611aa37879cf75ff4c485fbfbed82d", + "chksum_sha256": "4e8380c82c7b0a9ca7b0cdb1e67cd8da3467b2a9f4c8e8447f9ddaff8170f507", "format": 1 }, { "name": "plugins/modules/ce_netstream_export.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e784cbf83ac7a41d9b57a909b6c6595eae5acc5c930cb996e8225d60b8a9ba74", + "chksum_sha256": "1795f5eadf1890c529536ea99e1c7fc507f7527d66ec72cf204f98d9358c4e3b", "format": 1 }, { "name": "plugins/modules/ce_netstream_global.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "513056ad07926689041963c45713b1a7dba10a614374e1633a08b4fbe818e30a", + "chksum_sha256": "30858e236d21d64443440fb2934988c7ba44ef0ec4f6f7011daf0b073bf90e64", "format": 1 }, { "name": "plugins/modules/ce_netstream_template.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4c54cfff3f136745075ef6d0916b663b9adc64d27fb390f8e2e97cd886fbb6da", + "chksum_sha256": "bb28e781a88d154c7aa74244716a8edc4d7504ba5dc13805d3cbd80e837da53e", "format": 1 }, { "name": "plugins/modules/ce_ntp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f00d04b44359350f7cd084d63d4d58033244ddd696bd05cfd208e14104bc70fb", + "chksum_sha256": "18ca3284c25013379333b2b8db78aa839ac12335895e7fd04a0d3a15c0c16495", "format": 1 }, { "name": "plugins/modules/ce_ntp_auth.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2b10c644e5383c55e46a741c2f40291c1768fa286a42d2d235a3c4525c21ab4c", + "chksum_sha256": "f55625180a2f7561548b1c05c402d5bbad391482cbcdc625537ce84e7300cd48", "format": 1 }, { "name": "plugins/modules/ce_ospf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f39c50c58e864b24dc048d462b226db74f58765d02b440958af8a971d84e58f1", + "chksum_sha256": "a436b5aff3114f80059f4d87d336b8cf8e31fa5f26284cc83f1f7301d06ed917", "format": 1 }, { "name": "plugins/modules/ce_ospf_vrf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5eba5902209463a5bfb5cfe13cb391c7ca4a1bca2b8061d995e1fa8f085ed7fd", + "chksum_sha256": "ba7b0b54299961536b277c8ba7761b2f2d18bf221699399defbba0fdc6aab37b", "format": 1 }, { "name": "plugins/modules/ce_reboot.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "55647a2e8e23cb36c658414c66f4faaa32fc42d547295e4185778c926b1d5855", + "chksum_sha256": "50d11531fd9f7791ba4fe4a577048f2e9daf0d5f962552add6f8bff53c94377d", "format": 1 }, { "name": "plugins/modules/ce_rollback.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fd85bd83ec3207f1ab638cca7197a3569b831c57dcdde9d5e9c0761157201ac7", + "chksum_sha256": "0b08168626145cd72b931aa0da55e18cb0a3587d176294a7b8a0742f989974a9", "format": 1 }, { "name": "plugins/modules/ce_sflow.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "89d58345c8273121e3b94a885b670ae1b57d57533a0eda86cded31d8a6eeb8b7", + "chksum_sha256": "2e569f0a6fc5975d927cef8265669434f6f80c27e152e487d8b26e22c0e90fa8", "format": 1 }, { "name": "plugins/modules/ce_snmp_community.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "96ce2c670a87fa6caa62c2b7c759e4ae03ff6893f3612ff2ebbc80ea7c017df9", + "chksum_sha256": "a846e0d8edb7930ac308f026c107717ec32e5c6527311ffc9110a5683770283e", "format": 1 }, { "name": "plugins/modules/ce_snmp_contact.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "17dcf7188c0787eef9a9d64337e939d5490f4a22753037d1df300361db33b191", + "chksum_sha256": "c62905c239d4a65b94c09e9fff362354635f4a746be18c8327624f9ae3fcfa51", "format": 1 }, { "name": "plugins/modules/ce_snmp_location.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ef267904934cbc6cfe14b255a93d0a28632a4df7225844ba77345dafe03e94fe", + "chksum_sha256": "46b5eabddb61f466b61bbce2060a3c4d07f56cca6f352a2ca3b3fc67b00fd620", "format": 1 }, { "name": "plugins/modules/ce_snmp_target_host.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7675516936ecdc62afcd40db1b0a0731d9adbb8ba19661abef4e377fbf1976bf", + "chksum_sha256": "891f6a5243f7cc55a935669f8d3520cc7eaaa5acfb238901914f1b2b798e05ea", "format": 1 }, { "name": "plugins/modules/ce_snmp_traps.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "138f6b7c82fe15e3d4ed6692200d5da37f37be6748803ea7ea0a0fcb1ad69d26", + "chksum_sha256": "ecd1fcb0e8e62c5beec95c797d81658d0f9fc50648064d57183b8806bca7edef", "format": 1 }, { "name": "plugins/modules/ce_snmp_user.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2f00c6a8eedb6776eb17d62c0b7cb356e89f228416796adbf0c652866b7b6ef4", + "chksum_sha256": "1c8d5955b842861e29ff050ead6f46afc8e91520a4844aa1a9c9443616955403", "format": 1 }, { "name": "plugins/modules/ce_startup.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4104ddc898aef41fd98c3dc72da796fe06fe300051c30515ed20fba842ee91f1", + "chksum_sha256": "7398855f44ce7d6101eb51ccd222c57fecff81e19b706cfba430c567ac00e439", "format": 1 }, { "name": "plugins/modules/ce_static_route.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2501ec0c331e36111761e1401913b9960579ab9146b5ffbf828d2f215eba7328", + "chksum_sha256": "bb68a805d169ac876b364ea4f8dca50dc7afb18b6cb2bcd39f4038d059fe5d9b", "format": 1 }, { @@ -2671,84 +2671,84 @@ "name": "plugins/modules/ce_stp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9f2698cb4dfb3cd9e724231b9048e7b99da074613c6d34dc629b4bdb4b640a37", + "chksum_sha256": "91c8c336646feddf6cc280a63d02821f83ca15a634130a5b0611815bde8c6da2", "format": 1 }, { "name": "plugins/modules/ce_switchport.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1ee5d2de50328a72c7ced10edf4c857bff9ddd9c5b3ff7c58c2cb1c2cbd09afb", + "chksum_sha256": "093e6489286ca23a6abbb8f073f8d0d8e9d884b1469f582ec2bf55dda9d67dba", "format": 1 }, { "name": "plugins/modules/ce_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3a34567ab19f117f6137abc49901d6bf9433974100f5fa88a948a834a95dda26", + "chksum_sha256": "3dca3e42e6758cc0e8c63aeefb5de16ab7625b8e482cdf0275b0d9b47085d34e", "format": 1 }, { "name": "plugins/modules/ce_vrf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bcce20cc03f360b9da4c8c9049e00a5cb322d65b56f35fa2c820f1f2cd01f8bf", + "chksum_sha256": "48cbeb266e88ac50d21cac1f6625c65d9277e75df3d125fb6ea88f82fc62725c", "format": 1 }, { "name": "plugins/modules/ce_vrf_af.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a5079a53a6186fbea31e67f72f7031cc8e87d723bc632717386fd9683df39f7d", + "chksum_sha256": "8baa66e9b405c040f5105514056fca5e11176bbb5e8a58812e075ce02d53fb66", "format": 1 }, { "name": "plugins/modules/ce_vrf_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e16a17dd2d5695860c1f4c5f2f75fd2e2d02458f8c64155c29a46fedc3ba0254", + "chksum_sha256": "07f84d8d45b9b2f48b17f31d4b9c70834eccdcf66d5614067a4bcaf01bfa16d4", "format": 1 }, { "name": "plugins/modules/ce_vrrp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b0686edb44db70be6396845d432736118e3ec923883df70e6311c5a8fb10c907", + "chksum_sha256": "1f84dfe136c035af9cc57a222d35fa3529e80e0570bfffccc58cfbdb8eb22f5c", "format": 1 }, { "name": "plugins/modules/ce_vxlan_arp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ad6a067ffb374dd70caa5d407d5801a8d973fea9e7087f7206e4ab93d424b4af", + "chksum_sha256": "a3a14c956a7aa25c4d4dee6da114df77e331a4d46580888f9479e1b78cb1b981", "format": 1 }, { "name": "plugins/modules/ce_vxlan_gateway.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a30fdaaeafb54e08176fe3ee6721f5c8ed9c8a511e46b7ef390a444c946b617d", + "chksum_sha256": "03f2095fc7b73eeed918b3d6f02729e1c29f8dbe8151c23a20abe5a9da6c5710", "format": 1 }, { "name": "plugins/modules/ce_vxlan_global.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f508833880a069c4038eda8f50f9663fda8f22e447aa8b1f3dd241c98e899f24", + "chksum_sha256": "eaaa436bc67bb428dfc2d58a7630fe140b12ecf5f9c9a4120dfa9454fbe8a913", "format": 1 }, { "name": "plugins/modules/ce_vxlan_tunnel.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0a12ff3ea66a7043e7485b7975f3be1e6ec793db0416ff6e90b532e603fe9bd4", + "chksum_sha256": "d38f9e42b8d845b8d565e0b128e225ec594a858b738101cbea9b65e3fe81469c", "format": 1 }, { "name": "plugins/modules/ce_vxlan_vap.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "79c6bae4284df00d9c42eab90e67b7857a94dcb9559dd08642ca41c04756e6b5", + "chksum_sha256": "da7a2f51c5ce91249519d456f5f6c98720d5d6cc14e1b0995d504137471cf107", "format": 1 }, { @@ -2797,7 +2797,7 @@ "name": "plugins/modules/cnos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "939decccfc864f8bd7cccb248b6b10417b653d7ba3349dd727163e1f74738373", + "chksum_sha256": "d61a44027be44f7f71c820b7b7cc4455a1c4a7c36da4a5abf523cde6287d9b80", "format": 1 }, { @@ -2825,7 +2825,7 @@ "name": "plugins/modules/cnos_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ca6c4e4856da5cf4e05393f3f6ce6bfbe2b6c04dd13b027bc4a2e6cc0237b27f", + "chksum_sha256": "ff18e8532b248794013be907f6df5c67e4d67b93285cfed0516b84e64dea79e1", "format": 1 }, { @@ -2839,14 +2839,14 @@ "name": "plugins/modules/cnos_l3_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5f3bed1cf7910be1b89752a0928e269b56af1a17ccfae92a7890ec52292afd55", + "chksum_sha256": "4cad107eae103b8e2e9095b336c9a183a34baca95d240cbac63ddadfc4064746", "format": 1 }, { "name": "plugins/modules/cnos_linkagg.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a621085161345655a10ba5dad04c4a51d8b49b3d39725b3a51004cdadafb7c67", + "chksum_sha256": "04fa561a2d28515553330cb664ab1fdce76d7d38dc1c5fc242d6709c5a3ad191", "format": 1 }, { @@ -2902,7 +2902,7 @@ "name": "plugins/modules/cnos_system.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b7aae992df21f2352edc812f2216f1d874aa8f394d6d94715634810cbb06666c", + "chksum_sha256": "90dbc562f4e9fd054f30ac7384d9937b4bced2bea2b29826e370393668aa728e", "format": 1 }, { @@ -2916,7 +2916,7 @@ "name": "plugins/modules/cnos_user.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1fd028122d23d08086ecff637ef44bbeb99add0c41b65a64bf35711d78be26ce", + "chksum_sha256": "2b15a910f0c91a4568ea4599401dfdf3d814f9714e1ed0605ef6ef512e306d67", "format": 1 }, { @@ -2930,21 +2930,21 @@ "name": "plugins/modules/cnos_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "eb59cfe9496c4af59980f45dce7da4e15e2ac7250aeea67625521f2b8c681475", + "chksum_sha256": "20c7fcbe60a4f76888151d1880376c2b133fc261e24fd112701158e06b91c470", "format": 1 }, { "name": "plugins/modules/cnos_vrf.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "56c7e8ffed69cce4c21b3cae10c8a6837eed8a7cfb43b8da80a26ea14a2a9e11", + "chksum_sha256": "4e7d17763b2e90c47e22c842af049cd56ed24417677e707e2478fe2056350341", "format": 1 }, { "name": "plugins/modules/cv_server_provision.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "918394f978a469d0788e8b067e0c3461e7965d716b0b7cfc64aa3529f25ca68f", + "chksum_sha256": "9971250987aa7ee41d30412dcfe6d911ac2ed2046754b18cdb41bc15627edb1f", "format": 1 }, { @@ -2958,21 +2958,21 @@ "name": "plugins/modules/dladm_iptun.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5c4ba9ca683b871ac99a50b5f1822c695acf9e641cb8773aa6517ae525f3c9b5", + "chksum_sha256": "28c570bf40fe504a212f1844efcc37e4514f6606e5d15e3028a72844b348d7e8", "format": 1 }, { "name": "plugins/modules/dladm_linkprop.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5b6c11c28e5ebc95a48961f8759759df7ae58c826499b723707d238bbcbae47b", + "chksum_sha256": "07399023e5681c5c7d6a66be782d8b4575e806048844a19b585ce95e6a414222", "format": 1 }, { "name": "plugins/modules/dladm_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f74190c6018fe56153cf51ee5fb787149c598c1cab41e527b48bf585ce222e99", + "chksum_sha256": "0199c407e906067c531ac20432fe72b507a69310dfeed80b0f9cb3f252725394", "format": 1 }, { @@ -2986,14 +2986,14 @@ "name": "plugins/modules/edgeos_command.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "132165f664de356ae40ba20140433a3f98bc8fd11ec329733ea257809c78d0a5", + "chksum_sha256": "dd26345eaa576390fadd142b13941d58a8c8c5cb85baf8367077d0c6e3b6cbf0", "format": 1 }, { "name": "plugins/modules/edgeos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e0491b939eb5faa017b2bfb78b4909d8760ec39732aa5eac67803d991a9c4902", + "chksum_sha256": "db9ad6a7942bc6255fe50d84d3a38f1f611acd671516c0bee5a5d984a78f6c09", "format": 1 }, { @@ -3014,7 +3014,7 @@ "name": "plugins/modules/edgeswitch_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c30042ceac9e9d833cd59138f8760ad8735d41ab91a5b791153b13e7d56bbc6a", + "chksum_sha256": "d8f4dd47a7c1a2662e2f2776b24f5d7e65cfee9d2255f8511c62b4ed442b926e", "format": 1 }, { @@ -3028,14 +3028,14 @@ "name": "plugins/modules/enos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4a247f03d9eac7419a929875ae25563592cc032d4ffdcf7c9e667a1f69262bee", + "chksum_sha256": "504f628a94ac42f20c3267c86a81a3d39605b15cb228148c284d84aff79f6f1e", "format": 1 }, { "name": "plugins/modules/enos_facts.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "540cacd247c3bf2320ad5f2b8c223e9ed8a9dab7d37695729e1c68dc03bbf032", + "chksum_sha256": "3cb400360116f5a6e4443b0712d2b90c01114f90bd16841c1b3db8d691683bce", "format": 1 }, { @@ -3056,21 +3056,21 @@ "name": "plugins/modules/exos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f5371b5682689f80baeb027d3a67ed67564a019eecfc32a016d8246050044c2e", + "chksum_sha256": "7c4adb35bf6676ea645ccb0633b78afcddaf8a6e22308a2fc12bea76487b8fed", "format": 1 }, { "name": "plugins/modules/exos_facts.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "628cfd8d1d5f1a561254ef4e31396c9b06f652a01c94de179ec5b180b9845a40", + "chksum_sha256": "1f4dfac707af64cc4bb89a6c7d18ce2a1b66d74ee4eebd4ebd41fcb5c65e2042", "format": 1 }, { "name": "plugins/modules/exos_l2_interfaces.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cffece78206592dd8e169c954780ee995c15dfc4a343970f0eaba9aed0afaa0a", + "chksum_sha256": "dfa95eda5c343cd86cad0eb75766f4497abafec9119ce1970a4514ebc44ad841", "format": 1 }, { @@ -3084,14 +3084,14 @@ "name": "plugins/modules/exos_lldp_interfaces.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ee89d035c037836df98164e1b9bfa50092a1cb4deb40d3857dc61d769a444716", + "chksum_sha256": "9557eb88573fb611d3b073ef00b2ab1c580ec0e3ae8d3bff10e39cfbe75654c5", "format": 1 }, { "name": "plugins/modules/exos_vlans.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "17a8ca6560c6de2c73b06886535ab67c209206ebc80e2212649c32246e66957d", + "chksum_sha256": "a79d6e413f37296549ffe6342b911eac6b856f04aee8aa5004bfef0a6a814c6d", "format": 1 }, { @@ -3133,35 +3133,35 @@ "name": "plugins/modules/iap_start_workflow.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "113e084f424d5dce881d38c816b8806063ba71226037ad9eb8c44a193ade4ff5", + "chksum_sha256": "0d418e318433561926e351dc498cc35dfd3495d1aa33c080906be39414a1daf6", "format": 1 }, { "name": "plugins/modules/iap_token.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e4a29ec44bb23052d6db89921a7f3be6f7664c63bb0d531371dc54a480a8afa1", + "chksum_sha256": "e0999f4d5d31083f7d22d5762ba5f4843b22b35d81233e4944ea9eca2a3d6776", "format": 1 }, { "name": "plugins/modules/icx_banner.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9a8aa17cebce5da1265cdcd0f4e02d11a8cec26dd6c479106d139f06b769a43d", + "chksum_sha256": "cfb365295270e0f7895f8da95a7edb61c7e1a25f2b99500db568e091be726d67", "format": 1 }, { "name": "plugins/modules/icx_command.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a72ba5184647f3e74a380bdc2e7c64f3992471a14c29039c8488c56d85f43a9d", + "chksum_sha256": "81ddda4515e163ac32ef09519ad214b956574c45fd3fddf5fe7a2e76f33b464d", "format": 1 }, { "name": "plugins/modules/icx_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c065e751fa34cd39ef8a622c320f2e669bde0630a7b0ad70b70ff97aa0cd8e7f", + "chksum_sha256": "20949a377807fa05336bc6ffa5f7397ae510486a8663993e97ca1c2261da451b", "format": 1 }, { @@ -3182,35 +3182,35 @@ "name": "plugins/modules/icx_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dedb6ea8ed2c3f6cbc453428ae0f334352110189023ad7ee941c7dfaae151c96", + "chksum_sha256": "4a746aa14308b85a03d9f3ceee6749cb6f7b04954f21147b58269ce58db38dd1", "format": 1 }, { "name": "plugins/modules/icx_l3_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "95e8253ed0f1016bb28bed0f4158949d151594a65298497a3856555bb949b2b9", + "chksum_sha256": "1c1f0d334519b971ba32c35e5cca8063ed74a16f95733d2ab5d67e5a49f3843e", "format": 1 }, { "name": "plugins/modules/icx_linkagg.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4f090219ad0de6780067b138b736e5c07d10ac01469b7dc8e7795bec91e73740", + "chksum_sha256": "be446f6d25a2355e089690df8e651243b88915981680ffbe0f0d12e65f9caf3e", "format": 1 }, { "name": "plugins/modules/icx_lldp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "92aeadfcc2cb5c3e3b11c0016c088903768be2948f88f2286b691821d278ec79", + "chksum_sha256": "3f9b94e21ae4568ee82101327c3083b3e3ede98889f5033fdcf2150fdc1f6f10", "format": 1 }, { "name": "plugins/modules/icx_logging.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "17240b62176a02785763a49333347968028fdc160cf635b779026ff9572f7ed1", + "chksum_sha256": "3d496d2b96e7a0996f82303a915488fddfb4bde885cb802e9eef5991ea8c262a", "format": 1 }, { @@ -3224,28 +3224,28 @@ "name": "plugins/modules/icx_static_route.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c6943916a26d503350df2cdbf63d717d14a2ceed7ffea26711a093284026fb4d", + "chksum_sha256": "fde2ae7ea98eda7b8d2f532fbb1239bdddc26dc484f4771513fe25c73e56a02b", "format": 1 }, { "name": "plugins/modules/icx_system.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "564de567d8b29f600e49324b7bfa4b0397a3c7285a517e4e186286a5e4911867", + "chksum_sha256": "5d7296602455207f10ede17722e91e76cfdab838a4936e828d587c9df2bb8bd3", "format": 1 }, { "name": "plugins/modules/icx_user.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f314c695c884bee8543393e9cf23865462338007125719ab2993b540642717ba", + "chksum_sha256": "2c86d8ab13812b20268a103a42aceac9d8ae025d3331a937192b87e7a5bd3a32", "format": 1 }, { "name": "plugins/modules/icx_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a940627ae2a8cdddfb9e640a24c66ddfcaed7c5ca580c36769d171c2ea83b2b8", + "chksum_sha256": "73882a21a3432f6d1078ff28bfd0ddb4be61d4394e7c6f232e5190a1510f871e", "format": 1 }, { @@ -3266,14 +3266,14 @@ "name": "plugins/modules/ipadm_addr.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0d9e56f0395994e3b42fc45b9b058e5c70169c946644335924852eb440468a39", + "chksum_sha256": "ba741b8510e3a3f4cfda29961bcceb8affbffda177bd3a1307d37bcf0e056156", "format": 1 }, { "name": "plugins/modules/ipadm_addrprop.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e55af43debb057573a28c57f8fd39ce598ab38cc68d7d314620cdff68a591a43", + "chksum_sha256": "d175f07503b46cac5a91a9c8e2b1ed7fc1a502e80ef6a9f53f40ce39f76d5604", "format": 1 }, { @@ -3322,7 +3322,7 @@ "name": "plugins/modules/nclu.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c69d24176d3bf1cf92213de0ecb82aa04f5ca82bee8e650a4e368c18783a16bd", + "chksum_sha256": "ccfb748b6311f54ba63737eb22b8fa4f7c05d02570085841faff3ca48b0b1179", "format": 1 }, { @@ -3336,14 +3336,14 @@ "name": "plugins/modules/netscaler_cs_action.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ea9fb5b3f66ab85d7512ad2e0546ce81f4902ab3704951923365a383ffeb1eac", + "chksum_sha256": "bace85b0fc94caf02b1bb3b816d1343b1c7f5ddf27f1c4108257872db0f9bd64", "format": 1 }, { "name": "plugins/modules/netscaler_cs_policy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "99d6305e73f3b2dfd5b705f22820b36693294b678edaa074ef44f2c797e31b27", + "chksum_sha256": "6f707d9fac3e731d751d9ac28a7a93c46a3a92c48eff313952126000558f9f74", "format": 1 }, { @@ -3378,14 +3378,14 @@ "name": "plugins/modules/netscaler_lb_monitor.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2283bd0f670a9881a59c25fedc0ba6976df0f6362419dce2b8cc0f87979b3084", + "chksum_sha256": "551abb22dfba1fadec7b0a1aee85dcdb58330e1aa849a230e1e0293859073cea", "format": 1 }, { "name": "plugins/modules/netscaler_lb_vserver.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fd5ef533dba2d6d80aa23c730b22d8a89549ee4cdd8dc7085e17dc082ed8380e", + "chksum_sha256": "14e3e6273d7e551eb461a5534cd1bfd77bc80a58e7b34e20d5ffa1cad0081221", "format": 1 }, { @@ -3399,21 +3399,21 @@ "name": "plugins/modules/netscaler_save_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "77dfecfb3fd65a4fdcf9dc34ee917bd24e960117c6d3ca96a69f897468fb6ece", + "chksum_sha256": "953638a641d204598b515595d7f5c4c3a64e8d3134e06959438a14f52a72db17", "format": 1 }, { "name": "plugins/modules/netscaler_server.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "94018bd1098c729938483a54e1659e7123640dfda3f5c0f4178299f2832b952b", + "chksum_sha256": "1670bb41d3dfd5364e84a033c9d988ec8f23cf72610f2c088bf1cec5586de7fe", "format": 1 }, { "name": "plugins/modules/netscaler_service.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "21bd6199634bd0f6e88de94eed6589ee292e34b244877e5b7d86a7e1239e3705", + "chksum_sha256": "6fff069a5645e76019a928c40e49f5f3561e39626e7c5e0b487952280295acec", "format": 1 }, { @@ -3427,7 +3427,7 @@ "name": "plugins/modules/netscaler_ssl_certkey.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2b16e17610241bf677af421f25b9326c7694a1ed4458960d4109aed5c356a982", + "chksum_sha256": "e383c9818608d34f697d9adb3776cd38614698ed84f19a582177e6fa2c851676", "format": 1 }, { @@ -3441,7 +3441,7 @@ "name": "plugins/modules/nos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cbdc3ef56e2ce10e391e843aae1a1c10660e4ea26b6177eb014bf797b29bfa12", + "chksum_sha256": "270d95142fe7afe23c1818a598110637566f782c9d221cf9e3af75af101845e2", "format": 1 }, { @@ -3455,14 +3455,14 @@ "name": "plugins/modules/nuage_vspk.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "aaf49addb8a0863172f66c70c507378e85056a3c94ee1398c8e0a8f883409c8e", + "chksum_sha256": "86c61144bddeb36d9d0d916891b6d4a8efb73b9545d5e29a0b4126f110db2ee3", "format": 1 }, { "name": "plugins/modules/opx_cps.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d0884de0f1216e608b0ced3fb9235c09bee3d11060cd8f0bf7966fcd7b1d995e", + "chksum_sha256": "be0ce2c46241809846c77d9b4c0a4dad53be9aaddf1c8ef9ef5515b5fbafcd83", "format": 1 }, { @@ -3483,49 +3483,49 @@ "name": "plugins/modules/pn_access_list.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "560d3097392d6dd35f2e64bfcc5efe6a9f264a996c5f1ec2461040caffc2f027", + "chksum_sha256": "500a8de056bfa392df76a0f8c99033e52dc0cb1359acbda51799575fe00a2213", "format": 1 }, { "name": "plugins/modules/pn_access_list_ip.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7d2fb80da0557f95b26887df75d62b3bd7756399759f9a01fba8252c5fe50053", + "chksum_sha256": "f8008e938d253ef649aad7fc3c4e340b98819578bf663d6f35d368aa82c3b022", "format": 1 }, { "name": "plugins/modules/pn_admin_service.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be72b15bd0a92cfd08d5e8ddeac0dcc2ab8cb0f71a44bea3aa94a1fc522d8980", + "chksum_sha256": "4769a9c97624630cabd29a7cc933d5719459eb20391a7c8164176f06061c145a", "format": 1 }, { "name": "plugins/modules/pn_admin_session_timeout.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bc66694fc966dd263ecdf1525cbe6a20d11b55259eaf4f79ca8fb47024183c08", + "chksum_sha256": "bd2a5ceca06c24312489850ea7bfd1fe737450674e77da75fe2b220930ad3252", "format": 1 }, { "name": "plugins/modules/pn_admin_syslog.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "07590b305dea585190e2c893d6623d32300afcc0d3d6b90609284628ad343700", + "chksum_sha256": "0d5ce6f3cf05eafd6b2767b8e798d62a4c46c9d4f7a0e6d39d014cad0f8922f2", "format": 1 }, { "name": "plugins/modules/pn_connection_stats_settings.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5cd89db3aad5e97e5ee0f94028393f076e05c1ec748f2b7dc027435cb3c734c9", + "chksum_sha256": "7d04a08778b53e216de7108abefe2191932b61849620896f65c08862bb54fb23", "format": 1 }, { "name": "plugins/modules/pn_cpu_class.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "916b3ada72d9fb160da285212f61af10cb9b64c3ab2a888aea28ab1106576603", + "chksum_sha256": "399b8075e51e4b9cb207331c9a00cd7f8891ae9d6532d494838428d163c8d8b1", "format": 1 }, { @@ -3539,21 +3539,21 @@ "name": "plugins/modules/pn_dhcp_filter.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8b19415bc22e4726e53d0c7634762216a083768b0c3845ed5138368539514885", + "chksum_sha256": "40cccd9e720f598c4093b81906e7d60598768e72dbf12d44657501ad22b25a46", "format": 1 }, { "name": "plugins/modules/pn_dscp_map.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "25677097b3f64da8b9fed2442a2e15070fd750e2efdc31142b8d033498e6367d", + "chksum_sha256": "c0ab25bdcb2cd27da19a687d525dba06fe1c620888f86a20b528c59ab149d75d", "format": 1 }, { "name": "plugins/modules/pn_dscp_map_pri_map.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bfff07c4f2f543ad0291eafd492508d601f13b0857fb77e79147a18c3b9cf0a3", + "chksum_sha256": "61dda579a31af7a39ccc921b25fa1fc23310d66a2969a86e73e481b9de03d629", "format": 1 }, { @@ -3567,7 +3567,7 @@ "name": "plugins/modules/pn_igmp_snooping.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "568ce1b98165a199ecd549a3ae6cd9e7c0584e9de2b9cdc602f90f560b7d3270", + "chksum_sha256": "b49273fc3eb322a13c012cc7f89678c37379e1fb3a896ce642163106163f1f4b", "format": 1 }, { @@ -3602,14 +3602,14 @@ "name": "plugins/modules/pn_port_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "37cfcec72cd067288255aca035eed825669cda9eb57e5ad1598575f6aa45b47f", + "chksum_sha256": "9873dd51eecc2a59b27bf6468fd52cd99d0b2c1527bb3b196630b129a6c48ccc", "format": 1 }, { "name": "plugins/modules/pn_port_cos_bw.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0d28dcc219876543ff6ebb33568d8990ba2bd792375e7e6d5ae616a089523e4f", + "chksum_sha256": "5c0fa9cf9d0ac89670af14ca5844e704d0c45688aad58711d01fa88f746ddae3", "format": 1 }, { @@ -3672,7 +3672,7 @@ "name": "plugins/modules/pn_stp_port.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "324b34d18f966126f9eaf05a0a63288709a419ec5748c36f24e9b8f5df06d279", + "chksum_sha256": "21a7f254accdbb0b4d5df29397a16980d2e99b83943dbf80de7faf085a959a0f", "format": 1 }, { @@ -3700,7 +3700,7 @@ "name": "plugins/modules/pn_vrouter_bgp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "69cdf870f2e97e5b5e16d2f200b492c7ed514833e1c784157a3ab43e384305b9", + "chksum_sha256": "0fde50f78d3b177c77af5d62d37698a26cc9b41b175c3d1b619db84401f622e1", "format": 1 }, { @@ -3756,7 +3756,7 @@ "name": "plugins/modules/pn_vtep.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "58a225400cfc89b8956bd1d2193543e39e009bb1f732fe12a298b9983871067b", + "chksum_sha256": "4b190c1711b652f8f6d86defcf86be240eb3b3f61cee16143a21e5258908cefa", "format": 1 }, { @@ -3770,7 +3770,7 @@ "name": "plugins/modules/slxos_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7c83bbb33887f680037998c0c647bc273f5dc92a4da21cd509894e0f55a294d9", + "chksum_sha256": "1ce36b0ff878c7dd330445f9d4401fa80d487cc3f6294f92e01a55385502ac85", "format": 1 }, { @@ -3784,7 +3784,7 @@ "name": "plugins/modules/slxos_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "aff441acf1abe5e758b616ec2446efb21189359c742eb35504849274c5362012", + "chksum_sha256": "d67e69c02f533451723e497e28b305f5f29eff0ceafee4493dc3f90aacf300ee", "format": 1 }, { @@ -3798,7 +3798,7 @@ "name": "plugins/modules/slxos_l3_interface.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d1c89439182f75b326a162576c5e50bfa27951ed9dfafd7389cfc3043d194daf", + "chksum_sha256": "f3681f451aff73be0c710643bc2306126ac8e5b05298ec046dfa7c8f80b0a4e4", "format": 1 }, { @@ -3819,7 +3819,7 @@ "name": "plugins/modules/slxos_vlan.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a3e6a69ead70965169aa0fc4cca419e793ea106b12a010a550562dda912a0281", + "chksum_sha256": "5917d1a70b5135e4e0616e2940a590819ce0859386f995488355b4d8dc942147", "format": 1 }, { @@ -3833,7 +3833,7 @@ "name": "plugins/modules/sros_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3fdff0fdc5035b8614e005892eafa2c40aaaf221e457dd17173adcfd462296f0", + "chksum_sha256": "3ee6b62eb6fe01ee88d7da6810bbdd9e58be08948d6e2887022fed43a188b4bf", "format": 1 }, { @@ -3847,7 +3847,7 @@ "name": "plugins/modules/vdirect_commit.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "199e07a4d731aa9f342528cdc208814670a1eaecb3bc0edf52e3293ba8ef5764", + "chksum_sha256": "1fe2539f0778d383b2e15e3b95572bdbe49d068e28490465940095d49c40e75a", "format": 1 }, { @@ -3875,7 +3875,7 @@ "name": "plugins/modules/voss_config.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1d63b9dd8c656e56d459785c6f272f3ee4bf4ce7e185b514de85be9ee1574e15", + "chksum_sha256": "be432bfd7df2c24b12750336cacdfd18676df737c2355177f1e3b0268e46cb31", "format": 1 }, { @@ -5359,7 +5359,7 @@ "name": "tests/integration/targets/cnos_conditional_template/tasks/main.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "60858c6006f7396730f831cf31340cb41e05cc9e0299dc99221f6b83c4412fcb", + "chksum_sha256": "33dcf33e4c88ade3d1c60730310b05bd52f351023b6cf2c9c06d2ae2fb2bd8d8", "format": 1 }, { @@ -6626,7 +6626,7 @@ "name": "tests/integration/targets/cnos_template/tasks/main.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d5a5dab05a433ecd8cf84712f12930fa7caf2d3dbd099832051a828b183530d5", + "chksum_sha256": "6dc88162d03f4052b28d1854e4dacff60ff8744e66c54b62952ef68a21910a5c", "format": 1 }, { @@ -8257,7 +8257,14 @@ "name": "tests/integration/targets/prepare_nuage_tests/tasks/main.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b08c2318ec3bb630e636c73c78b78064327e2a9f37739cce97c77e62068ac30f", + "chksum_sha256": "600b3fe7d93523342ef63fea78046963b1ef6ce4fcdc523b6ff18215159285c7", + "format": 1 + }, + { + "name": "tests/integration/requirements.yml", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "d2255786efeffa835bac71b3e57a0385152201a81563317c182355b8ffa487eb", "format": 1 }, { @@ -8317,13 +8324,6 @@ "format": 1 }, { - "name": "tests/sanity/ignore-2.11.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4fa4782d1fc09b6b761aad9dab2c4597e2e4039b345807a32b2d156446c774d7", - "format": 1 - }, - { "name": "tests/sanity/ignore-2.12.txt", "ftype": "file", "chksum_type": "sha256", @@ -8348,7 +8348,21 @@ "name": "tests/sanity/ignore-2.15.txt", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "88d72bc555cae33347f461bd741bbf04b34c1594ec22ac18bc6b19b6b14ec0b4", + "chksum_sha256": "1c18bd4cb71e089a317436248584e1482a76baf50ed173c32ce45915118b575b", + "format": 1 + }, + { + "name": "tests/sanity/ignore-2.16.txt", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "1c18bd4cb71e089a317436248584e1482a76baf50ed173c32ce45915118b575b", + "format": 1 + }, + { + "name": "tests/sanity/ignore-2.17.txt", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "1c18bd4cb71e089a317436248584e1482a76baf50ed173c32ce45915118b575b", "format": 1 }, { @@ -8411,7 +8425,7 @@ "name": "tests/unit/mock/loader.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cfe3480f0eae6d3723ee62d01d00a0e9f58fcdc082ea1d8e4836157c56d4fa95", + "chksum_sha256": "aec7750aabec8f519349a0b0899efbcc4ceadb57ade3201914debe347f4b26a5", "format": 1 }, { @@ -9381,13 +9395,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/cnos_fixtures/show_ip_interface_brief_vrf_all", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "436485fc03ef0843e5cbe8721a2376b285088dc5f3eb3136e1093bade5071399", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/cnos_fixtures/show_ipv6_interface_brief_vrf_all", "ftype": "file", "chksum_type": "sha256", @@ -9409,13 +9416,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/cnos_fixtures/show_run", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d87a3adfd4ef61722e7a5c9bf1d0ccc1c6729847530bebb193efd22a9fb11b62", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/cnos_fixtures/show_run_interface_ethernet_1_33", "ftype": "file", "chksum_type": "sha256", @@ -9430,13 +9430,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/cnos_fixtures/show_running-config", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "d87a3adfd4ef61722e7a5c9bf1d0ccc1c6729847530bebb193efd22a9fb11b62", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/cnos_fixtures/show_sys-info", "ftype": "file", "chksum_type": "sha256", @@ -9689,7 +9682,7 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/exos_fixtures/show_port_config", + "name": "tests/unit/plugins/modules/exos_fixtures/show_port_config_no-refresh", "ftype": "file", "chksum_type": "sha256", "chksum_sha256": "462e36bae9dba777a0cf5d4a442c2018f54ada1c40d9759f0ca35dfe780e90f6", @@ -10599,13 +10592,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/test_avi_user.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "261ea0fb10367675a0f78444335d835f0b20f8bcbf2907e12e2edffe83c4cbeb", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/test_ce_is_is_instance.py", "ftype": "file", "chksum_type": "sha256", @@ -10690,20 +10676,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/test_cnos_command.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1e5c9bae357d5622b2a15855bea691c3ae393c41592a1bd9488170815440d454", - "format": 1 - }, - { - "name": "tests/unit/plugins/modules/test_cnos_facts.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "db56351e78e8c0b020b87789fb4b6890055a45ccb3db3b9027f4e735f2d075c8", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/test_cnos_l3_interface.py", "ftype": "file", "chksum_type": "sha256", @@ -10725,13 +10697,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/test_cnos_static_route.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "e64eb9bf4eb19b632972af81259fb52654f3097a35780ba736f732e731fa6d16", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/test_cnos_system.py", "ftype": "file", "chksum_type": "sha256", @@ -10767,13 +10732,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/test_cv_server_provision.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "3898b3f0bda9ba2ebb75a2beab6a7f7d5b998f8676af1ff1dd36106f5f52c172", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/test_dladm_vnic.py", "ftype": "file", "chksum_type": "sha256", @@ -10984,13 +10942,6 @@ "format": 1 }, { - "name": "tests/unit/plugins/modules/test_icx_static_route.py", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "b9b1f7236cab4d504abe0efa234e95f89897e09a1d0c2abb40b7d9f2898d2d90", - "format": 1 - }, - { "name": "tests/unit/plugins/modules/test_icx_system.py", "ftype": "file", "chksum_type": "sha256", @@ -11638,7 +11589,14 @@ "name": "tests/unit/requirements.txt", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dddb957cea08ddfa3823960fd199da2d2b628b30e8f32422762c1e2f49c0f244", + "chksum_sha256": "eef00da8b8ca02c8a99021d24cf8c60f6fd474afaae30f6b948f42e5e8998b01", + "format": 1 + }, + { + "name": "tests/unit/requirements.yml", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "d2255786efeffa835bac71b3e57a0385152201a81563317c182355b8ffa487eb", "format": 1 }, { @@ -11768,10 +11726,10 @@ "format": 1 }, { - "name": "tests/requirements.yml", + "name": ".ansible-lint", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0910d26a3f5e6984e697e713c648c393d998205d83dbbbdda1373674b50ac084", + "chksum_sha256": "280a8ef74afe32e46ceb0316724a47a8239ae55dd0d49f56bbb10a1ee22e8e36", "format": 1 }, { @@ -11792,7 +11750,7 @@ "name": "CHANGELOG.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c7a4f121e50b29ff1c6158ac617e43185f2e78060b7c1e4752e5941ef2e5744c", + "chksum_sha256": "f75120a830b09fe02ee6342d7e5e2f9ce03992ddfa862bdb1538f7b08d9014a0", "format": 1 }, { @@ -11820,7 +11778,14 @@ "name": "README.md", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d0497e5484920022e81cc8de1e75cc2165e4b165aa16ade29c24910fe597b9e7", + "chksum_sha256": "5db1e1a06abb9ba8c8c63f78cfc20827eedb55817e3fb58dd41ee48c5373e903", + "format": 1 + }, + { + "name": "requirements.txt", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "7b926e4fb860f4f51801977a857f6d0d4b41bec3b4614bdd1f1f262afe3dff5e", "format": 1 }, { diff --git a/ansible_collections/community/network/MANIFEST.json b/ansible_collections/community/network/MANIFEST.json index 456b504c9..82b457808 100644 --- a/ansible_collections/community/network/MANIFEST.json +++ b/ansible_collections/community/network/MANIFEST.json @@ -2,16 +2,16 @@ "collection_info": { "namespace": "community", "name": "network", - "version": "5.0.0", + "version": "5.0.2", "authors": [ "Ansible (https://github.com/ansible)" ], "readme": "README.md", "tags": [ "community", - "network" + "networking" ], - "description": null, + "description": "This repository contains the `community.network` Ansible Collection. The collection is a part of the `ansible` package and includes many network modules and plugins supported by Ansible community which are not part of more specialized community collections.\n", "license": [], "license_file": "COPYING", "dependencies": { @@ -26,7 +26,7 @@ "name": "FILES.json", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d0b93eb8ff82dcc20fb4891b04d94b93e058cca10642fc04c5b40bc8092004a2", + "chksum_sha256": "e1c51f77033732d00f7c6000f269e730bdde56f0ff50e22c7be1f81f3d59cfc1", "format": 1 }, "format": 1 diff --git a/ansible_collections/community/network/README.md b/ansible_collections/community/network/README.md index 2e103e5c7..5e94a32cf 100644 --- a/ansible_collections/community/network/README.md +++ b/ansible_collections/community/network/README.md @@ -31,20 +31,28 @@ If you're interested in becoming a maintainer of this collection, refer to the [ We announce important development changes and releases through Ansible's [The Bullhorn newsletter](https://github.com/ansible/community/wiki/News#the-bullhorn). If you are a contributor, be sure you are [subscribed](https://eepurl.com/gZmiEP). -Join us on: +Join us on Matrix in the following (and other) rooms: -- IRC - the ``#ansible-network`` [irc.libera.chat](https://libera.chat/) channel -- Slack - https://ansiblenetwork.slack.com +* [#users:ansible.com](https://matrix.to/#/#users:ansible.com): general use questions and support. +* [#network:ansible.com](https://matrix.to/#/#network:ansible.com): network-related use questions and support. +* [#ansible-community:ansible.com](https://matrix.to/#/#community:ansible.com): community and collection development questions. +* other Matrix rooms + +Note that all the rooms above have corresponding bridged IRC channels on Libera.Chat. See the [Ansible Communication Guide](https://docs.ansible.com/ansible/devel/community/communication.html) for details. + +Also join us on [Slack](https://ansiblenetwork.slack.com). Contributors to this collection take part in the global [Ansible Contributor Summit](https://github.com/ansible/community/wiki/Contributor-Summit) virtually or in-person. Track [The Bullhorn newsletter](https://eepurl.com/gZmiEP) and join us. For more information about communication, refer to the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html). -## Tested with Ansible +## Tested with ansible-core -Tested with the Ansible 2.11, 2.12, and 2.13 releases, and the current development version of Ansible. Ansible-core versions before 2.11.0 are not supported. In particular, ansible-base 2.10 and Ansible 2.9 are not supported. Use community.network 3.x.y if you are using Ansible 2.9 or ansible-base 2.10. +Tested with supported versions of ansible-core. +Refer to the [AZP test matrix](.azure-pipelines/azure-pipelines.yml) for details. ### Supported connections + The community network collection supports `network_cli` and `httpapi` connections. ## Included content diff --git a/ansible_collections/community/network/changelogs/changelog.yaml b/ansible_collections/community/network/changelogs/changelog.yaml index 94de9fa0b..36d66e2a3 100644 --- a/ansible_collections/community/network/changelogs/changelog.yaml +++ b/ansible_collections/community/network/changelogs/changelog.yaml @@ -80,3 +80,39 @@ releases: - unflatmap.yml - validate-plugins.yml release_date: '2022-11-04' + 5.0.1: + changes: + bugfixes: + - cnos_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). + - 'exos_config - missing whitespace in command with ``defaults: True``. It happened + because the command is ``show configurationdetail`` instead of ``show configuration + detail`` (https://github.com/ansible-collections/community.network/pull/516).' + - exos_facts - returns timeout error when we use connection type ``network_cli``. + It happened because we send command without ``no-refresh`` and script ``cli2json.py`` + stuck in loop while reading console output (https://github.com/ansible-collections/community.network/pull/517). + - icx_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). + - slxos_l3_interface - fix import errors (https://github.com/ansible-collections/community.network/pull/531). + release_summary: 'This is a patch release of the ``community.network`` collection. + + This changelog contains all changes to the modules and plugins in this collection + + that have been made after the previous release.' + fragments: + - 0-fix_imports.yml + - 5.0.1.yml + - 516-whitespace-exos-config-defaults.yaml + - 517-add-ports-no-refresh-in-exos-facts.yaml + release_date: '2023-10-24' + 5.0.2: + changes: + release_summary: 'This is the mock patch release of the ``community.network`` + collection + + caused by Galaxy issues. + + This changelog contains changes made since release 5.0.0. + + See the changelog for version 5.0.1 for details.' + fragments: + - 5.0.2.yml + release_date: '2023-10-25' diff --git a/ansible_collections/community/network/plugins/doc_fragments/a10.py b/ansible_collections/community/network/plugins/doc_fragments/a10.py index d6bf5cd7f..2359e4727 100644 --- a/ansible_collections/community/network/plugins/doc_fragments/a10.py +++ b/ansible_collections/community/network/plugins/doc_fragments/a10.py @@ -36,13 +36,13 @@ options: including those that may have been made manually or through other modules, so care should be taken when specifying C(yes). type: bool - default: no + default: false validate_certs: description: - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled devices using self-signed certificates. type: bool - default: yes + default: true notes: - Requires A10 Networks aXAPI 2.1. ''' diff --git a/ansible_collections/community/network/plugins/doc_fragments/enos.py b/ansible_collections/community/network/plugins/doc_fragments/enos.py index 8018933ef..bbc2c0c50 100644 --- a/ansible_collections/community/network/plugins/doc_fragments/enos.py +++ b/ansible_collections/community/network/plugins/doc_fragments/enos.py @@ -21,7 +21,7 @@ options: is not specified in the task, the value of environment variable C(ANSIBLE_NET_AUTHORIZE) will be used instead. type: bool - default: no + default: false auth_pass: description: - Specifies the password to use if required to enter privileged mode diff --git a/ansible_collections/community/network/plugins/doc_fragments/ingate.py b/ansible_collections/community/network/plugins/doc_fragments/ingate.py index 8132d4962..def095adb 100644 --- a/ansible_collections/community/network/plugins/doc_fragments/ingate.py +++ b/ansible_collections/community/network/plugins/doc_fragments/ingate.py @@ -53,7 +53,7 @@ options: description: - Verify the unit's HTTPS certificate. type: bool - default: yes + default: true aliases: [ verify_ssl ] notes: - This module requires that the Ingate Python SDK is installed on the diff --git a/ansible_collections/community/network/plugins/doc_fragments/ironware.py b/ansible_collections/community/network/plugins/doc_fragments/ironware.py index c41c90063..fd505835b 100644 --- a/ansible_collections/community/network/plugins/doc_fragments/ironware.py +++ b/ansible_collections/community/network/plugins/doc_fragments/ironware.py @@ -15,7 +15,7 @@ options: authorize: description: - B(Deprecated) - - "Starting with Ansible 2.7 we recommend using C(connection: network_cli) and C(become: yes)." + - "Starting with Ansible 2.7 we recommend using C(connection: network_cli) and C(become: true)." - For more information please see the L(IronWare Platform Options guide, ../network/user_guide/platform_ironware.html). - HORIZONTALLINE - Instructs the module to enter privileged mode on the remote device @@ -24,7 +24,7 @@ options: is not specified in the task, the value of environment variable C(ANSIBLE_NET_AUTHORIZE) will be used instead. type: bool - default: no + default: false notes: - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>` ''' diff --git a/ansible_collections/community/network/plugins/doc_fragments/netscaler.py b/ansible_collections/community/network/plugins/doc_fragments/netscaler.py index 7f19053a0..70c40a54f 100644 --- a/ansible_collections/community/network/plugins/doc_fragments/netscaler.py +++ b/ansible_collections/community/network/plugins/doc_fragments/netscaler.py @@ -15,19 +15,19 @@ options: - The ip address of the netscaler appliance where the nitro API calls will be made. - "The port can be specified with the colon (:). E.g. 192.168.1.1:555." type: str - required: True + required: true nitro_user: description: - The username with which to authenticate to the netscaler node. type: str - required: True + required: true nitro_pass: description: - The password with which to authenticate to the netscaler node. type: str - required: True + required: true nitro_protocol: description: @@ -40,7 +40,7 @@ options: description: - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool - default: yes + default: true nitro_timeout: description: @@ -62,7 +62,7 @@ options: - If C(yes) the module will save the configuration on the netscaler node if it makes any changes. - The module will not save the configuration on the netscaler node if it made no changes. type: bool - default: yes + default: true notes: - For more information on using Ansible to manage Citrix NetScaler Network devices see U(https://www.ansible.com/ansible-netscaler). ''' diff --git a/ansible_collections/community/network/plugins/lookup/avi.py b/ansible_collections/community/network/plugins/lookup/avi.py index 625c87481..a27d64542 100644 --- a/ansible_collections/community/network/plugins/lookup/avi.py +++ b/ansible_collections/community/network/plugins/lookup/avi.py @@ -18,7 +18,7 @@ options: obj_type: description: - type of object to query - required: True + required: true obj_name: description: - name of the object to query diff --git a/ansible_collections/community/network/plugins/module_utils/network/avi/ansible_utils.py b/ansible_collections/community/network/plugins/module_utils/network/avi/ansible_utils.py index 93de79436..e80ec908d 100644 --- a/ansible_collections/community/network/plugins/module_utils/network/avi/ansible_utils.py +++ b/ansible_collections/community/network/plugins/module_utils/network/avi/ansible_utils.py @@ -134,11 +134,11 @@ def cleanup_absent_fields(obj): :param obj: :return: Purged object """ - if type(obj) != dict: + if type(obj) is not dict: return obj cleanup_keys = [] for k, v in obj.items(): - if type(v) == dict: + if type(v) is dict: if (('state' in v and v['state'] == 'absent') or (v == "{'state': 'absent'}")): cleanup_keys.append(k) @@ -146,7 +146,7 @@ def cleanup_absent_fields(obj): cleanup_absent_fields(v) if not v: cleanup_keys.append(k) - elif type(v) == list: + elif type(v) is list: new_list = [] for elem in v: elem = cleanup_absent_fields(elem) @@ -265,7 +265,7 @@ def avi_obj_cmp(x, y, sensitive_fields=None): if type(x) not in [list, dict]: # if it is not list or dict or string then simply compare the values return x == y - if type(x) == list: + if type(x) is list: # should compare each item in the list and that should match if len(x) != len(y): log.debug('x has %d items y has %d', len(x), len(y)) @@ -275,7 +275,7 @@ def avi_obj_cmp(x, y, sensitive_fields=None): # no need to continue return False - if type(x) == dict: + if type(x) is dict: x.pop('_last_modified', None) x.pop('tenant', None) y.pop('_last_modified', None) @@ -295,7 +295,7 @@ def avi_obj_cmp(x, y, sensitive_fields=None): continue if isinstance(v, dict): if ('state' in v) and (v['state'] == 'absent'): - if type(y) == dict and k not in y: + if type(y) is dict and k not in y: d_x_absent_ks.append(k) else: return False diff --git a/ansible_collections/community/network/plugins/module_utils/network/avi/avi_api.py b/ansible_collections/community/network/plugins/module_utils/network/avi/avi_api.py index 684b2dd15..90e5f7814 100644 --- a/ansible_collections/community/network/plugins/module_utils/network/avi/avi_api.py +++ b/ansible_collections/community/network/plugins/module_utils/network/avi/avi_api.py @@ -48,7 +48,7 @@ def avi_timedelta(td): does not have total_seconds method :param timedelta object ''' - if type(td) != timedelta: + if type(td) is not timedelta: raise TypeError() if sys.version_info >= (2, 7): ts = td.total_seconds() @@ -146,7 +146,7 @@ class ApiResponse(Response): @staticmethod def to_avi_response(resp): - if type(resp) == Response: + if type(resp) is Response: return ApiResponse(resp) return resp @@ -601,7 +601,7 @@ class ApiSession(Session): except KeyError: pass try: - if (data is not None) and (type(data) == dict): + if (data is not None) and (type(data) is dict): resp = fn(fullpath, data=json.dumps(data), headers=api_hdrs, timeout=timeout, cookies=cookies, **kwargs) else: diff --git a/ansible_collections/community/network/plugins/module_utils/network/exos/facts/legacy/base.py b/ansible_collections/community/network/plugins/module_utils/network/exos/facts/legacy/base.py index 5c0bf20b6..690b8a873 100644 --- a/ansible_collections/community/network/plugins/module_utils/network/exos/facts/legacy/base.py +++ b/ansible_collections/community/network/plugins/module_utils/network/exos/facts/legacy/base.py @@ -130,7 +130,7 @@ class Interfaces(FactsBase): COMMANDS = [ 'show switch', - {'command': 'show port config', 'output': 'json'}, + {'command': 'show port config no-refresh', 'output': 'json'}, {'command': 'show port description', 'output': 'json'}, {'command': 'show vlan detail', 'output': 'json'}, {'command': 'show lldp neighbors', 'output': 'json'} diff --git a/ansible_collections/community/network/plugins/module_utils/network/ftd/common.py b/ansible_collections/community/network/plugins/module_utils/network/ftd/common.py index 445797037..7140c49c2 100644 --- a/ansible_collections/community/network/plugins/module_utils/network/ftd/common.py +++ b/ansible_collections/community/network/plugins/module_utils/network/ftd/common.py @@ -169,7 +169,7 @@ def equal_values(v1, v2): if is_string(v1) and is_string(v2): return to_text(v1) == to_text(v2) - if type(v1) != type(v2): + if type(v1) is not type(v2): return False value_type = type(v1) @@ -214,7 +214,7 @@ def delete_ref_duplicates(d): """ def delete_ref_duplicates_from_list(refs): - if all(type(i) == dict and is_object_ref(i) for i in refs): + if all(type(i) is dict and is_object_ref(i) for i in refs): unique_refs = set() unique_list = list() for i in refs: @@ -233,9 +233,9 @@ def delete_ref_duplicates(d): modified_d = {} for k, v in iteritems(d): - if type(v) == list: + if type(v) is list: modified_d[k] = delete_ref_duplicates_from_list(v) - elif type(v) == dict: + elif type(v) is dict: modified_d[k] = delete_ref_duplicates(v) else: modified_d[k] = v diff --git a/ansible_collections/community/network/plugins/modules/a10_server_axapi3.py b/ansible_collections/community/network/plugins/modules/a10_server_axapi3.py index 6c02f5de4..6861dd84e 100644 --- a/ansible_collections/community/network/plugins/modules/a10_server_axapi3.py +++ b/ansible_collections/community/network/plugins/modules/a10_server_axapi3.py @@ -73,7 +73,7 @@ EXAMPLES = ''' server_ip: 1.1.1.100 validate_certs: false server_status: enable - write_config: yes + write_config: true operation: create server_ports: - port-number: 8080 diff --git a/ansible_collections/community/network/plugins/modules/aireos_config.py b/ansible_collections/community/network/plugins/modules/aireos_config.py index 06fecec9a..23f2e017c 100644 --- a/ansible_collections/community/network/plugins/modules/aireos_config.py +++ b/ansible_collections/community/network/plugins/modules/aireos_config.py @@ -170,7 +170,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.aireos_config: - backup: yes + backup: true lines: sysname testDevice backup_options: filename: backup.cfg diff --git a/ansible_collections/community/network/plugins/modules/aruba_config.py b/ansible_collections/community/network/plugins/modules/aruba_config.py index b21098b22..a396d1bbf 100644 --- a/ansible_collections/community/network/plugins/modules/aruba_config.py +++ b/ansible_collections/community/network/plugins/modules/aruba_config.py @@ -198,7 +198,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.aruba_config: - backup: yes + backup: true lines: hostname {{ inventory_hostname }} backup_options: filename: backup.cfg diff --git a/ansible_collections/community/network/plugins/modules/avi_gslb.py b/ansible_collections/community/network/plugins/modules/avi_gslb.py index ac6de5a1d..f27c7a7fb 100644 --- a/ansible_collections/community/network/plugins/modules/avi_gslb.py +++ b/ansible_collections/community/network/plugins/modules/avi_gslb.py @@ -140,7 +140,7 @@ EXAMPLES = """ ip_addresses: - type: "V4" addr: "10.10.28.83" - enabled: True + enabled: true member_type: "GSLB_ACTIVE_MEMBER" port: 443 cluster_uuid: "cluster-d4ee5fcc-3e0a-4d4f-9ae6-4182bc605829" @@ -150,7 +150,7 @@ EXAMPLES = """ ip_addresses: - type: "V4" addr: "10.10.28.86" - enabled: True + enabled: true member_type: "GSLB_ACTIVE_MEMBER" port: 443 cluster_uuid: "cluster-0c37ae8d-ab62-410c-ad3e-06fa831950b1" diff --git a/ansible_collections/community/network/plugins/modules/ce_aaa_server.py b/ansible_collections/community/network/plugins/modules/ce_aaa_server.py index 31cbb2a49..ae9cf750c 100644 --- a/ansible_collections/community/network/plugins/modules/ce_aaa_server.py +++ b/ansible_collections/community/network/plugins/modules/ce_aaa_server.py @@ -98,7 +98,7 @@ EXAMPLES = r''' - name: AAA server test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_aaa_server_host.py b/ansible_collections/community/network/plugins/modules/ce_aaa_server_host.py index 71f3f8de3..c97594a64 100644 --- a/ansible_collections/community/network/plugins/modules/ce_aaa_server_host.py +++ b/ansible_collections/community/network/plugins/modules/ce_aaa_server_host.py @@ -131,7 +131,7 @@ EXAMPLES = ''' - name: AAA server host test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_acl.py b/ansible_collections/community/network/plugins/modules/ce_acl.py index 675613724..44e2a8897 100644 --- a/ansible_collections/community/network/plugins/modules/ce_acl.py +++ b/ansible_collections/community/network/plugins/modules/ce_acl.py @@ -108,7 +108,7 @@ EXAMPLES = ''' - name: CloudEngine acl test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_acl_advance.py b/ansible_collections/community/network/plugins/modules/ce_acl_advance.py index ce3e420e3..4013e6373 100644 --- a/ansible_collections/community/network/plugins/modules/ce_acl_advance.py +++ b/ansible_collections/community/network/plugins/modules/ce_acl_advance.py @@ -209,7 +209,7 @@ EXAMPLES = ''' - name: CloudEngine advance acl test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_acl_interface.py b/ansible_collections/community/network/plugins/modules/ce_acl_interface.py index 89f549e08..c5c07fc6b 100644 --- a/ansible_collections/community/network/plugins/modules/ce_acl_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_acl_interface.py @@ -61,7 +61,7 @@ EXAMPLES = ''' - name: CloudEngine acl interface test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_bfd_global.py b/ansible_collections/community/network/plugins/modules/ce_bfd_global.py index 7e3b2695e..70bae4d8f 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bfd_global.py +++ b/ansible_collections/community/network/plugins/modules/ce_bfd_global.py @@ -80,7 +80,7 @@ EXAMPLES = ''' - name: Bfd global module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_bfd_session.py b/ansible_collections/community/network/plugins/modules/ce_bfd_session.py index 7a42e30cf..94d22039a 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bfd_session.py +++ b/ansible_collections/community/network/plugins/modules/ce_bfd_session.py @@ -87,7 +87,7 @@ EXAMPLES = ''' - name: Bfd session module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: - name: Configuring Single-hop BFD for Detecting Faults on a Layer 2 Link diff --git a/ansible_collections/community/network/plugins/modules/ce_bfd_view.py b/ansible_collections/community/network/plugins/modules/ce_bfd_view.py index e40e3d11a..de385b3ff 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bfd_view.py +++ b/ansible_collections/community/network/plugins/modules/ce_bfd_view.py @@ -91,7 +91,7 @@ EXAMPLES = ''' - name: Bfd view module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: - name: Set the local discriminator of a BFD session to 80 and the remote discriminator to 800 diff --git a/ansible_collections/community/network/plugins/modules/ce_bgp.py b/ansible_collections/community/network/plugins/modules/ce_bgp.py index 0ff7c57d7..8d7f5580b 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bgp.py +++ b/ansible_collections/community/network/plugins/modules/ce_bgp.py @@ -153,7 +153,7 @@ EXAMPLES = ''' - name: CloudEngine BGP test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_bgp_af.py b/ansible_collections/community/network/plugins/modules/ce_bgp_af.py index 2aa2d3b16..375a114c9 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bgp_af.py +++ b/ansible_collections/community/network/plugins/modules/ce_bgp_af.py @@ -332,7 +332,7 @@ EXAMPLES = ''' - name: CloudEngine BGP address family test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: - name: "Config BGP Address_Family" community.network.ce_bgp_af: diff --git a/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor.py b/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor.py index b4a940f74..b3f6b09de 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor.py +++ b/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor.py @@ -193,7 +193,7 @@ EXAMPLES = ''' - name: CloudEngine BGP neighbor test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor_af.py b/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor_af.py index 93bee2a89..0880e7f83 100644 --- a/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor_af.py +++ b/ansible_collections/community/network/plugins/modules/ce_bgp_neighbor_af.py @@ -322,7 +322,7 @@ EXAMPLES = ''' - name: CloudEngine BGP neighbor address family test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_command.py b/ansible_collections/community/network/plugins/modules/ce_command.py index b2c085b32..7b81a1081 100644 --- a/ansible_collections/community/network/plugins/modules/ce_command.py +++ b/ansible_collections/community/network/plugins/modules/ce_command.py @@ -82,7 +82,7 @@ EXAMPLES = """ - name: CloudEngine command test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_config.py b/ansible_collections/community/network/plugins/modules/ce_config.py index c0f05c57a..701961b81 100644 --- a/ansible_collections/community/network/plugins/modules/ce_config.py +++ b/ansible_collections/community/network/plugins/modules/ce_config.py @@ -153,13 +153,13 @@ EXAMPLES = """ - name: CloudEngine config test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: - name: "Configure top level configuration and save it" community.network.ce_config: lines: sysname {{ inventory_hostname }} - save: yes + save: true - name: "Configure acl configuration and save it" community.network.ce_config: @@ -187,7 +187,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.ce_config: lines: sysname {{ inventory_hostname }} - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/ce_dldp.py b/ansible_collections/community/network/plugins/modules/ce_dldp.py index f292e0b71..a99e5517b 100644 --- a/ansible_collections/community/network/plugins/modules/ce_dldp.py +++ b/ansible_collections/community/network/plugins/modules/ce_dldp.py @@ -72,7 +72,7 @@ EXAMPLES = ''' - name: DLDP test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_dldp_interface.py b/ansible_collections/community/network/plugins/modules/ce_dldp_interface.py index 276c24b11..6e1292af2 100644 --- a/ansible_collections/community/network/plugins/modules/ce_dldp_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_dldp_interface.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: DLDP interface test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_eth_trunk.py b/ansible_collections/community/network/plugins/modules/ce_eth_trunk.py index c658f93f5..d03bb64c1 100644 --- a/ansible_collections/community/network/plugins/modules/ce_eth_trunk.py +++ b/ansible_collections/community/network/plugins/modules/ce_eth_trunk.py @@ -79,7 +79,7 @@ EXAMPLES = ''' - name: Eth_trunk module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_evpn_bd_vni.py b/ansible_collections/community/network/plugins/modules/ce_evpn_bd_vni.py index 1fcc8ae65..b50946c77 100644 --- a/ansible_collections/community/network/plugins/modules/ce_evpn_bd_vni.py +++ b/ansible_collections/community/network/plugins/modules/ce_evpn_bd_vni.py @@ -93,7 +93,7 @@ EXAMPLES = ''' - name: EVPN BD VNI test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_evpn_bgp.py b/ansible_collections/community/network/plugins/modules/ce_evpn_bgp.py index 5141a415b..33d4771b1 100644 --- a/ansible_collections/community/network/plugins/modules/ce_evpn_bgp.py +++ b/ansible_collections/community/network/plugins/modules/ce_evpn_bgp.py @@ -34,7 +34,7 @@ options: bgp_instance: description: - Name of a BGP instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. - required: True + required: true as_number: description: - Specifies integral AS number. The value is an integer ranging from 1 to 4294967295. @@ -72,7 +72,7 @@ EXAMPLES = ''' - name: Evpn bgp module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_evpn_bgp_rr.py b/ansible_collections/community/network/plugins/modules/ce_evpn_bgp_rr.py index a8b5a5b71..a552ce96f 100644 --- a/ansible_collections/community/network/plugins/modules/ce_evpn_bgp_rr.py +++ b/ansible_collections/community/network/plugins/modules/ce_evpn_bgp_rr.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: BGP RR test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_evpn_global.py b/ansible_collections/community/network/plugins/modules/ce_evpn_global.py index c60adb13b..be74db7bd 100644 --- a/ansible_collections/community/network/plugins/modules/ce_evpn_global.py +++ b/ansible_collections/community/network/plugins/modules/ce_evpn_global.py @@ -42,7 +42,7 @@ EXAMPLES = ''' - name: Evpn global module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_facts.py b/ansible_collections/community/network/plugins/modules/ce_facts.py index 6d9c0bab4..079374471 100644 --- a/ansible_collections/community/network/plugins/modules/ce_facts.py +++ b/ansible_collections/community/network/plugins/modules/ce_facts.py @@ -54,7 +54,7 @@ EXAMPLES = """ - name: CloudEngine facts test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_file_copy.py b/ansible_collections/community/network/plugins/modules/ce_file_copy.py index 8007960b6..29baad850 100644 --- a/ansible_collections/community/network/plugins/modules/ce_file_copy.py +++ b/ansible_collections/community/network/plugins/modules/ce_file_copy.py @@ -52,7 +52,7 @@ EXAMPLES = ''' - name: File copy test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_info_center_debug.py b/ansible_collections/community/network/plugins/modules/ce_info_center_debug.py index bdd8ee1ab..20a3bc1cd 100644 --- a/ansible_collections/community/network/plugins/modules/ce_info_center_debug.py +++ b/ansible_collections/community/network/plugins/modules/ce_info_center_debug.py @@ -69,7 +69,7 @@ EXAMPLES = ''' - name: CloudEngine info center debug test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_info_center_global.py b/ansible_collections/community/network/plugins/modules/ce_info_center_global.py index 64fad1570..06cebd691 100644 --- a/ansible_collections/community/network/plugins/modules/ce_info_center_global.py +++ b/ansible_collections/community/network/plugins/modules/ce_info_center_global.py @@ -131,7 +131,7 @@ EXAMPLES = ''' - name: Info center global module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_info_center_log.py b/ansible_collections/community/network/plugins/modules/ce_info_center_log.py index 9bbdf2c98..648925816 100644 --- a/ansible_collections/community/network/plugins/modules/ce_info_center_log.py +++ b/ansible_collections/community/network/plugins/modules/ce_info_center_log.py @@ -78,7 +78,7 @@ EXAMPLES = ''' - name: CloudEngine info center log test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_info_center_trap.py b/ansible_collections/community/network/plugins/modules/ce_info_center_trap.py index 165ef23b6..80f8d17f7 100644 --- a/ansible_collections/community/network/plugins/modules/ce_info_center_trap.py +++ b/ansible_collections/community/network/plugins/modules/ce_info_center_trap.py @@ -78,7 +78,7 @@ EXAMPLES = ''' - name: CloudEngine info center trap test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_interface.py b/ansible_collections/community/network/plugins/modules/ce_interface.py index 95bab788f..98ed4df18 100644 --- a/ansible_collections/community/network/plugins/modules/ce_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_interface.py @@ -73,7 +73,7 @@ EXAMPLES = ''' - name: Interface module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_interface_ospf.py b/ansible_collections/community/network/plugins/modules/ce_interface_ospf.py index 2c7248176..3c666dd9a 100644 --- a/ansible_collections/community/network/plugins/modules/ce_interface_ospf.py +++ b/ansible_collections/community/network/plugins/modules/ce_interface_ospf.py @@ -93,7 +93,7 @@ EXAMPLES = ''' - name: Eth_trunk module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_ip_interface.py b/ansible_collections/community/network/plugins/modules/ce_ip_interface.py index 149a427da..633f3cb0e 100644 --- a/ansible_collections/community/network/plugins/modules/ce_ip_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_ip_interface.py @@ -70,7 +70,7 @@ EXAMPLES = ''' - name: Ip_interface module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_link_status.py b/ansible_collections/community/network/plugins/modules/ce_link_status.py index 0e3c467bf..b40203755 100644 --- a/ansible_collections/community/network/plugins/modules/ce_link_status.py +++ b/ansible_collections/community/network/plugins/modules/ce_link_status.py @@ -68,7 +68,7 @@ EXAMPLES = ''' - name: Link status test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_mlag_config.py b/ansible_collections/community/network/plugins/modules/ce_mlag_config.py index b31411884..dffc0d7d2 100644 --- a/ansible_collections/community/network/plugins/modules/ce_mlag_config.py +++ b/ansible_collections/community/network/plugins/modules/ce_mlag_config.py @@ -74,7 +74,7 @@ EXAMPLES = ''' - name: Mlag config module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_mlag_interface.py b/ansible_collections/community/network/plugins/modules/ce_mlag_interface.py index 2c4e4d819..952315d79 100644 --- a/ansible_collections/community/network/plugins/modules/ce_mlag_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_mlag_interface.py @@ -70,7 +70,7 @@ EXAMPLES = ''' - name: Mlag interface module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_mtu.py b/ansible_collections/community/network/plugins/modules/ce_mtu.py index db902480d..ad7a15c28 100644 --- a/ansible_collections/community/network/plugins/modules/ce_mtu.py +++ b/ansible_collections/community/network/plugins/modules/ce_mtu.py @@ -59,7 +59,7 @@ EXAMPLES = ''' - name: Mtu test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_netconf.py b/ansible_collections/community/network/plugins/modules/ce_netconf.py index c55caa879..e7bc0dadd 100644 --- a/ansible_collections/community/network/plugins/modules/ce_netconf.py +++ b/ansible_collections/community/network/plugins/modules/ce_netconf.py @@ -48,7 +48,7 @@ EXAMPLES = ''' - name: CloudEngine netconf test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_netstream_aging.py b/ansible_collections/community/network/plugins/modules/ce_netstream_aging.py index 8f4c046a4..8999b6c8e 100644 --- a/ansible_collections/community/network/plugins/modules/ce_netstream_aging.py +++ b/ansible_collections/community/network/plugins/modules/ce_netstream_aging.py @@ -57,7 +57,7 @@ EXAMPLES = ''' - name: Netstream aging module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_netstream_export.py b/ansible_collections/community/network/plugins/modules/ce_netstream_export.py index ac6e02875..4a1b1fa37 100644 --- a/ansible_collections/community/network/plugins/modules/ce_netstream_export.py +++ b/ansible_collections/community/network/plugins/modules/ce_netstream_export.py @@ -74,7 +74,7 @@ EXAMPLES = ''' - name: Netstream export module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_netstream_global.py b/ansible_collections/community/network/plugins/modules/ce_netstream_global.py index acc60c4f3..ed6d35482 100644 --- a/ansible_collections/community/network/plugins/modules/ce_netstream_global.py +++ b/ansible_collections/community/network/plugins/modules/ce_netstream_global.py @@ -68,7 +68,7 @@ EXAMPLES = ''' - name: Netstream global module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_netstream_template.py b/ansible_collections/community/network/plugins/modules/ce_netstream_template.py index 38d9fede2..710d08236 100644 --- a/ansible_collections/community/network/plugins/modules/ce_netstream_template.py +++ b/ansible_collections/community/network/plugins/modules/ce_netstream_template.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: Netstream template module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_ntp.py b/ansible_collections/community/network/plugins/modules/ce_ntp.py index 3c85f93b3..5996e9718 100644 --- a/ansible_collections/community/network/plugins/modules/ce_ntp.py +++ b/ansible_collections/community/network/plugins/modules/ce_ntp.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: NTP test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_ntp_auth.py b/ansible_collections/community/network/plugins/modules/ce_ntp_auth.py index 4dc7abbc6..304023a35 100644 --- a/ansible_collections/community/network/plugins/modules/ce_ntp_auth.py +++ b/ansible_collections/community/network/plugins/modules/ce_ntp_auth.py @@ -75,7 +75,7 @@ EXAMPLES = ''' - name: NTP AUTH test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_ospf.py b/ansible_collections/community/network/plugins/modules/ce_ospf.py index a546e032b..0733eaf4d 100644 --- a/ansible_collections/community/network/plugins/modules/ce_ospf.py +++ b/ansible_collections/community/network/plugins/modules/ce_ospf.py @@ -89,7 +89,7 @@ EXAMPLES = ''' - name: Ospf module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_ospf_vrf.py b/ansible_collections/community/network/plugins/modules/ce_ospf_vrf.py index 6f207f10e..e810099f3 100644 --- a/ansible_collections/community/network/plugins/modules/ce_ospf_vrf.py +++ b/ansible_collections/community/network/plugins/modules/ce_ospf_vrf.py @@ -141,7 +141,7 @@ EXAMPLES = ''' - name: Ospf vrf module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: @@ -149,7 +149,7 @@ EXAMPLES = ''' community.network.ce_ospf_vrf: ospf: 2 route_id: 2.2.2.2 - lsaointervalflag: False + lsaointervalflag: false lsaointerval: 2 ''' @@ -244,7 +244,7 @@ changed: description: check to see if a change was made on the device returned: always type: bool - sample: False + sample: false ''' from xml.etree import ElementTree diff --git a/ansible_collections/community/network/plugins/modules/ce_reboot.py b/ansible_collections/community/network/plugins/modules/ce_reboot.py index 0213a072a..7d13d943b 100644 --- a/ansible_collections/community/network/plugins/modules/ce_reboot.py +++ b/ansible_collections/community/network/plugins/modules/ce_reboot.py @@ -49,7 +49,7 @@ EXAMPLES = ''' - name: Reboot module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_rollback.py b/ansible_collections/community/network/plugins/modules/ce_rollback.py index d3a63cff0..90bcd7805 100644 --- a/ansible_collections/community/network/plugins/modules/ce_rollback.py +++ b/ansible_collections/community/network/plugins/modules/ce_rollback.py @@ -64,7 +64,7 @@ EXAMPLES = ''' - name: Rollback module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_sflow.py b/ansible_collections/community/network/plugins/modules/ce_sflow.py index 55c1550fa..33f3b5348 100644 --- a/ansible_collections/community/network/plugins/modules/ce_sflow.py +++ b/ansible_collections/community/network/plugins/modules/ce_sflow.py @@ -120,7 +120,7 @@ EXAMPLES = ''' - name: Sflow module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_community.py b/ansible_collections/community/network/plugins/modules/ce_snmp_community.py index 08704ba90..fe18f6f4d 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_community.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_community.py @@ -73,7 +73,7 @@ EXAMPLES = ''' - name: CloudEngine snmp community test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_contact.py b/ansible_collections/community/network/plugins/modules/ce_snmp_contact.py index 873a2aa60..f17f87396 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_contact.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_contact.py @@ -47,7 +47,7 @@ EXAMPLES = ''' - name: CloudEngine snmp contact test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_location.py b/ansible_collections/community/network/plugins/modules/ce_snmp_location.py index 54c604743..6a70e5470 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_location.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_location.py @@ -47,7 +47,7 @@ EXAMPLES = ''' - name: CloudEngine snmp location test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_target_host.py b/ansible_collections/community/network/plugins/modules/ce_snmp_target_host.py index 30b64ad54..e4d2a2e91 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_target_host.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_target_host.py @@ -84,7 +84,7 @@ EXAMPLES = ''' - name: CloudEngine snmp target host test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_traps.py b/ansible_collections/community/network/plugins/modules/ce_snmp_traps.py index 6d9ea6a13..9845e3969 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_traps.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_traps.py @@ -64,7 +64,7 @@ EXAMPLES = ''' - name: CloudEngine snmp traps test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_snmp_user.py b/ansible_collections/community/network/plugins/modules/ce_snmp_user.py index e666ce8bc..90dde723d 100644 --- a/ansible_collections/community/network/plugins/modules/ce_snmp_user.py +++ b/ansible_collections/community/network/plugins/modules/ce_snmp_user.py @@ -68,7 +68,7 @@ EXAMPLES = ''' - name: CloudEngine snmp user test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_startup.py b/ansible_collections/community/network/plugins/modules/ce_startup.py index fe0e143a7..fb0904355 100644 --- a/ansible_collections/community/network/plugins/modules/ce_startup.py +++ b/ansible_collections/community/network/plugins/modules/ce_startup.py @@ -58,7 +58,7 @@ EXAMPLES = ''' - name: Startup module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_static_route.py b/ansible_collections/community/network/plugins/modules/ce_static_route.py index 0312e5969..346532e9a 100644 --- a/ansible_collections/community/network/plugins/modules/ce_static_route.py +++ b/ansible_collections/community/network/plugins/modules/ce_static_route.py @@ -64,7 +64,7 @@ EXAMPLES = ''' - name: Static route module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_stp.py b/ansible_collections/community/network/plugins/modules/ce_stp.py index b640d1634..a62e238f7 100644 --- a/ansible_collections/community/network/plugins/modules/ce_stp.py +++ b/ansible_collections/community/network/plugins/modules/ce_stp.py @@ -101,7 +101,7 @@ EXAMPLES = ''' - name: CloudEngine stp test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_switchport.py b/ansible_collections/community/network/plugins/modules/ce_switchport.py index 7ccfd8bae..f292c4199 100644 --- a/ansible_collections/community/network/plugins/modules/ce_switchport.py +++ b/ansible_collections/community/network/plugins/modules/ce_switchport.py @@ -71,7 +71,7 @@ options: EXAMPLES = ''' - name: Switchport module test hosts: cloudengine - gather_facts: no + gather_facts: false vars: ansible_user: root ansible_password: PASSWORD diff --git a/ansible_collections/community/network/plugins/modules/ce_vlan.py b/ansible_collections/community/network/plugins/modules/ce_vlan.py index 610294103..7c12169ff 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vlan.py +++ b/ansible_collections/community/network/plugins/modules/ce_vlan.py @@ -54,7 +54,7 @@ EXAMPLES = ''' - name: Vlan module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vrf.py b/ansible_collections/community/network/plugins/modules/ce_vrf.py index f3293c9a3..02d6e4751 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vrf.py +++ b/ansible_collections/community/network/plugins/modules/ce_vrf.py @@ -50,7 +50,7 @@ EXAMPLES = ''' - name: Vrf module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vrf_af.py b/ansible_collections/community/network/plugins/modules/ce_vrf_af.py index 05a205e69..ab941d229 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vrf_af.py +++ b/ansible_collections/community/network/plugins/modules/ce_vrf_af.py @@ -73,7 +73,7 @@ EXAMPLES = ''' - name: Vrf af module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vrf_interface.py b/ansible_collections/community/network/plugins/modules/ce_vrf_interface.py index d51f13370..baf553030 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vrf_interface.py +++ b/ansible_collections/community/network/plugins/modules/ce_vrf_interface.py @@ -54,7 +54,7 @@ EXAMPLES = ''' - name: VRF interface test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_vrrp.py b/ansible_collections/community/network/plugins/modules/ce_vrrp.py index 9d9fc349c..c5651f4f3 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vrrp.py +++ b/ansible_collections/community/network/plugins/modules/ce_vrrp.py @@ -130,7 +130,7 @@ EXAMPLES = ''' - name: Vrrp module test hosts: cloudengine connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vxlan_arp.py b/ansible_collections/community/network/plugins/modules/ce_vxlan_arp.py index bcb1659b5..62be8ce52 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vxlan_arp.py +++ b/ansible_collections/community/network/plugins/modules/ce_vxlan_arp.py @@ -81,7 +81,7 @@ EXAMPLES = ''' - name: Vxlan arp module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vxlan_gateway.py b/ansible_collections/community/network/plugins/modules/ce_vxlan_gateway.py index 9a0339763..5fe74240f 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vxlan_gateway.py +++ b/ansible_collections/community/network/plugins/modules/ce_vxlan_gateway.py @@ -110,7 +110,7 @@ EXAMPLES = ''' - name: Vxlan gateway module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/ce_vxlan_global.py b/ansible_collections/community/network/plugins/modules/ce_vxlan_global.py index e474c9236..8b12f201a 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vxlan_global.py +++ b/ansible_collections/community/network/plugins/modules/ce_vxlan_global.py @@ -76,7 +76,7 @@ EXAMPLES = ''' - name: Vxlan global module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vxlan_tunnel.py b/ansible_collections/community/network/plugins/modules/ce_vxlan_tunnel.py index d644b51d2..48b6d23da 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vxlan_tunnel.py +++ b/ansible_collections/community/network/plugins/modules/ce_vxlan_tunnel.py @@ -67,7 +67,7 @@ EXAMPLES = ''' - name: Vxlan tunnel module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false vars: cli: host: "{{ inventory_hostname }}" diff --git a/ansible_collections/community/network/plugins/modules/ce_vxlan_vap.py b/ansible_collections/community/network/plugins/modules/ce_vxlan_vap.py index cdae94753..893790866 100644 --- a/ansible_collections/community/network/plugins/modules/ce_vxlan_vap.py +++ b/ansible_collections/community/network/plugins/modules/ce_vxlan_vap.py @@ -70,7 +70,7 @@ EXAMPLES = ''' - name: Vxlan vap module test hosts: ce128 connection: local - gather_facts: no + gather_facts: false tasks: diff --git a/ansible_collections/community/network/plugins/modules/cnos_config.py b/ansible_collections/community/network/plugins/modules/cnos_config.py index e32deb7a1..6ba340c8a 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_config.py +++ b/ansible_collections/community/network/plugins/modules/cnos_config.py @@ -159,12 +159,12 @@ Tasks: The following are examples of using the module cnos_config. - name: Load a config from disk and replace the current config community.network.cnos_config: src: config.cfg - backup: yes + backup: true - name: Configurable backup path community.network.cnos_config: src: config.cfg - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/cnos_interface.py b/ansible_collections/community/network/plugins/modules/cnos_interface.py index 48a9bfdf9..02cc102aa 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_interface.py +++ b/ansible_collections/community/network/plugins/modules/cnos_interface.py @@ -48,7 +48,7 @@ options: description: - Interface link status. type: bool - default: True + default: true speed: description: - Interface link speed. @@ -116,12 +116,12 @@ EXAMPLES = """ - name: Make interface up community.network.cnos_interface: name: Ethernet1/33 - enabled: True + enabled: true - name: Make interface down community.network.cnos_interface: name: Ethernet1/33 - enabled: False + enabled: false - name: Check intent arguments community.network.cnos_interface: @@ -140,7 +140,7 @@ EXAMPLES = """ - name: Config + intent community.network.cnos_interface: name: Ethernet1/33 - enabled: False + enabled: false state: down - name: Add interface using aggregate diff --git a/ansible_collections/community/network/plugins/modules/cnos_l3_interface.py b/ansible_collections/community/network/plugins/modules/cnos_l3_interface.py index a7a0e81df..9874b30a1 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_l3_interface.py +++ b/ansible_collections/community/network/plugins/modules/cnos_l3_interface.py @@ -125,8 +125,10 @@ from ansible_collections.community.network.plugins.module_utils.network.cnos.cno from ansible_collections.community.network.plugins.module_utils.network.cnos.cnos import run_commands from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.config import NetworkConfig from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import remove_default_spec -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import to_netmask, to_masklen +try: + from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen, to_netmask, to_masklen +except ImportError: + from ansible.module_utils.common.network import is_netmask, is_masklen, to_netmask, to_masklen def validate_ipv4(value, module): diff --git a/ansible_collections/community/network/plugins/modules/cnos_linkagg.py b/ansible_collections/community/network/plugins/modules/cnos_linkagg.py index d7c08e38a..6b3ea73b1 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_linkagg.py +++ b/ansible_collections/community/network/plugins/modules/cnos_linkagg.py @@ -56,7 +56,7 @@ options: description: - Purge links not defined in the I(aggregate) parameter. type: bool - default: no + default: false ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/cnos_system.py b/ansible_collections/community/network/plugins/modules/cnos_system.py index eced8ca53..804393f22 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_system.py +++ b/ansible_collections/community/network/plugins/modules/cnos_system.py @@ -99,7 +99,7 @@ EXAMPLES = """ - name: Configure DNS Lookup sources community.network.cnos_system: lookup_source: MgmtEth0/0/CPU0/0 - lookup_enabled: yes + lookup_enabled: true - name: Configure name servers with VRF support nxos_system: diff --git a/ansible_collections/community/network/plugins/modules/cnos_user.py b/ansible_collections/community/network/plugins/modules/cnos_user.py index 151681f82..c99e3089e 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_user.py +++ b/ansible_collections/community/network/plugins/modules/cnos_user.py @@ -101,7 +101,7 @@ EXAMPLES = """ - name: Remove all users except admin community.network.cnos_user: - purge: yes + purge: true - name: Set multiple users role aggregate: diff --git a/ansible_collections/community/network/plugins/modules/cnos_vlan.py b/ansible_collections/community/network/plugins/modules/cnos_vlan.py index 753f06209..4ba75c339 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_vlan.py +++ b/ansible_collections/community/network/plugins/modules/cnos_vlan.py @@ -65,7 +65,7 @@ options: purge: description: - Purge VLANs not defined in the I(aggregate) parameter. - default: no + default: false type: bool state: description: diff --git a/ansible_collections/community/network/plugins/modules/cnos_vrf.py b/ansible_collections/community/network/plugins/modules/cnos_vrf.py index 60bb23dc0..e9d5ab909 100644 --- a/ansible_collections/community/network/plugins/modules/cnos_vrf.py +++ b/ansible_collections/community/network/plugins/modules/cnos_vrf.py @@ -58,7 +58,7 @@ options: purge: description: - Purge VRFs not defined in the I(aggregate) parameter. - default: no + default: false type: bool delay: description: @@ -92,7 +92,7 @@ EXAMPLES = """ - { name: test4, rd: "1:204" } - { name: test5, rd: "1:205" } state: present - purge: yes + purge: true - name: Delete aggregate of VRFs community.network.cnos_vrf: diff --git a/ansible_collections/community/network/plugins/modules/cv_server_provision.py b/ansible_collections/community/network/plugins/modules/cv_server_provision.py index 4cf90d25c..1f5b65332 100644 --- a/ansible_collections/community/network/plugins/modules/cv_server_provision.py +++ b/ansible_collections/community/network/plugins/modules/cv_server_provision.py @@ -138,7 +138,7 @@ EXAMPLES = ''' switch_port: 2 template: template_file.j2 action: remove - auto_run: True + auto_run: true - name: Add template configuration to interface Ethernet2. No VLAN. Run task. community.network.cv_server_provision: @@ -151,7 +151,7 @@ EXAMPLES = ''' switch_port: 2 template: single_attached_trunk.j2 action: add - auto_run: True + auto_run: true - name: Add template with VLAN configuration to interface Ethernet2. Run task. community.network.cv_server_provision: @@ -165,7 +165,7 @@ EXAMPLES = ''' port_vlan: 22 template: single_attached_vlan.j2 action: add - auto_run: True + auto_run: true ''' RETURN = ''' @@ -373,7 +373,7 @@ def port_configurable(module, configlet): :param module: Ansible module with parameters and client connection. :param configlet: Dict of configlet info. - :return: True or False. + :return: true or False. ''' configurable = False regex = r'^interface Ethernet%s' % module.params['switch_port'] @@ -450,7 +450,7 @@ def valid_template(port, template): :param port: User specified port. :param template: Contents of Jinja template. - :return: True or False + :return: true or False ''' valid = True regex = r'^interface Ethernet%s' % port @@ -552,7 +552,7 @@ def wait_for_task_completion(module, task): :param module: Ansible module with parameters and client connection. :param task: Task ID to poll for completion. - :return: True or exit with failure if task is cancelled or fails. + :return: true or exit with failure if task is cancelled or fails. ''' task_complete = False while not task_complete: diff --git a/ansible_collections/community/network/plugins/modules/dladm_iptun.py b/ansible_collections/community/network/plugins/modules/dladm_iptun.py index 7770199e5..81ff8493b 100644 --- a/ansible_collections/community/network/plugins/modules/dladm_iptun.py +++ b/ansible_collections/community/network/plugins/modules/dladm_iptun.py @@ -81,7 +81,7 @@ temporary: description: specifies if operation will persist across reboots returned: always type: bool - sample: True + sample: true local_address: description: local IP address returned: always diff --git a/ansible_collections/community/network/plugins/modules/dladm_linkprop.py b/ansible_collections/community/network/plugins/modules/dladm_linkprop.py index 0c1a96536..036fcb5cb 100644 --- a/ansible_collections/community/network/plugins/modules/dladm_linkprop.py +++ b/ansible_collections/community/network/plugins/modules/dladm_linkprop.py @@ -71,7 +71,7 @@ temporary: description: specifies if operation will persist across reboots returned: always type: bool - sample: True + sample: true link: description: link name returned: always diff --git a/ansible_collections/community/network/plugins/modules/dladm_vlan.py b/ansible_collections/community/network/plugins/modules/dladm_vlan.py index a9770bd38..cab712a8c 100644 --- a/ansible_collections/community/network/plugins/modules/dladm_vlan.py +++ b/ansible_collections/community/network/plugins/modules/dladm_vlan.py @@ -68,7 +68,7 @@ temporary: description: specifies if operation will persist across reboots returned: always type: bool - sample: True + sample: true link: description: VLAN's underlying link name returned: always diff --git a/ansible_collections/community/network/plugins/modules/edgeos_command.py b/ansible_collections/community/network/plugins/modules/edgeos_command.py index cc4a73b74..17e332f32 100644 --- a/ansible_collections/community/network/plugins/modules/edgeos_command.py +++ b/ansible_collections/community/network/plugins/modules/edgeos_command.py @@ -30,19 +30,19 @@ options: remote device. The output of the command is returned to the playbook. If the C(wait_for) argument is provided, the module is not returned until the condition is met or the number of retries is exceeded. - required: True + required: true wait_for: description: - Causes the task to wait for a specific condition to be met before moving forward. If the condition is not met before the specified number of retries is exceeded, the task will fail. - required: False + required: false match: description: - Used in conjunction with C(wait_for) to create match policy. If set to C(all), then all conditions in C(wait_for) must be met. If set to C(any), then only one condition must match. - required: False + required: false default: 'all' choices: ['any', 'all'] retries: @@ -50,12 +50,12 @@ options: - Number of times a command should be tried before it is considered failed. The command is run on the target device and evaluated against the C(wait_for) conditionals. - required: False + required: false default: 10 interval: description: - The number of seconds to wait between C(retries) of the command. - required: False + required: false default: 1 notes: diff --git a/ansible_collections/community/network/plugins/modules/edgeos_config.py b/ansible_collections/community/network/plugins/modules/edgeos_config.py index bf4fd5e54..0f4e1f68d 100644 --- a/ansible_collections/community/network/plugins/modules/edgeos_config.py +++ b/ansible_collections/community/network/plugins/modules/edgeos_config.py @@ -116,12 +116,12 @@ EXAMPLES = """ - name: Backup and load from file community.network.edgeos_config: src: edgeos.cfg - backup: yes + backup: true - name: Configurable backup path community.network.edgeos_config: src: edgeos.cfg - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/edgeswitch_vlan.py b/ansible_collections/community/network/plugins/modules/edgeswitch_vlan.py index 4520309fa..6e47eb192 100644 --- a/ansible_collections/community/network/plugins/modules/edgeswitch_vlan.py +++ b/ansible_collections/community/network/plugins/modules/edgeswitch_vlan.py @@ -65,7 +65,7 @@ options: purge: description: - Purge VLANs not defined in the I(aggregate) parameter. - default: no + default: false type: bool state: description: diff --git a/ansible_collections/community/network/plugins/modules/enos_config.py b/ansible_collections/community/network/plugins/modules/enos_config.py index 86a8497da..e74558263 100644 --- a/ansible_collections/community/network/plugins/modules/enos_config.py +++ b/ansible_collections/community/network/plugins/modules/enos_config.py @@ -160,12 +160,12 @@ EXAMPLES = """ - name: Load a config from disk and replace the current config community.network.enos_config: src: config.cfg - backup: yes + backup: true - name: Configurable backup path community.network.enos_config: src: config.cfg - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/enos_facts.py b/ansible_collections/community/network/plugins/modules/enos_facts.py index f9d72512b..d5c0cbfd3 100644 --- a/ansible_collections/community/network/plugins/modules/enos_facts.py +++ b/ansible_collections/community/network/plugins/modules/enos_facts.py @@ -62,7 +62,7 @@ Tasks: The following are examples of using the module enos_facts. password: admin transport: cli timeout: 30 - authorize: True + authorize: true auth_pass: --- diff --git a/ansible_collections/community/network/plugins/modules/exos_config.py b/ansible_collections/community/network/plugins/modules/exos_config.py index 7267b3927..8c893fa38 100644 --- a/ansible_collections/community/network/plugins/modules/exos_config.py +++ b/ansible_collections/community/network/plugins/modules/exos_config.py @@ -169,7 +169,7 @@ EXAMPLES = """ community.network.exos_config: lines: - configure ports 2 description-string "Master Uplink" - backup: yes + backup: true - name: Check the running-config against master config community.network.exos_config: @@ -190,7 +190,7 @@ EXAMPLES = """ community.network.exos_config: lines: - configure ports 2 description-string "Master Uplink" - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user @@ -323,7 +323,7 @@ def main(): result['warnings'] = warnings config = None - flags = ['detail'] if module.params['defaults'] else [] + flags = [' detail'] if module.params['defaults'] else [] diff_ignore_lines = module.params['diff_ignore_lines'] if module.params['backup'] or (module._diff and module.params['diff_against'] == 'running'): @@ -412,6 +412,8 @@ def main(): base_config = NetworkConfig(indent=1, contents=contents, ignore_lines=diff_ignore_lines) if running_config.sha1 != base_config.sha1: + before = '' + after = '' if module.params['diff_against'] == 'intended': before = running_config after = base_config diff --git a/ansible_collections/community/network/plugins/modules/exos_facts.py b/ansible_collections/community/network/plugins/modules/exos_facts.py index 174463dc0..43ea8efab 100644 --- a/ansible_collections/community/network/plugins/modules/exos_facts.py +++ b/ansible_collections/community/network/plugins/modules/exos_facts.py @@ -36,6 +36,9 @@ description: enable or disable collection of additional facts. notes: - Tested against EXOS 22.5.1.7 + - "The I(gather_network_resources) option currently only works with + C(ansible_connection: ansible.netcommon.httpapi). For details, see + U(https://github.com/ansible-collections/community.network/issues/460)." options: gather_subset: description: @@ -56,7 +59,8 @@ options: Can specify a list of values to include a larger subset. Values can also be used with an initial C(!) to specify that a specific subset should not be collected. - Valid subsets are 'all', 'lldp_global'. + Valid subsets are 'all', 'lldp_global', 'lldp_interfaces', + 'vlans', 'l2_interfaces'. type: list ''' @@ -83,13 +87,13 @@ EXAMPLES = """ gather_subset: - '!all' - '!min' - gather_network_resource: + gather_network_resources: - lldp_global - name: Gather lldp global resource and minimal legacy facts community.network.exos_facts: gather_subset: min - gather_network_resource: lldp_global + gather_network_resources: lldp_global """ RETURN = """ diff --git a/ansible_collections/community/network/plugins/modules/exos_l2_interfaces.py b/ansible_collections/community/network/plugins/modules/exos_l2_interfaces.py index 2fc82fef7..747f4634a 100644 --- a/ansible_collections/community/network/plugins/modules/exos_l2_interfaces.py +++ b/ansible_collections/community/network/plugins/modules/exos_l2_interfaces.py @@ -49,7 +49,7 @@ options: description: - Name of the interface type: str - required: True + required: true access: description: - Switchport mode access command to configure the interface as a layer 2 access. diff --git a/ansible_collections/community/network/plugins/modules/exos_lldp_interfaces.py b/ansible_collections/community/network/plugins/modules/exos_lldp_interfaces.py index 01a7a7609..fb3ff5a94 100644 --- a/ansible_collections/community/network/plugins/modules/exos_lldp_interfaces.py +++ b/ansible_collections/community/network/plugins/modules/exos_lldp_interfaces.py @@ -46,7 +46,7 @@ options: description: - Name of the interface LLDP needs to be configured on. type: str - required: True + required: true enabled: description: - This is a boolean value to control disabling of LLDP on the interface C(name) @@ -122,15 +122,15 @@ EXAMPLES = """ # # "before": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: True +# enabled: true # - name: '3' -# enabled: False +# enabled: false # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: False +# enabled: false # # "requests": [ # { @@ -159,15 +159,15 @@ EXAMPLES = """ # # "after": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: False +# enabled: false # - name: '3' -# enabled: False +# enabled: false # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: True +# enabled: true # After state: # ------------- @@ -272,15 +272,15 @@ EXAMPLES = """ # # "before": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: True +# enabled: true # - name: '3' -# enabled: False +# enabled: false # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: False +# enabled: false # # "requests": [ # { @@ -309,15 +309,15 @@ EXAMPLES = """ # # "after": # - name: '1' -# enabled: False +# enabled: false # - name: '2' -# enabled: True +# enabled: true # - name: '3' -# enabled: True +# enabled: true # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: False +# enabled: false # After state: # ------------- @@ -408,11 +408,11 @@ EXAMPLES = """ # # "before": # - name: '1' -# enabled: False +# enabled: false # - name: '2' -# enabled: False +# enabled: false # - name: '3' -# enabled: False +# enabled: false # # "requests": [ # { @@ -441,11 +441,11 @@ EXAMPLES = """ # # "after": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: False +# enabled: false # - name: '3' -# enabled: True +# enabled: true # # After state: # ------------- @@ -535,15 +535,15 @@ EXAMPLES = """ # # "before": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: True +# enabled: true # - name: '3' -# enabled: False +# enabled: false # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: False +# enabled: false # # "requests": [ # { @@ -572,15 +572,15 @@ EXAMPLES = """ # # "after": # - name: '1' -# enabled: True +# enabled: true # - name: '2' -# enabled: True +# enabled: true # - name: '3' -# enabled: True +# enabled: true # - name: '4' -# enabled: True +# enabled: true # - name: '5' -# enabled: True +# enabled: true # After state: # ------------- diff --git a/ansible_collections/community/network/plugins/modules/exos_vlans.py b/ansible_collections/community/network/plugins/modules/exos_vlans.py index 276ba92d8..806af7229 100644 --- a/ansible_collections/community/network/plugins/modules/exos_vlans.py +++ b/ansible_collections/community/network/plugins/modules/exos_vlans.py @@ -54,7 +54,7 @@ options: description: - ID of the VLAN. Range 1-4094 type: int - required: True + required: true state: description: - Operational state of the VLAN diff --git a/ansible_collections/community/network/plugins/modules/iap_start_workflow.py b/ansible_collections/community/network/plugins/modules/iap_start_workflow.py index c8c2ada8a..7b7206f1e 100644 --- a/ansible_collections/community/network/plugins/modules/iap_start_workflow.py +++ b/ansible_collections/community/network/plugins/modules/iap_start_workflow.py @@ -63,14 +63,14 @@ options: - Use HTTPS to connect - By default using http type: bool - default: False + default: false validate_certs: description: - If C(no), SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool - default: False + default: false ''' EXAMPLES = ''' diff --git a/ansible_collections/community/network/plugins/modules/iap_token.py b/ansible_collections/community/network/plugins/modules/iap_token.py index 72d69df62..bd525f04c 100644 --- a/ansible_collections/community/network/plugins/modules/iap_token.py +++ b/ansible_collections/community/network/plugins/modules/iap_token.py @@ -45,14 +45,14 @@ options: - Use HTTPS to connect - By default using http type: bool - default: False + default: false validate_certs: description: - If C(no), SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool - default: False + default: false ''' EXAMPLES = ''' diff --git a/ansible_collections/community/network/plugins/modules/icx_banner.py b/ansible_collections/community/network/plugins/modules/icx_banner.py index a13756e12..2c98b86fe 100644 --- a/ansible_collections/community/network/plugins/modules/icx_banner.py +++ b/ansible_collections/community/network/plugins/modules/icx_banner.py @@ -49,7 +49,7 @@ options: Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' @@ -71,12 +71,12 @@ EXAMPLES = """ - name: Configure require-enter-key for motd community.network.icx_banner: banner: motd - enterkey: True + enterkey: true - name: Remove require-enter-key for motd community.network.icx_banner: banner: motd - enterkey: False + enterkey: false """ RETURN = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_command.py b/ansible_collections/community/network/plugins/modules/icx_command.py index 85c85fc63..06e2ef4de 100644 --- a/ansible_collections/community/network/plugins/modules/icx_command.py +++ b/ansible_collections/community/network/plugins/modules/icx_command.py @@ -112,8 +112,8 @@ tasks: answer: - 'y' - 'qqq\\\r' - check_all: True - newline: False + check_all: true + newline: false """ RETURN = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_config.py b/ansible_collections/community/network/plugins/modules/icx_config.py index 9486900f8..ce052d4e8 100644 --- a/ansible_collections/community/network/plugins/modules/icx_config.py +++ b/ansible_collections/community/network/plugins/modules/icx_config.py @@ -232,7 +232,7 @@ EXAMPLES = """ - name: Render template onto an ICX device community.network.icx_config: - backup: yes + backup: true src: "{{ lookup('file', 'config.j2') }}" """ @@ -460,6 +460,8 @@ def main(): base_config = NetworkConfig(indent=1, contents=contents, ignore_lines=diff_ignore_lines) if running_config.sha1 != base_config.sha1: + before = '' + after = '' if module.params['diff_against'] == 'intended': before = running_config after = base_config diff --git a/ansible_collections/community/network/plugins/modules/icx_interface.py b/ansible_collections/community/network/plugins/modules/icx_interface.py index 235b90b17..6f7494288 100644 --- a/ansible_collections/community/network/plugins/modules/icx_interface.py +++ b/ansible_collections/community/network/plugins/modules/icx_interface.py @@ -29,7 +29,7 @@ options: enabled: description: - Interface link status - default: yes + default: true type: bool speed: description: @@ -214,7 +214,7 @@ options: - Check running configuration. This can be set as environment variable. - Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. - default: yes + default: true type: bool ''' diff --git a/ansible_collections/community/network/plugins/modules/icx_l3_interface.py b/ansible_collections/community/network/plugins/modules/icx_l3_interface.py index d0f7ca841..fca81bb47 100644 --- a/ansible_collections/community/network/plugins/modules/icx_l3_interface.py +++ b/ansible_collections/community/network/plugins/modules/icx_l3_interface.py @@ -114,7 +114,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ @@ -129,7 +129,7 @@ EXAMPLES = """ community.network.icx_l3_interface: name: ethernet 1/1/1 ipv4: 192.168.0.1/24 - replace: yes + replace: true state: absent - name: Replace ethernet 1/1/1 dynamic IPv4 address @@ -143,7 +143,7 @@ EXAMPLES = """ community.network.icx_l3_interface: name: ethernet 1/1/1 ipv4: 192.168.0.1/24 - secondary: yes + secondary: true state: absent - name: Set ethernet 1/1/1 IPv4 address @@ -197,7 +197,10 @@ from ansible.module_utils.connection import exec_command from ansible_collections.community.network.plugins.module_utils.network.icx.icx import get_config, load_config from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.config import NetworkConfig from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import remove_default_spec -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen, to_netmask, to_masklen +try: + from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen, to_netmask, to_masklen +except ImportError: + from ansible.module_utils.common.network import is_netmask, is_masklen, to_netmask, to_masklen def validate_ipv4(value, module): diff --git a/ansible_collections/community/network/plugins/modules/icx_linkagg.py b/ansible_collections/community/network/plugins/modules/icx_linkagg.py index 8dbab5c25..044816b37 100644 --- a/ansible_collections/community/network/plugins/modules/icx_linkagg.py +++ b/ansible_collections/community/network/plugins/modules/icx_linkagg.py @@ -47,7 +47,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true aggregate: description: - List of link aggregation definitions. @@ -85,7 +85,7 @@ options: description: - Purge links not defined in the I(aggregate) parameter. type: bool - default: no + default: false ''' diff --git a/ansible_collections/community/network/plugins/modules/icx_lldp.py b/ansible_collections/community/network/plugins/modules/icx_lldp.py index 43d10765f..059d2be82 100644 --- a/ansible_collections/community/network/plugins/modules/icx_lldp.py +++ b/ansible_collections/community/network/plugins/modules/icx_lldp.py @@ -36,7 +36,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true state: description: - Enables the receipt and transmission of Link Layer Discovery Protocol (LLDP) globally. diff --git a/ansible_collections/community/network/plugins/modules/icx_logging.py b/ansible_collections/community/network/plugins/modules/icx_logging.py index fbe3d73d0..06b3e68a1 100644 --- a/ansible_collections/community/network/plugins/modules/icx_logging.py +++ b/ansible_collections/community/network/plugins/modules/icx_logging.py @@ -94,7 +94,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_static_route.py b/ansible_collections/community/network/plugins/modules/icx_static_route.py index b66f6a400..4947c63c7 100644 --- a/ansible_collections/community/network/plugins/modules/icx_static_route.py +++ b/ansible_collections/community/network/plugins/modules/icx_static_route.py @@ -68,7 +68,7 @@ options: purge: description: - Purge routes not defined in the I(aggregate) parameter. - default: no + default: false type: bool state: description: @@ -81,7 +81,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_system.py b/ansible_collections/community/network/plugins/modules/icx_system.py index bc20c174c..bb8f745ec 100644 --- a/ansible_collections/community/network/plugins/modules/icx_system.py +++ b/ansible_collections/community/network/plugins/modules/icx_system.py @@ -98,7 +98,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_user.py b/ansible_collections/community/network/plugins/modules/icx_user.py index 3cc6971c8..7d251668a 100644 --- a/ansible_collections/community/network/plugins/modules/icx_user.py +++ b/ansible_collections/community/network/plugins/modules/icx_user.py @@ -133,7 +133,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/icx_vlan.py b/ansible_collections/community/network/plugins/modules/icx_vlan.py index 1eb254e26..54c4e03eb 100644 --- a/ansible_collections/community/network/plugins/modules/icx_vlan.py +++ b/ansible_collections/community/network/plugins/modules/icx_vlan.py @@ -201,7 +201,7 @@ options: purge: description: - Purge VLANs not defined in the I(aggregate) parameter. - default: no + default: false type: bool state: description: @@ -214,7 +214,7 @@ options: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool - default: yes + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/ipadm_addr.py b/ansible_collections/community/network/plugins/modules/ipadm_addr.py index 7d42dbcbc..2fb24f8af 100644 --- a/ansible_collections/community/network/plugins/modules/ipadm_addr.py +++ b/ansible_collections/community/network/plugins/modules/ipadm_addr.py @@ -82,7 +82,7 @@ temporary: description: specifies if operation will persist across reboots returned: always type: bool - sample: True + sample: true addrtype: description: address type returned: always diff --git a/ansible_collections/community/network/plugins/modules/ipadm_addrprop.py b/ansible_collections/community/network/plugins/modules/ipadm_addrprop.py index da5dcc679..7411c06e7 100644 --- a/ansible_collections/community/network/plugins/modules/ipadm_addrprop.py +++ b/ansible_collections/community/network/plugins/modules/ipadm_addrprop.py @@ -73,7 +73,7 @@ temporary: description: specifies if operation will persist across reboots returned: always type: bool - sample: True + sample: true value: description: property value returned: when value is provided diff --git a/ansible_collections/community/network/plugins/modules/nclu.py b/ansible_collections/community/network/plugins/modules/nclu.py index 2b39dabfe..1f5e78daf 100644 --- a/ansible_collections/community/network/plugins/modules/nclu.py +++ b/ansible_collections/community/network/plugins/modules/nclu.py @@ -144,7 +144,7 @@ changed: description: whether the interface was changed returned: changed type: bool - sample: True + sample: true msg: description: human-readable report of success or failure returned: always diff --git a/ansible_collections/community/network/plugins/modules/netscaler_cs_action.py b/ansible_collections/community/network/plugins/modules/netscaler_cs_action.py index 8fc7511c8..a134bd2e9 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_cs_action.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_cs_action.py @@ -61,7 +61,7 @@ EXAMPLES = ''' nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot - validate_certs: no + validate_certs: false state: present diff --git a/ansible_collections/community/network/plugins/modules/netscaler_cs_policy.py b/ansible_collections/community/network/plugins/modules/netscaler_cs_policy.py index 47459608f..c1d481e6f 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_cs_policy.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_cs_policy.py @@ -79,7 +79,7 @@ EXAMPLES = ''' nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot - validate_certs: no + validate_certs: false state: present diff --git a/ansible_collections/community/network/plugins/modules/netscaler_lb_monitor.py b/ansible_collections/community/network/plugins/modules/netscaler_lb_monitor.py index 9221afb49..167c45eeb 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_lb_monitor.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_lb_monitor.py @@ -789,7 +789,7 @@ EXAMPLES = ''' nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot - validate_certs: no + validate_certs: false module: netscaler_lb_monitor diff --git a/ansible_collections/community/network/plugins/modules/netscaler_lb_vserver.py b/ansible_collections/community/network/plugins/modules/netscaler_lb_vserver.py index 9869b7459..bf591b35b 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_lb_vserver.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_lb_vserver.py @@ -913,7 +913,7 @@ EXAMPLES = ''' nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot - validate_certs: no + validate_certs: false state: present @@ -936,7 +936,7 @@ EXAMPLES = ''' nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot - validate_certs: no + validate_certs: false state: present name: lb_vserver_2 diff --git a/ansible_collections/community/network/plugins/modules/netscaler_save_config.py b/ansible_collections/community/network/plugins/modules/netscaler_save_config.py index bcc43f103..1fa3f46f2 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_save_config.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_save_config.py @@ -25,17 +25,17 @@ options: description: - The ip address of the netscaler appliance where the nitro API calls will be made. - "The port can be specified with the colon (:). E.g. C(192.168.1.1:555)." - required: True + required: true nitro_user: description: - The username with which to authenticate to the netscaler node. - required: True + required: true nitro_pass: description: - The password with which to authenticate to the netscaler node. - required: True + required: true nitro_protocol: choices: [ 'http', 'https' ] @@ -76,7 +76,7 @@ EXAMPLES = ''' nitro_user: nsroot nitro_pass: nsroot - save_config: no + save_config: false name: server-1 ipaddress: 192.168.1.1 diff --git a/ansible_collections/community/network/plugins/modules/netscaler_server.py b/ansible_collections/community/network/plugins/modules/netscaler_server.py index e33adb205..287758fa6 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_server.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_server.py @@ -186,8 +186,7 @@ def server_identical(client, module, server_proxy): def diff_list(client, module, server_proxy): - ret_val = server_proxy.diff_object(server.get_filtered(client, 'name:%s' % module.params['name'])[0]), - return ret_val[0] + return server_proxy.diff_object(server.get_filtered(client, 'name:%s' % module.params['name'])[0]) def do_state_change(client, module, server_proxy): diff --git a/ansible_collections/community/network/plugins/modules/netscaler_service.py b/ansible_collections/community/network/plugins/modules/netscaler_service.py index 430d22537..9fe640bc9 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_service.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_service.py @@ -113,7 +113,7 @@ options: healthmonitor: description: - "Monitor the health of this service" - default: yes + default: true type: bool maxreq: @@ -127,7 +127,7 @@ options: description: - "Use the transparent cache redirection virtual server to forward requests to the cache server." - "Note: Do not specify this parameter if you set the Cache Type parameter." - default: no + default: false type: bool cip: @@ -238,7 +238,7 @@ options: - >- Use Layer 2 mode to bridge the packets sent to this service if it is marked as DOWN. If the service is DOWN, and this parameter is disabled, the packets are dropped. - default: no + default: false type: bool monthreshold: description: @@ -329,7 +329,7 @@ options: - >- Shut down gracefully, not accepting any new connections, and disabling the service when all of its connections are closed. - default: no + default: false type: bool monitor_bindings: @@ -378,7 +378,7 @@ EXAMPLES = ''' # Monitor monitor-1 must have been already setup - name: Setup http service - gather_facts: False + gather_facts: false delegate_to: localhost community.network.netscaler_service: nsip: 172.18.0.2 diff --git a/ansible_collections/community/network/plugins/modules/netscaler_ssl_certkey.py b/ansible_collections/community/network/plugins/modules/netscaler_ssl_certkey.py index 58d678f30..0f63ff4a5 100644 --- a/ansible_collections/community/network/plugins/modules/netscaler_ssl_certkey.py +++ b/ansible_collections/community/network/plugins/modules/netscaler_ssl_certkey.py @@ -115,7 +115,7 @@ EXAMPLES = ''' expirymonitor: enabled notificationperiod: 30 inform: PEM - password: False + password: false passplain: somesecret ''' diff --git a/ansible_collections/community/network/plugins/modules/nos_config.py b/ansible_collections/community/network/plugins/modules/nos_config.py index 38e4fb7e7..ed69ea25c 100644 --- a/ansible_collections/community/network/plugins/modules/nos_config.py +++ b/ansible_collections/community/network/plugins/modules/nos_config.py @@ -190,7 +190,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.nos_config: lines: logging raslog console INFO - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/nuage_vspk.py b/ansible_collections/community/network/plugins/modules/nuage_vspk.py index 39fdae7a0..553a68afc 100644 --- a/ansible_collections/community/network/plugins/modules/nuage_vspk.py +++ b/ansible_collections/community/network/plugins/modules/nuage_vspk.py @@ -149,7 +149,7 @@ EXAMPLES = ''' command: find properties: name: "{{ enterprise_new_name }}-basic" - ignore_errors: yes + ignore_errors: true register: nuage_check_enterprise # Updating an enterprise's name @@ -192,7 +192,7 @@ EXAMPLES = ''' command: change_password properties: password: "ansible-new-password" - ignore_errors: yes + ignore_errors: true # Finding a group in an enterprise - name: Find Administrators group in Enterprise diff --git a/ansible_collections/community/network/plugins/modules/opx_cps.py b/ansible_collections/community/network/plugins/modules/opx_cps.py index ec5cb6db2..4b026015f 100644 --- a/ansible_collections/community/network/plugins/modules/opx_cps.py +++ b/ansible_collections/community/network/plugins/modules/opx_cps.py @@ -160,12 +160,12 @@ db: description: Denotes if CPS DB transaction was performed returned: when db is set to True in module options type: bool - sample: True + sample: true commit_event: description: Denotes if auto-commit event is set returned: when commit_event is set to True in module options type: bool - sample: True + sample: true """ from ansible.module_utils.basic import AnsibleModule diff --git a/ansible_collections/community/network/plugins/modules/pn_access_list.py b/ansible_collections/community/network/plugins/modules/pn_access_list.py index 8b9235445..9d264196c 100644 --- a/ansible_collections/community/network/plugins/modules/pn_access_list.py +++ b/ansible_collections/community/network/plugins/modules/pn_access_list.py @@ -17,13 +17,13 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use 'present' to create access-list and 'absent' to delete access-list. - required: True + required: true choices: [ "present", "absent"] pn_name: description: diff --git a/ansible_collections/community/network/plugins/modules/pn_access_list_ip.py b/ansible_collections/community/network/plugins/modules/pn_access_list_ip.py index 78371d8b0..68195a97d 100644 --- a/ansible_collections/community/network/plugins/modules/pn_access_list_ip.py +++ b/ansible_collections/community/network/plugins/modules/pn_access_list_ip.py @@ -17,24 +17,24 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use 'present' to add access-list-ip and 'absent' to remove access-list-ip. - required: True + required: true choices: ["present", "absent"] pn_ip: description: - IP associated with the access list. - required: False + required: false default: '::' type: str pn_name: description: - Access List Name. - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_admin_service.py b/ansible_collections/community/network/plugins/modules/pn_admin_service.py index 3ce9ce6b0..521576865 100644 --- a/ansible_collections/community/network/plugins/modules/pn_admin_service.py +++ b/ansible_collections/community/network/plugins/modules/pn_admin_service.py @@ -17,69 +17,69 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the admin-service. - required: True + required: true type: str choices: ['update'] pn_web: description: - Web (HTTP) to enable or disable. - required: False + required: false type: bool pn_web_ssl: description: - Web SSL (HTTPS) to enable or disable. - required: False + required: false type: bool pn_snmp: description: - Simple Network Monitoring Protocol (SNMP) to enable or disable. - required: False + required: false type: bool pn_web_port: description: - Web (HTTP) port to enable or disable. - required: False + required: false type: str pn_web_ssl_port: description: - Web SSL (HTTPS) port to enable or disable. - required: False + required: false type: str pn_nfs: description: - Network File System (NFS) to enable or disable. - required: False + required: false type: bool pn_ssh: description: - Secure Shell to enable or disable. - required: False + required: false type: bool pn_web_log: description: - Web logging to enable or disable. - required: False + required: false type: bool pn__if: description: - administrative service interface. - required: False + required: false type: str choices: ['mgmt', 'data'] pn_icmp: description: - Internet Message Control Protocol (ICMP) to enable or disable. - required: False + required: false type: bool pn_net_api: description: - Netvisor API to enable or disable APIs. - required: False + required: false type: bool ''' @@ -89,18 +89,18 @@ EXAMPLES = """ pn_cliswitch: "sw01" state: "update" pn__if: "mgmt" - pn_web: False - pn_icmp: True + pn_web: false + pn_icmp: true - name: Admin service functionality community.network.pn_admin_service: pn_cliswitch: "sw01" state: "update" - pn_web: False + pn_web: false pn__if: "mgmt" - pn_snmp: True - pn_net_api: True - pn_ssh: True + pn_snmp: true + pn_net_api: true + pn_ssh: true """ RETURN = """ diff --git a/ansible_collections/community/network/plugins/modules/pn_admin_session_timeout.py b/ansible_collections/community/network/plugins/modules/pn_admin_session_timeout.py index 0c69c88c5..cb6587d4d 100644 --- a/ansible_collections/community/network/plugins/modules/pn_admin_session_timeout.py +++ b/ansible_collections/community/network/plugins/modules/pn_admin_session_timeout.py @@ -17,20 +17,20 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. C(update) to modify the admin-session-timeout. - required: True + required: true type: str choices: ['update'] pn_timeout: description: - Maximum time to wait for user activity before terminating login session. Minimum should be 60s. - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_admin_syslog.py b/ansible_collections/community/network/plugins/modules/pn_admin_syslog.py index 068212137..acac07c7c 100644 --- a/ansible_collections/community/network/plugins/modules/pn_admin_syslog.py +++ b/ansible_collections/community/network/plugins/modules/pn_admin_syslog.py @@ -19,48 +19,48 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(present) to create admin-syslog and C(absent) to delete admin-syslog C(update) to modify the admin-syslog. - required: True + required: true type: str choices: ['present', 'absent', 'update'] pn_scope: description: - Scope of the system log. - required: False + required: false type: str choices: ['local', 'fabric'] pn_host: description: - Hostname to log system events. - required: False + required: false type: str pn_port: description: - Host port. - required: False + required: false type: str pn_transport: description: - Transport for log events - tcp/tls or udp. - required: False + required: false type: str choices: ['tcp-tls', 'udp'] default: 'udp' pn_message_format: description: - message-format for log events - structured or legacy. - required: False + required: false choices: ['structured', 'legacy'] type: str pn_name: description: - name of the system log. - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_connection_stats_settings.py b/ansible_collections/community/network/plugins/modules/pn_connection_stats_settings.py index 580ad0054..aba6142a3 100644 --- a/ansible_collections/community/network/plugins/modules/pn_connection_stats_settings.py +++ b/ansible_collections/community/network/plugins/modules/pn_connection_stats_settings.py @@ -18,94 +18,94 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the connection-stats-settings. - required: True + required: true type: str choices: ['update'] pn_enable: description: - Enable or disable collecting connections statistics. - required: False + required: false type: bool pn_connection_backup_enable: description: - Enable backup for connection statistics collection. - required: False + required: false type: bool pn_client_server_stats_max_memory: description: - maximum memory for client server statistics. - required: False + required: false type: str pn_connection_stats_log_disk_space: description: - disk-space allocated for statistics (including rotated log files). - required: False + required: false type: str pn_client_server_stats_log_enable: description: - Enable or disable statistics. - required: False + required: false type: bool pn_service_stat_max_memory: description: - maximum memory allowed for service statistics. - required: False + required: false type: str pn_connection_stats_log_interval: description: - interval to collect statistics. - required: False + required: false type: str pn_fabric_connection_backup_interval: description: - backup interval for fabric connection statistics collection. - required: False + required: false type: str pn_connection_backup_interval: description: - backup interval for connection statistics collection. - required: False + required: false type: str pn_connection_stats_log_enable: description: - enable or disable statistics. - required: False + required: false type: bool pn_fabric_connection_max_memory: description: - maximum memory allowed for fabric connection statistics. - required: False + required: false type: str pn_fabric_connection_backup_enable: description: - enable backup for fabric connection statistics collection. - required: False + required: false type: bool pn_client_server_stats_log_disk_space: description: - disk-space allocated for statistics (including rotated log files). - required: False + required: false type: str pn_connection_max_memory: description: - maximum memory allowed for connection statistics. - required: False + required: false type: str pn_connection_stats_max_memory: description: - maximum memory allowed for connection statistics. - required: False + required: false type: str pn_client_server_stats_log_interval: description: - interval to collect statistics. - required: False + required: false type: str ''' @@ -114,14 +114,14 @@ EXAMPLES = """ community.network.pn_connection_stats_settings: pn_cliswitch: "sw01" state: "update" - pn_enable: False + pn_enable: false pn_fabric_connection_max_memory: "1000" - name: "Modify connection stats settings" community.network.pn_connection_stats_settings: pn_cliswitch: "sw01" state: "update" - pn_enable: True + pn_enable: true """ RETURN = """ diff --git a/ansible_collections/community/network/plugins/modules/pn_cpu_class.py b/ansible_collections/community/network/plugins/modules/pn_cpu_class.py index 3ef89c818..291ae8188 100644 --- a/ansible_collections/community/network/plugins/modules/pn_cpu_class.py +++ b/ansible_collections/community/network/plugins/modules/pn_cpu_class.py @@ -17,13 +17,13 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(present) to create cpu-class and C(absent) to delete cpu-class C(update) to modify the cpu-class. - required: True + required: true type: str choices: ['present', 'absent', 'update'] pn_scope: @@ -34,18 +34,18 @@ options: pn_hog_protect: description: - enable host-based hog protection. - required: False + required: false type: str choices: ['disable', 'enable', 'enable-and-drop'] pn_rate_limit: description: - rate-limit for CPU class. - required: False + required: false type: str pn_name: description: - name for the CPU class. - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_dhcp_filter.py b/ansible_collections/community/network/plugins/modules/pn_dhcp_filter.py index d876d77cf..f5a2a6dcd 100644 --- a/ansible_collections/community/network/plugins/modules/pn_dhcp_filter.py +++ b/ansible_collections/community/network/plugins/modules/pn_dhcp_filter.py @@ -17,19 +17,19 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(present) to create dhcp-filter and C(absent) to delete dhcp-filter C(update) to modify the dhcp-filter. - required: True + required: true type: str choices: ['present', 'absent', 'update'] pn_trusted_ports: description: - trusted ports of dhcp config. - required: False + required: false type: str pn_name: description: diff --git a/ansible_collections/community/network/plugins/modules/pn_dscp_map.py b/ansible_collections/community/network/plugins/modules/pn_dscp_map.py index d5753fe69..7de7db06d 100644 --- a/ansible_collections/community/network/plugins/modules/pn_dscp_map.py +++ b/ansible_collections/community/network/plugins/modules/pn_dscp_map.py @@ -17,24 +17,24 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(present) to create dscp-map and C(absent) to delete. - required: True + required: true type: str choices: ["present", "absent"] pn_name: description: - Name for the DSCP map. - required: False + required: false type: str pn_scope: description: - Scope for dscp map. - required: False + required: false choices: ["local", "fabric"] ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_dscp_map_pri_map.py b/ansible_collections/community/network/plugins/modules/pn_dscp_map_pri_map.py index a87b64ea3..760d45d92 100644 --- a/ansible_collections/community/network/plugins/modules/pn_dscp_map_pri_map.py +++ b/ansible_collections/community/network/plugins/modules/pn_dscp_map_pri_map.py @@ -17,29 +17,29 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the dscp-map-pri-map. - required: True + required: true type: str choices: ['update'] pn_pri: description: - CoS priority. - required: False + required: false type: str pn_name: description: - Name for the DSCP map. - required: False + required: false type: str pn_dsmap: description: - DSCP value(s). - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_igmp_snooping.py b/ansible_collections/community/network/plugins/modules/pn_igmp_snooping.py index a2a1ce74b..b91d6497a 100644 --- a/ansible_collections/community/network/plugins/modules/pn_igmp_snooping.py +++ b/ansible_collections/community/network/plugins/modules/pn_igmp_snooping.py @@ -17,63 +17,63 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the igmp-snooping. - required: True + required: true type: str choices: ['update'] pn_enable: description: - enable or disable IGMP snooping. - required: False + required: false type: bool pn_query_interval: description: - IGMP query interval in seconds. - required: False + required: false type: str pn_igmpv2_vlans: description: - VLANs on which to use IGMPv2 protocol. - required: False + required: false type: str pn_igmpv3_vlans: description: - VLANs on which to use IGMPv3 protocol. - required: False + required: false type: str pn_enable_vlans: description: - enable per VLAN IGMP snooping. - required: False + required: false type: str pn_vxlan: description: - enable or disable IGMP snooping on vxlans. - required: False + required: false type: bool pn_query_max_response_time: description: - maximum response time, in seconds, advertised in IGMP queries. - required: False + required: false type: str pn_scope: description: - IGMP snooping scope - fabric or local. - required: False + required: false choices: ['local', 'fabric'] pn_no_snoop_linklocal_vlans: description: - Remove snooping of link-local groups(224.0.0.0/24) on these vlans. - required: False + required: false type: str pn_snoop_linklocal_vlans: description: - Allow snooping of link-local groups(224.0.0.0/24) on these vlans. - required: False + required: false type: str ''' @@ -82,7 +82,7 @@ EXAMPLES = """ community.network.pn_igmp_snooping: pn_cliswitch: 'sw01' state: 'update' - pn_vxlan: True + pn_vxlan: true pn_enable_vlans: '1-399,401-4092' pn_no_snoop_linklocal_vlans: 'none' pn_igmpv3_vlans: '1-399,401-4092' @@ -91,7 +91,7 @@ EXAMPLES = """ community.network.pn_igmp_snooping: pn_cliswitch: 'sw01' state: 'update' - pn_vxlan: False + pn_vxlan: false pn_enable_vlans: '1-399' pn_no_snoop_linklocal_vlans: 'none' pn_igmpv3_vlans: '1-399' diff --git a/ansible_collections/community/network/plugins/modules/pn_port_config.py b/ansible_collections/community/network/plugins/modules/pn_port_config.py index 31f024b4e..62d77af94 100644 --- a/ansible_collections/community/network/plugins/modules/pn_port_config.py +++ b/ansible_collections/community/network/plugins/modules/pn_port_config.py @@ -17,151 +17,151 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the port-config. - required: True + required: true type: str choices: ['update'] pn_intf: description: - physical interface. - required: False + required: false type: str pn_crc_check_enable: description: - CRC check on ingress and rewrite on egress. - required: False + required: false type: bool pn_dscp_map: description: - DSCP map name to enable on port. - required: False + required: false type: str pn_autoneg: description: - physical port autonegotiation. - required: False + required: false type: bool pn_speed: description: - physical port speed. - required: False + required: false choices: ['disable', '10m', '100m', '1g', '2.5g', '10g', '25g', '40g', '50g', '100g'] pn_port: description: - physical port. - required: False + required: false type: str pn_vxlan_termination: description: - physical port vxlan termination setting. - required: False + required: false type: bool pn_pause: description: - physical port pause. - required: False + required: false type: bool pn_loopback: description: - physical port loopback. - required: False + required: false type: bool pn_loop_vlans: description: - looping vlans. - required: False + required: false type: str pn_routing: description: - routing. - required: False + required: false type: bool pn_edge_switch: description: - physical port edge switch. - required: False + required: false type: bool pn_enable: description: - physical port enable. - required: False + required: false type: bool pn_description: description: - physical port description. - required: False + required: false type: str pn_host_enable: description: - Host facing port control setting. - required: False + required: false type: bool pn_allowed_tpid: description: - Allowed TPID in addition to 0x8100 on Vlan header. - required: False + required: false type: str choices: ['vlan', 'q-in-q', 'q-in-q-old'] pn_mirror_only: description: - physical port mirror only. - required: False + required: false type: bool pn_reflect: description: - physical port reflection. - required: False + required: false type: bool pn_jumbo: description: - jumbo frames on physical port. - required: False + required: false type: bool pn_egress_rate_limit: description: - max egress port data rate limit. - required: False + required: false type: str pn_eth_mode: description: - physical Ethernet mode. - required: False + required: false choices: ['1000base-x', 'sgmii', 'disabled', 'GMII'] pn_fabric_guard: description: - Fabric guard configuration. - required: False + required: false type: bool pn_local_switching: description: - no-local-switching port cannot bridge traffic to another no-local-switching port. - required: False + required: false type: bool pn_lacp_priority: description: - LACP priority from 1 to 65535. - required: False + required: false type: str pn_send_port: description: - send port. - required: False + required: false type: str pn_port_mac_address: description: - physical port MAC Address. - required: False + required: false type: str pn_defer_bringup: description: - defer port bringup. - required: False + required: false type: bool ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_port_cos_bw.py b/ansible_collections/community/network/plugins/modules/pn_port_cos_bw.py index 11578dc84..4c96ed742 100644 --- a/ansible_collections/community/network/plugins/modules/pn_port_cos_bw.py +++ b/ansible_collections/community/network/plugins/modules/pn_port_cos_bw.py @@ -17,39 +17,39 @@ options: pn_cliswitch: description: - Target switch to run the CLI on. - required: False + required: false type: str state: description: - State the action to perform. Use C(update) to modify the port-cos-bw. - required: True + required: true type: str choices: ['update'] pn_max_bw_limit: description: - Maximum b/w in percentage. - required: False + required: false type: str pn_cos: description: - CoS priority. - required: False + required: false type: str pn_port: description: - physical port number. - required: False + required: false type: str pn_weight: description: - Scheduling weight (1 to 127) after b/w guarantee met. - required: False + required: false type: str choices: ['priority', 'no-priority'] pn_min_bw_guarantee: description: - Minimum b/w in percentage. - required: False + required: false type: str ''' diff --git a/ansible_collections/community/network/plugins/modules/pn_stp_port.py b/ansible_collections/community/network/plugins/modules/pn_stp_port.py index 81b4dde85..2cd7f93a7 100644 --- a/ansible_collections/community/network/plugins/modules/pn_stp_port.py +++ b/ansible_collections/community/network/plugins/modules/pn_stp_port.py @@ -67,7 +67,7 @@ EXAMPLES = """ pn_cliswitch: "sw01" state: "update" pn_port: "1" - pn_filter: True + pn_filter: true pn_priority: '144' - name: Modify stp port @@ -82,7 +82,7 @@ EXAMPLES = """ pn_cliswitch: "sw01" state: "update" pn_port: "1" - pn_edge: True + pn_edge: true pn_cost: "200" """ diff --git a/ansible_collections/community/network/plugins/modules/pn_vrouter_bgp.py b/ansible_collections/community/network/plugins/modules/pn_vrouter_bgp.py index 8351351b4..bd6a88e8c 100644 --- a/ansible_collections/community/network/plugins/modules/pn_vrouter_bgp.py +++ b/ansible_collections/community/network/plugins/modules/pn_vrouter_bgp.py @@ -97,7 +97,7 @@ options: - BFD protocol support for fault detection. required: false type: bool - default: False + default: false pn_next_hop_self: description: - BGP next hop is self or not. diff --git a/ansible_collections/community/network/plugins/modules/pn_vtep.py b/ansible_collections/community/network/plugins/modules/pn_vtep.py index cc0a172c8..8294e8e80 100644 --- a/ansible_collections/community/network/plugins/modules/pn_vtep.py +++ b/ansible_collections/community/network/plugins/modules/pn_vtep.py @@ -56,7 +56,7 @@ options: - Tells whether switch in cluster or not. required: false type: bool - default: True + default: true ''' EXAMPLES = """ diff --git a/ansible_collections/community/network/plugins/modules/slxos_config.py b/ansible_collections/community/network/plugins/modules/slxos_config.py index 76351637c..835cbf62c 100644 --- a/ansible_collections/community/network/plugins/modules/slxos_config.py +++ b/ansible_collections/community/network/plugins/modules/slxos_config.py @@ -224,7 +224,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.slxos_config: lines: hostname {{ inventory_hostname }} - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user @@ -441,6 +441,8 @@ def main(): base_config = NetworkConfig(indent=1, contents=contents, ignore_lines=diff_ignore_lines) if running_config.sha1 != base_config.sha1: + before = '' + after = '' if module.params['diff_against'] == 'intended': before = running_config after = base_config diff --git a/ansible_collections/community/network/plugins/modules/slxos_interface.py b/ansible_collections/community/network/plugins/modules/slxos_interface.py index f13e8a42a..6837b2da2 100644 --- a/ansible_collections/community/network/plugins/modules/slxos_interface.py +++ b/ansible_collections/community/network/plugins/modules/slxos_interface.py @@ -42,7 +42,7 @@ options: enabled: description: - Interface link status. - default: True + default: true type: bool speed: description: @@ -99,12 +99,12 @@ EXAMPLES = """ - name: Make interface up community.network.slxos_interface: name: Ethernet 0/2 - enabled: True + enabled: true - name: Make interface down community.network.slxos_interface: name: Ethernet 0/2 - enabled: False + enabled: false - name: Check intent arguments community.network.slxos_interface: @@ -123,7 +123,7 @@ EXAMPLES = """ - name: Config + intent community.network.slxos_interface: name: Ethernet 0/2 - enabled: False + enabled: false state: down - name: Add interface using aggregate diff --git a/ansible_collections/community/network/plugins/modules/slxos_l3_interface.py b/ansible_collections/community/network/plugins/modules/slxos_l3_interface.py index 240f1024d..ad329d1f7 100644 --- a/ansible_collections/community/network/plugins/modules/slxos_l3_interface.py +++ b/ansible_collections/community/network/plugins/modules/slxos_l3_interface.py @@ -107,7 +107,10 @@ from ansible.module_utils.six import iteritems from ansible_collections.community.network.plugins.module_utils.network.slxos.slxos import get_config, load_config from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.config import NetworkConfig from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import conditional, remove_default_spec -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen, to_netmask, to_masklen +try: + from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import is_netmask, is_masklen, to_netmask, to_masklen +except ImportError: + from ansible.module_utils.common.network import is_netmask, is_masklen, to_netmask, to_masklen def validate_ipv4(value, module): diff --git a/ansible_collections/community/network/plugins/modules/slxos_vlan.py b/ansible_collections/community/network/plugins/modules/slxos_vlan.py index 0ecf8a8d9..0ec1dc541 100644 --- a/ansible_collections/community/network/plugins/modules/slxos_vlan.py +++ b/ansible_collections/community/network/plugins/modules/slxos_vlan.py @@ -53,7 +53,7 @@ options: description: - Purge VLANs not defined in the I(aggregate) parameter. type: bool - default: no + default: false state: description: - State of the VLAN configuration. diff --git a/ansible_collections/community/network/plugins/modules/sros_config.py b/ansible_collections/community/network/plugins/modules/sros_config.py index 5b00b9b8f..5570b4a3a 100644 --- a/ansible_collections/community/network/plugins/modules/sros_config.py +++ b/ansible_collections/community/network/plugins/modules/sros_config.py @@ -158,12 +158,12 @@ EXAMPLES = """ parents: - configure - system - backup: yes + backup: true - name: Load config from file community.network.sros_config: src: "{{ inventory_hostname }}.cfg" - save: yes + save: true - name: Invalid use of lines community.network.sros_config: @@ -182,7 +182,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.sros_config: - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/plugins/modules/vdirect_commit.py b/ansible_collections/community/network/plugins/modules/vdirect_commit.py index 19c25b601..05d436d99 100644 --- a/ansible_collections/community/network/plugins/modules/vdirect_commit.py +++ b/ansible_collections/community/network/plugins/modules/vdirect_commit.py @@ -116,7 +116,7 @@ EXAMPLES = ''' vdirect_user: vDirect vdirect_password: radware devices: ['dev1', 'dev2'] - sync: no + sync: false ''' RETURN = ''' diff --git a/ansible_collections/community/network/plugins/modules/voss_config.py b/ansible_collections/community/network/plugins/modules/voss_config.py index 79440b906..9a6a49f0c 100644 --- a/ansible_collections/community/network/plugins/modules/voss_config.py +++ b/ansible_collections/community/network/plugins/modules/voss_config.py @@ -177,7 +177,7 @@ EXAMPLES = """ community.network.voss_config: lines: - name "ServerA" - backup: yes + backup: true parents: interface GigabitEthernet 1/1 - name: Check the running-config against master config @@ -197,7 +197,7 @@ EXAMPLES = """ - name: Configurable backup path community.network.voss_config: - backup: yes + backup: true backup_options: filename: backup.cfg dir_path: /home/user diff --git a/ansible_collections/community/network/requirements.txt b/ansible_collections/community/network/requirements.txt new file mode 100644 index 000000000..9a265e015 --- /dev/null +++ b/ansible_collections/community/network/requirements.txt @@ -0,0 +1 @@ +ansible-pylibssh diff --git a/ansible_collections/community/network/tests/integration/requirements.yml b/ansible_collections/community/network/tests/integration/requirements.yml new file mode 100644 index 000000000..d4b8365f9 --- /dev/null +++ b/ansible_collections/community/network/tests/integration/requirements.yml @@ -0,0 +1,3 @@ +--- +collections: + - ansible.netcommon diff --git a/ansible_collections/community/network/tests/integration/targets/cnos_conditional_template/tasks/main.yml b/ansible_collections/community/network/tests/integration/targets/cnos_conditional_template/tasks/main.yml index 0aff639d7..15a856a5c 100644 --- a/ansible_collections/community/network/tests/integration/targets/cnos_conditional_template/tasks/main.yml +++ b/ansible_collections/community/network/tests/integration/targets/cnos_conditional_template/tasks/main.yml @@ -6,11 +6,11 @@ # This contain sample conditional template execution tasks --- - name: Replace Config CLI command template with values - template: src=demo_template.j2 dest=./commands/cnos_conditional_template_{{ inventory_hostname }}_command.txt + template: src=demo_template.j2 dest=./commands/cnos_conditional_template_{{ inventory_hostname }}_command.txt mode=0644 with_items: "{{conditional_template_data1}}" - name: Applying CLI commands on Switches - cnos_conditional_template: host={{ inventory_hostname }} username={{ hostvars[inventory_hostname]['ansible_ssh_user']}} password={{ hostvars[inventory_hostname]['ansible_ssh_pass']}} deviceType={{ hostvars[inventory_hostname]['deviceType']}} + cnos_conditional_template: host={{ inventory_hostname }} username={{ hostvars[inventory_hostname]['ansible_ssh_user']}} password={{ hostvars[inventory_hostname]['ansible_ssh_pass']}} deviceType={{ hostvars[inventory_hostname]['deviceType']}} condition={{ hostvars[inventory_hostname]['condition'] }} flag='{{item.flag}}' commandfile=./commands/cnos_conditional_template_{{ inventory_hostname }}_command.txt outputfile=./results/cnos_conditional_template_{{ inventory_hostname }}_output.txt with_items: "{{conditional_template_data1}}" # Completed file diff --git a/ansible_collections/community/network/tests/integration/targets/cnos_template/tasks/main.yml b/ansible_collections/community/network/tests/integration/targets/cnos_template/tasks/main.yml index b26b89748..0fb9efd7c 100644 --- a/ansible_collections/community/network/tests/integration/targets/cnos_template/tasks/main.yml +++ b/ansible_collections/community/network/tests/integration/targets/cnos_template/tasks/main.yml @@ -6,10 +6,10 @@ # This contain sample template execution tasks --- - name: Creates directory - file: path=./commands state=directory + file: path=./commands state=directory mode=0755 - name: Replace Config CLI command template with values - template: src=demo_template.j2 dest=./commands/cnos_template_{{ inventory_hostname }}_commands.txt + template: src=demo_template.j2 dest=./commands/cnos_template_{{ inventory_hostname }}_commands.txt mode=0644 with_items: "{{cnos_template_data}}" - name: Applying CLI commands on Switches diff --git a/ansible_collections/community/network/tests/integration/targets/prepare_nuage_tests/tasks/main.yml b/ansible_collections/community/network/tests/integration/targets/prepare_nuage_tests/tasks/main.yml index 2a902dc82..af4bcdf3c 100644 --- a/ansible_collections/community/network/tests/integration/targets/prepare_nuage_tests/tasks/main.yml +++ b/ansible_collections/community/network/tests/integration/targets/prepare_nuage_tests/tasks/main.yml @@ -10,6 +10,7 @@ - name: Start Nuage VSD API Simulator shell: "(cd /; nuage-vsd-sim >/dev/null 2>&1)" + changed_when: false async: 1800 poll: 0 diff --git a/ansible_collections/community/network/tests/requirements.yml b/ansible_collections/community/network/tests/requirements.yml deleted file mode 100644 index a218740b1..000000000 --- a/ansible_collections/community/network/tests/requirements.yml +++ /dev/null @@ -1,4 +0,0 @@ -integration_tests_dependencies: -- ansible.netcommon -unit_tests_dependencies: -- ansible.netcommon diff --git a/ansible_collections/community/network/tests/sanity/ignore-2.15.txt b/ansible_collections/community/network/tests/sanity/ignore-2.15.txt index f82bb18bd..f19cd8d79 100644 --- a/ansible_collections/community/network/tests/sanity/ignore-2.15.txt +++ b/ansible_collections/community/network/tests/sanity/ignore-2.15.txt @@ -817,3 +817,114 @@ tests/unit/plugins/modules/test_netscaler_ssl_certkey.py pylint:invalid-class-ob tests/unit/plugins/modules/test_nos_facts.py pylint:use-maxsplit-arg tests/unit/plugins/modules/test_slxos_facts.py pylint:use-maxsplit-arg tests/unit/plugins/modules/test_voss_facts.py pylint:use-maxsplit-arg +plugins/action/aireos.py pylint:unused-import +plugins/action/aruba.py pylint:unused-import +plugins/action/ce.py pylint:unused-import +plugins/action/cnos.py pylint:unused-import +plugins/action/enos.py pylint:unused-import +plugins/action/ironware.py pylint:unused-import +plugins/action/sros.py pylint:unused-import +plugins/cliconf/aireos.py pylint:unused-import +plugins/cliconf/apconos.py pylint:unused-import +plugins/cliconf/aruba.py pylint:unused-import +plugins/cliconf/cnos.py pylint:unused-import +plugins/cliconf/edgeswitch.py pylint:unused-import +plugins/cliconf/eric_eccli.py pylint:unused-import +plugins/cliconf/exos.py pylint:unused-import +plugins/cliconf/icx.py pylint:unused-import +plugins/cliconf/ironware.py pylint:unused-import +plugins/cliconf/slxos.py pylint:unused-import +plugins/cliconf/voss.py pylint:unused-import +plugins/cliconf/weos4.py pylint:unused-import +plugins/lookup/avi.py pylint:unused-import +plugins/module_utils/network/aos/aos.py pylint:unused-import +plugins/module_utils/network/avi/ansible_utils.py pylint:unused-import +plugins/module_utils/network/avi/avi.py pylint:unused-import +plugins/module_utils/network/cloudengine/ce.py pylint:unused-import +plugins/module_utils/network/cnos/cnos.py pylint:unused-import +plugins/module_utils/network/eric_eccli/eric_eccli.py pylint:unused-import +plugins/module_utils/network/exos/config/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/exos.py pylint:unused-import +plugins/module_utils/network/exos/facts/facts.py pylint:unused-import +plugins/module_utils/network/exos/facts/l2_interfaces/l2_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/legacy/base.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_global/lldp_global.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/vlans/vlans.py pylint:unused-import +plugins/module_utils/network/icx/icx.py pylint:unused-import +plugins/module_utils/network/ironware/ironware.py pylint:unused-import +plugins/module_utils/network/netscaler/netscaler.py pylint:unused-import +plugins/module_utils/network/slxos/slxos.py pylint:unused-import +plugins/module_utils/network/sros/sros.py pylint:unused-import +plugins/module_utils/version.py pylint:unused-import +plugins/modules/avi_api_version.py pylint:unused-import +plugins/modules/avi_gslbservice_patch_member.py pylint:unused-import +plugins/modules/avi_user.py pylint:unused-import +plugins/modules/avi_useraccount.py pylint:unused-import +plugins/modules/ce_acl_interface.py pylint:unused-import +plugins/modules/ce_bfd_global.py pylint:unused-import +plugins/modules/ce_bfd_session.py pylint:unused-import +plugins/modules/ce_bfd_view.py pylint:unused-import +plugins/modules/ce_config.py pylint:unused-import +plugins/modules/ce_file_copy.py pylint:unused-import +plugins/modules/ce_interface.py pylint:unused-import +plugins/modules/ce_lldp.py pylint:unused-import +plugins/modules/ce_lldp_interface.py pylint:unused-import +plugins/modules/ce_mdn_interface.py pylint:unused-import +plugins/modules/ce_rollback.py pylint:unused-import +plugins/modules/ce_sflow.py pylint:unused-import +plugins/modules/ce_switchport.py pylint:unused-import +plugins/modules/cnos_backup.py pylint:unused-import +plugins/modules/cnos_banner.py pylint:unused-import +plugins/modules/cnos_bgp.py pylint:unused-import +plugins/modules/cnos_command.py pylint:unused-import +plugins/modules/cnos_conditional_command.py pylint:unused-import +plugins/modules/cnos_conditional_template.py pylint:unused-import +plugins/modules/cnos_factory.py pylint:unused-import +plugins/modules/cnos_image.py pylint:unused-import +plugins/modules/cnos_interface.py pylint:unused-import +plugins/modules/cnos_l2_interface.py pylint:unused-import +plugins/modules/cnos_lldp.py pylint:unused-import +plugins/modules/cnos_logging.py pylint:unused-import +plugins/modules/cnos_reload.py pylint:unused-import +plugins/modules/cnos_rollback.py pylint:unused-import +plugins/modules/cnos_save.py pylint:unused-import +plugins/modules/cnos_showrun.py pylint:unused-import +plugins/modules/cnos_static_route.py pylint:unused-import +plugins/modules/cnos_system.py pylint:unused-import +plugins/modules/cnos_template.py pylint:unused-import +plugins/modules/cnos_user.py pylint:unused-import +plugins/modules/cnos_vlag.py pylint:unused-import +plugins/modules/cnos_vlan.py pylint:unused-import +plugins/modules/cnos_vrf.py pylint:unused-import +plugins/modules/enos_command.py pylint:unused-import +plugins/modules/eric_eccli_command.py pylint:unused-import +plugins/modules/icx_banner.py pylint:unused-import +plugins/modules/icx_command.py pylint:unused-import +plugins/modules/icx_config.py pylint:unused-import +plugins/modules/icx_facts.py pylint:unused-import +plugins/modules/icx_interface.py pylint:unused-import +plugins/modules/icx_linkagg.py pylint:unused-import +plugins/modules/icx_logging.py pylint:unused-import +plugins/modules/icx_ping.py pylint:unused-import +plugins/modules/icx_static_route.py pylint:unused-import +plugins/modules/icx_system.py pylint:unused-import +plugins/modules/icx_user.py pylint:unused-import +plugins/modules/icx_vlan.py pylint:unused-import +plugins/modules/ordnance_config.py pylint:unused-import +plugins/modules/slxos_l3_interface.py pylint:unused-import +plugins/modules/sros_rollback.py pylint:unused-import +plugins/netconf/ce.py pylint:unused-import +plugins/terminal/aireos.py pylint:unused-import +plugins/terminal/apconos.py pylint:unused-import +plugins/terminal/aruba.py pylint:unused-import +plugins/terminal/eric_eccli.py pylint:unused-import +plugins/terminal/netvisor.py pylint:unused-import +plugins/terminal/weos4.py pylint:unused-import +tests/sanity/extra/botmeta.py pylint:unused-import +tests/unit/compat/builtins.py pylint:unused-import +tests/unit/plugins/modules/test_apconos_command.py pylint:unused-import +tests/unit/plugins/modules/test_icx_logging.py pylint:unused-import +tests/unit/plugins/modules/test_icx_system.py pylint:unused-import +tests/unit/plugins/modules/test_pn_log_audit_exception.py pylint:unused-import +tests/unit/plugins/modules/test_pn_vtep.py pylint:unused-import diff --git a/ansible_collections/community/network/tests/sanity/ignore-2.11.txt b/ansible_collections/community/network/tests/sanity/ignore-2.16.txt index 9f8b2367d..f19cd8d79 100644 --- a/ansible_collections/community/network/tests/sanity/ignore-2.11.txt +++ b/ansible_collections/community/network/tests/sanity/ignore-2.16.txt @@ -108,6 +108,7 @@ plugins/modules/avi_gslbgeodbprofile.py validate-modules:parameter-type-not-in-d plugins/modules/avi_gslbservice.py validate-modules:doc-missing-type plugins/modules/avi_gslbservice.py validate-modules:parameter-list-no-elements plugins/modules/avi_gslbservice.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_gslbservice_patch_member.py pylint:use-a-generator plugins/modules/avi_gslbservice_patch_member.py validate-modules:doc-missing-type plugins/modules/avi_gslbservice_patch_member.py validate-modules:parameter-type-not-in-doc plugins/modules/avi_hardwaresecuritymodulegroup.py validate-modules:doc-missing-type @@ -608,6 +609,7 @@ plugins/modules/iap_start_workflow.py validate-modules:doc-required-mismatch plugins/modules/iap_token.py validate-modules:parameter-type-not-in-doc plugins/modules/netact_cm_command.py validate-modules:doc-choices-do-not-match-spec plugins/modules/netact_cm_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_cs_action.py pylint:condition-evals-to-constant # Should be fixed plugins/modules/netscaler_cs_action.py validate-modules:nonexistent-parameter-documented plugins/modules/netscaler_cs_action.py validate-modules:parameter-type-not-in-doc plugins/modules/netscaler_cs_policy.py validate-modules:parameter-type-not-in-doc @@ -800,3 +802,129 @@ plugins/modules/voss_config.py validate-modules:parameter-list-no-elements plugins/modules/voss_config.py validate-modules:parameter-type-not-in-doc plugins/modules/voss_facts.py validate-modules:parameter-list-no-elements plugins/modules/voss_facts.py validate-modules:parameter-type-not-in-doc +tests/unit/plugins/modules/test_edgeswitch_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_edgeswitch_vlan.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_icx_ping.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_ironware_config.py pylint:arguments-renamed +tests/unit/plugins/modules/test_ironware_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_netscaler_cs_action.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_cs_vserver.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_lb_vserver.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_server.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_service.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_servicegroup.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_ssl_certkey.py pylint:invalid-class-object +tests/unit/plugins/modules/test_nos_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_slxos_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_voss_facts.py pylint:use-maxsplit-arg +plugins/action/aireos.py pylint:unused-import +plugins/action/aruba.py pylint:unused-import +plugins/action/ce.py pylint:unused-import +plugins/action/cnos.py pylint:unused-import +plugins/action/enos.py pylint:unused-import +plugins/action/ironware.py pylint:unused-import +plugins/action/sros.py pylint:unused-import +plugins/cliconf/aireos.py pylint:unused-import +plugins/cliconf/apconos.py pylint:unused-import +plugins/cliconf/aruba.py pylint:unused-import +plugins/cliconf/cnos.py pylint:unused-import +plugins/cliconf/edgeswitch.py pylint:unused-import +plugins/cliconf/eric_eccli.py pylint:unused-import +plugins/cliconf/exos.py pylint:unused-import +plugins/cliconf/icx.py pylint:unused-import +plugins/cliconf/ironware.py pylint:unused-import +plugins/cliconf/slxos.py pylint:unused-import +plugins/cliconf/voss.py pylint:unused-import +plugins/cliconf/weos4.py pylint:unused-import +plugins/lookup/avi.py pylint:unused-import +plugins/module_utils/network/aos/aos.py pylint:unused-import +plugins/module_utils/network/avi/ansible_utils.py pylint:unused-import +plugins/module_utils/network/avi/avi.py pylint:unused-import +plugins/module_utils/network/cloudengine/ce.py pylint:unused-import +plugins/module_utils/network/cnos/cnos.py pylint:unused-import +plugins/module_utils/network/eric_eccli/eric_eccli.py pylint:unused-import +plugins/module_utils/network/exos/config/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/exos.py pylint:unused-import +plugins/module_utils/network/exos/facts/facts.py pylint:unused-import +plugins/module_utils/network/exos/facts/l2_interfaces/l2_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/legacy/base.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_global/lldp_global.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/vlans/vlans.py pylint:unused-import +plugins/module_utils/network/icx/icx.py pylint:unused-import +plugins/module_utils/network/ironware/ironware.py pylint:unused-import +plugins/module_utils/network/netscaler/netscaler.py pylint:unused-import +plugins/module_utils/network/slxos/slxos.py pylint:unused-import +plugins/module_utils/network/sros/sros.py pylint:unused-import +plugins/module_utils/version.py pylint:unused-import +plugins/modules/avi_api_version.py pylint:unused-import +plugins/modules/avi_gslbservice_patch_member.py pylint:unused-import +plugins/modules/avi_user.py pylint:unused-import +plugins/modules/avi_useraccount.py pylint:unused-import +plugins/modules/ce_acl_interface.py pylint:unused-import +plugins/modules/ce_bfd_global.py pylint:unused-import +plugins/modules/ce_bfd_session.py pylint:unused-import +plugins/modules/ce_bfd_view.py pylint:unused-import +plugins/modules/ce_config.py pylint:unused-import +plugins/modules/ce_file_copy.py pylint:unused-import +plugins/modules/ce_interface.py pylint:unused-import +plugins/modules/ce_lldp.py pylint:unused-import +plugins/modules/ce_lldp_interface.py pylint:unused-import +plugins/modules/ce_mdn_interface.py pylint:unused-import +plugins/modules/ce_rollback.py pylint:unused-import +plugins/modules/ce_sflow.py pylint:unused-import +plugins/modules/ce_switchport.py pylint:unused-import +plugins/modules/cnos_backup.py pylint:unused-import +plugins/modules/cnos_banner.py pylint:unused-import +plugins/modules/cnos_bgp.py pylint:unused-import +plugins/modules/cnos_command.py pylint:unused-import +plugins/modules/cnos_conditional_command.py pylint:unused-import +plugins/modules/cnos_conditional_template.py pylint:unused-import +plugins/modules/cnos_factory.py pylint:unused-import +plugins/modules/cnos_image.py pylint:unused-import +plugins/modules/cnos_interface.py pylint:unused-import +plugins/modules/cnos_l2_interface.py pylint:unused-import +plugins/modules/cnos_lldp.py pylint:unused-import +plugins/modules/cnos_logging.py pylint:unused-import +plugins/modules/cnos_reload.py pylint:unused-import +plugins/modules/cnos_rollback.py pylint:unused-import +plugins/modules/cnos_save.py pylint:unused-import +plugins/modules/cnos_showrun.py pylint:unused-import +plugins/modules/cnos_static_route.py pylint:unused-import +plugins/modules/cnos_system.py pylint:unused-import +plugins/modules/cnos_template.py pylint:unused-import +plugins/modules/cnos_user.py pylint:unused-import +plugins/modules/cnos_vlag.py pylint:unused-import +plugins/modules/cnos_vlan.py pylint:unused-import +plugins/modules/cnos_vrf.py pylint:unused-import +plugins/modules/enos_command.py pylint:unused-import +plugins/modules/eric_eccli_command.py pylint:unused-import +plugins/modules/icx_banner.py pylint:unused-import +plugins/modules/icx_command.py pylint:unused-import +plugins/modules/icx_config.py pylint:unused-import +plugins/modules/icx_facts.py pylint:unused-import +plugins/modules/icx_interface.py pylint:unused-import +plugins/modules/icx_linkagg.py pylint:unused-import +plugins/modules/icx_logging.py pylint:unused-import +plugins/modules/icx_ping.py pylint:unused-import +plugins/modules/icx_static_route.py pylint:unused-import +plugins/modules/icx_system.py pylint:unused-import +plugins/modules/icx_user.py pylint:unused-import +plugins/modules/icx_vlan.py pylint:unused-import +plugins/modules/ordnance_config.py pylint:unused-import +plugins/modules/slxos_l3_interface.py pylint:unused-import +plugins/modules/sros_rollback.py pylint:unused-import +plugins/netconf/ce.py pylint:unused-import +plugins/terminal/aireos.py pylint:unused-import +plugins/terminal/apconos.py pylint:unused-import +plugins/terminal/aruba.py pylint:unused-import +plugins/terminal/eric_eccli.py pylint:unused-import +plugins/terminal/netvisor.py pylint:unused-import +plugins/terminal/weos4.py pylint:unused-import +tests/sanity/extra/botmeta.py pylint:unused-import +tests/unit/compat/builtins.py pylint:unused-import +tests/unit/plugins/modules/test_apconos_command.py pylint:unused-import +tests/unit/plugins/modules/test_icx_logging.py pylint:unused-import +tests/unit/plugins/modules/test_icx_system.py pylint:unused-import +tests/unit/plugins/modules/test_pn_log_audit_exception.py pylint:unused-import +tests/unit/plugins/modules/test_pn_vtep.py pylint:unused-import diff --git a/ansible_collections/community/network/tests/sanity/ignore-2.17.txt b/ansible_collections/community/network/tests/sanity/ignore-2.17.txt new file mode 100644 index 000000000..f19cd8d79 --- /dev/null +++ b/ansible_collections/community/network/tests/sanity/ignore-2.17.txt @@ -0,0 +1,930 @@ +plugins/action/aireos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/aruba.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/ce.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/ce_template.py action-plugin-docs # undocumented action plugin to fix, existed before sanity test was added +plugins/action/cnos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/enos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/exos.py action-plugin-docs # undocumented action plugin to fix +plugins/action/ironware.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/slxos.py action-plugin-docs # undocumented action plugin to fix +plugins/action/sros.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` +plugins/action/voss.py action-plugin-docs # undocumented action plugin to fix +plugins/module_utils/network/edgeswitch/edgeswitch_interface.py pylint:duplicate-string-formatting-argument +plugins/modules/a10_server.py validate-modules:parameter-list-no-elements +plugins/modules/a10_server.py validate-modules:parameter-type-not-in-doc +plugins/modules/a10_server_axapi3.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/a10_server_axapi3.py validate-modules:parameter-list-no-elements +plugins/modules/a10_server_axapi3.py validate-modules:parameter-type-not-in-doc +plugins/modules/a10_service_group.py validate-modules:parameter-list-no-elements +plugins/modules/a10_service_group.py validate-modules:parameter-type-not-in-doc +plugins/modules/a10_virtual_server.py validate-modules:doc-default-does-not-match-spec +plugins/modules/a10_virtual_server.py validate-modules:doc-required-mismatch +plugins/modules/a10_virtual_server.py validate-modules:parameter-list-no-elements +plugins/modules/a10_virtual_server.py validate-modules:parameter-type-not-in-doc +plugins/modules/aireos_command.py validate-modules:collection-deprecated-version +plugins/modules/aireos_command.py validate-modules:doc-missing-type +plugins/modules/aireos_command.py validate-modules:parameter-list-no-elements +plugins/modules/aireos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/aireos_config.py validate-modules:collection-deprecated-version +plugins/modules/aireos_config.py validate-modules:doc-missing-type +plugins/modules/aireos_config.py validate-modules:parameter-list-no-elements +plugins/modules/aireos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/apconos_command.py validate-modules:parameter-list-no-elements +plugins/modules/aruba_command.py validate-modules:collection-deprecated-version +plugins/modules/aruba_command.py validate-modules:doc-missing-type +plugins/modules/aruba_command.py validate-modules:parameter-list-no-elements +plugins/modules/aruba_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/aruba_config.py validate-modules:collection-deprecated-version +plugins/modules/aruba_config.py validate-modules:doc-missing-type +plugins/modules/aruba_config.py validate-modules:parameter-list-no-elements +plugins/modules/aruba_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_actiongroupconfig.py validate-modules:doc-missing-type +plugins/modules/avi_actiongroupconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_alertconfig.py validate-modules:doc-missing-type +plugins/modules/avi_alertconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_alertemailconfig.py validate-modules:doc-missing-type +plugins/modules/avi_alertemailconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_alertscriptconfig.py validate-modules:doc-missing-type +plugins/modules/avi_alertscriptconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_alertsyslogconfig.py validate-modules:doc-missing-type +plugins/modules/avi_alertsyslogconfig.py validate-modules:parameter-list-no-elements +plugins/modules/avi_alertsyslogconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_analyticsprofile.py validate-modules:doc-missing-type +plugins/modules/avi_analyticsprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_analyticsprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_api_session.py validate-modules:doc-missing-type +plugins/modules/avi_api_session.py validate-modules:doc-required-mismatch +plugins/modules/avi_api_session.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_api_version.py validate-modules:doc-missing-type +plugins/modules/avi_api_version.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_applicationpersistenceprofile.py validate-modules:doc-missing-type +plugins/modules/avi_applicationpersistenceprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_applicationprofile.py validate-modules:doc-missing-type +plugins/modules/avi_applicationprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_authprofile.py validate-modules:doc-missing-type +plugins/modules/avi_authprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_autoscalelaunchconfig.py validate-modules:doc-missing-type +plugins/modules/avi_autoscalelaunchconfig.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_backup.py validate-modules:doc-missing-type +plugins/modules/avi_backup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_backupconfiguration.py validate-modules:doc-missing-type +plugins/modules/avi_backupconfiguration.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_certificatemanagementprofile.py validate-modules:doc-missing-type +plugins/modules/avi_certificatemanagementprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_certificatemanagementprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_cloud.py validate-modules:doc-missing-type +plugins/modules/avi_cloud.py validate-modules:parameter-list-no-elements +plugins/modules/avi_cloud.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_cloudconnectoruser.py validate-modules:doc-missing-type +plugins/modules/avi_cloudconnectoruser.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_cloudproperties.py validate-modules:doc-missing-type +plugins/modules/avi_cloudproperties.py validate-modules:parameter-list-no-elements +plugins/modules/avi_cloudproperties.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_cluster.py validate-modules:doc-missing-type +plugins/modules/avi_cluster.py validate-modules:parameter-list-no-elements +plugins/modules/avi_cluster.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_clusterclouddetails.py validate-modules:doc-missing-type +plugins/modules/avi_clusterclouddetails.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_controllerproperties.py validate-modules:doc-missing-type +plugins/modules/avi_controllerproperties.py validate-modules:parameter-list-no-elements +plugins/modules/avi_controllerproperties.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_customipamdnsprofile.py validate-modules:doc-missing-type +plugins/modules/avi_customipamdnsprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_customipamdnsprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_dnspolicy.py validate-modules:doc-missing-type +plugins/modules/avi_dnspolicy.py validate-modules:parameter-list-no-elements +plugins/modules/avi_dnspolicy.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_errorpagebody.py validate-modules:doc-missing-type +plugins/modules/avi_errorpagebody.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_errorpageprofile.py validate-modules:doc-missing-type +plugins/modules/avi_errorpageprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_errorpageprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_gslb.py validate-modules:doc-missing-type +plugins/modules/avi_gslb.py validate-modules:parameter-list-no-elements +plugins/modules/avi_gslb.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_gslbgeodbprofile.py validate-modules:doc-missing-type +plugins/modules/avi_gslbgeodbprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_gslbgeodbprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_gslbservice.py validate-modules:doc-missing-type +plugins/modules/avi_gslbservice.py validate-modules:parameter-list-no-elements +plugins/modules/avi_gslbservice.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_gslbservice_patch_member.py pylint:use-a-generator +plugins/modules/avi_gslbservice_patch_member.py validate-modules:doc-missing-type +plugins/modules/avi_gslbservice_patch_member.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_hardwaresecuritymodulegroup.py validate-modules:doc-missing-type +plugins/modules/avi_hardwaresecuritymodulegroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_healthmonitor.py validate-modules:doc-missing-type +plugins/modules/avi_healthmonitor.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_httppolicyset.py validate-modules:doc-missing-type +plugins/modules/avi_httppolicyset.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_ipaddrgroup.py validate-modules:doc-missing-type +plugins/modules/avi_ipaddrgroup.py validate-modules:parameter-list-no-elements +plugins/modules/avi_ipaddrgroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_ipamdnsproviderprofile.py validate-modules:doc-missing-type +plugins/modules/avi_ipamdnsproviderprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_l4policyset.py validate-modules:doc-missing-type +plugins/modules/avi_l4policyset.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_microservicegroup.py validate-modules:doc-missing-type +plugins/modules/avi_microservicegroup.py validate-modules:parameter-list-no-elements +plugins/modules/avi_microservicegroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_network.py validate-modules:doc-missing-type +plugins/modules/avi_network.py validate-modules:parameter-list-no-elements +plugins/modules/avi_network.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_networkprofile.py validate-modules:doc-missing-type +plugins/modules/avi_networkprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_networksecuritypolicy.py validate-modules:doc-missing-type +plugins/modules/avi_networksecuritypolicy.py validate-modules:parameter-list-no-elements +plugins/modules/avi_networksecuritypolicy.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_pkiprofile.py validate-modules:doc-missing-type +plugins/modules/avi_pkiprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_pkiprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_pool.py validate-modules:doc-missing-type +plugins/modules/avi_pool.py validate-modules:parameter-list-no-elements +plugins/modules/avi_pool.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_poolgroup.py validate-modules:doc-missing-type +plugins/modules/avi_poolgroup.py validate-modules:parameter-list-no-elements +plugins/modules/avi_poolgroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_poolgroupdeploymentpolicy.py validate-modules:doc-missing-type +plugins/modules/avi_poolgroupdeploymentpolicy.py validate-modules:parameter-list-no-elements +plugins/modules/avi_poolgroupdeploymentpolicy.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_prioritylabels.py validate-modules:doc-missing-type +plugins/modules/avi_prioritylabels.py validate-modules:parameter-list-no-elements +plugins/modules/avi_prioritylabels.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_role.py validate-modules:doc-missing-type +plugins/modules/avi_role.py validate-modules:parameter-list-no-elements +plugins/modules/avi_role.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_scheduler.py validate-modules:doc-missing-type +plugins/modules/avi_scheduler.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_seproperties.py validate-modules:doc-missing-type +plugins/modules/avi_seproperties.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_serverautoscalepolicy.py validate-modules:doc-missing-type +plugins/modules/avi_serverautoscalepolicy.py validate-modules:parameter-list-no-elements +plugins/modules/avi_serverautoscalepolicy.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_serviceengine.py validate-modules:doc-missing-type +plugins/modules/avi_serviceengine.py validate-modules:parameter-list-no-elements +plugins/modules/avi_serviceengine.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_serviceenginegroup.py validate-modules:doc-missing-type +plugins/modules/avi_serviceenginegroup.py validate-modules:parameter-list-no-elements +plugins/modules/avi_serviceenginegroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_snmptrapprofile.py validate-modules:doc-missing-type +plugins/modules/avi_snmptrapprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_snmptrapprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_sslkeyandcertificate.py validate-modules:doc-missing-type +plugins/modules/avi_sslkeyandcertificate.py validate-modules:parameter-list-no-elements +plugins/modules/avi_sslkeyandcertificate.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_sslprofile.py validate-modules:doc-missing-type +plugins/modules/avi_sslprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_sslprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_stringgroup.py validate-modules:doc-missing-type +plugins/modules/avi_stringgroup.py validate-modules:parameter-list-no-elements +plugins/modules/avi_stringgroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_systemconfiguration.py validate-modules:doc-missing-type +plugins/modules/avi_systemconfiguration.py validate-modules:parameter-list-no-elements +plugins/modules/avi_systemconfiguration.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_tenant.py validate-modules:doc-missing-type +plugins/modules/avi_tenant.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_trafficcloneprofile.py validate-modules:doc-missing-type +plugins/modules/avi_trafficcloneprofile.py validate-modules:parameter-list-no-elements +plugins/modules/avi_trafficcloneprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_user.py validate-modules:doc-missing-type +plugins/modules/avi_user.py validate-modules:parameter-list-no-elements +plugins/modules/avi_user.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_useraccount.py validate-modules:doc-missing-type +plugins/modules/avi_useraccount.py validate-modules:doc-required-mismatch +plugins/modules/avi_useraccount.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_useraccountprofile.py validate-modules:doc-missing-type +plugins/modules/avi_useraccountprofile.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_virtualservice.py validate-modules:doc-missing-type +plugins/modules/avi_virtualservice.py validate-modules:parameter-list-no-elements +plugins/modules/avi_virtualservice.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_vrfcontext.py validate-modules:doc-missing-type +plugins/modules/avi_vrfcontext.py validate-modules:parameter-list-no-elements +plugins/modules/avi_vrfcontext.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_vsdatascriptset.py validate-modules:doc-missing-type +plugins/modules/avi_vsdatascriptset.py validate-modules:parameter-list-no-elements +plugins/modules/avi_vsdatascriptset.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_vsvip.py validate-modules:doc-missing-type +plugins/modules/avi_vsvip.py validate-modules:parameter-list-no-elements +plugins/modules/avi_vsvip.py validate-modules:parameter-type-not-in-doc +plugins/modules/avi_webhook.py validate-modules:doc-missing-type +plugins/modules/avi_webhook.py validate-modules:parameter-type-not-in-doc +plugins/modules/bcf_switch.py validate-modules:doc-missing-type +plugins/modules/bcf_switch.py validate-modules:parameter-type-not-in-doc +plugins/modules/bigmon_chain.py validate-modules:doc-missing-type +plugins/modules/bigmon_chain.py validate-modules:parameter-type-not-in-doc +plugins/modules/bigmon_policy.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/bigmon_policy.py validate-modules:doc-default-does-not-match-spec +plugins/modules/bigmon_policy.py validate-modules:doc-missing-type +plugins/modules/bigmon_policy.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_aaa_server_host.py validate-modules:doc-missing-type +plugins/modules/ce_aaa_server_host.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_acl.py validate-modules:doc-missing-type +plugins/modules/ce_acl.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_acl_advance.py validate-modules:doc-missing-type +plugins/modules/ce_acl_advance.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_acl_interface.py validate-modules:doc-missing-type +plugins/modules/ce_acl_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bfd_global.py validate-modules:doc-missing-type +plugins/modules/ce_bfd_global.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bfd_session.py validate-modules:doc-missing-type +plugins/modules/ce_bfd_session.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bfd_view.py validate-modules:doc-missing-type +plugins/modules/ce_bfd_view.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bgp.py validate-modules:doc-missing-type +plugins/modules/ce_bgp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bgp_af.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_bgp_af.py validate-modules:doc-missing-type +plugins/modules/ce_bgp_af.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bgp_neighbor.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_bgp_neighbor.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_bgp_neighbor.py validate-modules:doc-missing-type +plugins/modules/ce_bgp_neighbor.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bgp_neighbor.py validate-modules:undocumented-parameter +plugins/modules/ce_bgp_neighbor_af.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_bgp_neighbor_af.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_bgp_neighbor_af.py validate-modules:doc-missing-type +plugins/modules/ce_bgp_neighbor_af.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_bgp_neighbor_af.py validate-modules:undocumented-parameter +plugins/modules/ce_command.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_command.py validate-modules:doc-missing-type +plugins/modules/ce_command.py validate-modules:parameter-list-no-elements +plugins/modules/ce_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_config.py validate-modules:doc-missing-type +plugins/modules/ce_config.py validate-modules:parameter-list-no-elements +plugins/modules/ce_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_config.py validate-modules:undocumented-parameter +plugins/modules/ce_dldp.py validate-modules:nonexistent-parameter-documented +plugins/modules/ce_dldp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_dldp.py validate-modules:undocumented-parameter +plugins/modules/ce_dldp_interface.py validate-modules:doc-missing-type +plugins/modules/ce_dldp_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_eth_trunk.py validate-modules:doc-missing-type +plugins/modules/ce_eth_trunk.py validate-modules:parameter-list-no-elements +plugins/modules/ce_eth_trunk.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_evpn_bd_vni.py validate-modules:doc-missing-type +plugins/modules/ce_evpn_bd_vni.py validate-modules:doc-required-mismatch +plugins/modules/ce_evpn_bd_vni.py validate-modules:parameter-list-no-elements +plugins/modules/ce_evpn_bd_vni.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_evpn_bgp.py validate-modules:doc-missing-type +plugins/modules/ce_evpn_bgp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_evpn_bgp_rr.py validate-modules:doc-missing-type +plugins/modules/ce_evpn_bgp_rr.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_evpn_global.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_facts.py validate-modules:parameter-list-no-elements +plugins/modules/ce_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_file_copy.py validate-modules:doc-missing-type +plugins/modules/ce_info_center_debug.py validate-modules:doc-missing-type +plugins/modules/ce_info_center_debug.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_info_center_global.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_info_center_global.py validate-modules:doc-missing-type +plugins/modules/ce_info_center_global.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_info_center_log.py validate-modules:doc-missing-type +plugins/modules/ce_info_center_log.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_info_center_trap.py validate-modules:doc-missing-type +plugins/modules/ce_info_center_trap.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_interface.py validate-modules:doc-missing-type +plugins/modules/ce_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_interface_ospf.py validate-modules:doc-missing-type +plugins/modules/ce_interface_ospf.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_ip_interface.py validate-modules:doc-missing-type +plugins/modules/ce_ip_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_is_is_view.py validate-modules:doc-required-mismatch +plugins/modules/ce_link_status.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_mlag_config.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_mlag_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_mlag_interface.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_mlag_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_mtu.py validate-modules:doc-missing-type +plugins/modules/ce_mtu.py validate-modules:doc-required-mismatch +plugins/modules/ce_mtu.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_netconf.py validate-modules:doc-missing-type +plugins/modules/ce_netstream_aging.py validate-modules:doc-missing-type +plugins/modules/ce_netstream_aging.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_netstream_export.py validate-modules:doc-missing-type +plugins/modules/ce_netstream_export.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_netstream_global.py validate-modules:doc-missing-type +plugins/modules/ce_netstream_global.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_netstream_template.py validate-modules:doc-missing-type +plugins/modules/ce_netstream_template.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_ntp.py validate-modules:doc-missing-type +plugins/modules/ce_ntp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_ntp_auth.py validate-modules:doc-missing-type +plugins/modules/ce_ntp_auth.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_ospf.py validate-modules:doc-missing-type +plugins/modules/ce_ospf.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_ospf_vrf.py validate-modules:doc-missing-type +plugins/modules/ce_ospf_vrf.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_rollback.py validate-modules:doc-missing-type +plugins/modules/ce_rollback.py validate-modules:doc-required-mismatch +plugins/modules/ce_rollback.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_sflow.py validate-modules:doc-missing-type +plugins/modules/ce_sflow.py validate-modules:parameter-list-no-elements +plugins/modules/ce_sflow.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_community.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_community.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_contact.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_contact.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_location.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_location.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_target_host.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_snmp_target_host.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_snmp_target_host.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_target_host.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_target_host.py validate-modules:undocumented-parameter +plugins/modules/ce_snmp_traps.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_snmp_traps.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_snmp_traps.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_traps.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_traps.py validate-modules:undocumented-parameter +plugins/modules/ce_snmp_user.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ce_snmp_user.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_snmp_user.py validate-modules:doc-missing-type +plugins/modules/ce_snmp_user.py validate-modules:mutually_exclusive-unknown +plugins/modules/ce_snmp_user.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_snmp_user.py validate-modules:undocumented-parameter +plugins/modules/ce_startup.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_startup.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_static_route.py validate-modules:doc-missing-type +plugins/modules/ce_static_route.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_static_route_bfd.py validate-modules:doc-required-mismatch +plugins/modules/ce_static_route_bfd.py validate-modules:parameter-list-no-elements +plugins/modules/ce_stp.py validate-modules:doc-missing-type +plugins/modules/ce_stp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_switchport.py validate-modules:doc-missing-type +plugins/modules/ce_switchport.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vlan.py validate-modules:doc-missing-type +plugins/modules/ce_vlan.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vrf.py validate-modules:doc-missing-type +plugins/modules/ce_vrf.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vrf_af.py validate-modules:doc-missing-type +plugins/modules/ce_vrf_af.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vrf_interface.py validate-modules:doc-missing-type +plugins/modules/ce_vrf_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vrrp.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ce_vrrp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vxlan_arp.py validate-modules:doc-missing-type +plugins/modules/ce_vxlan_arp.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vxlan_gateway.py validate-modules:doc-missing-type +plugins/modules/ce_vxlan_gateway.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vxlan_global.py validate-modules:doc-missing-type +plugins/modules/ce_vxlan_global.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vxlan_tunnel.py validate-modules:doc-missing-type +plugins/modules/ce_vxlan_tunnel.py validate-modules:parameter-list-no-elements +plugins/modules/ce_vxlan_tunnel.py validate-modules:parameter-type-not-in-doc +plugins/modules/ce_vxlan_vap.py validate-modules:doc-missing-type +plugins/modules/ce_vxlan_vap.py validate-modules:parameter-type-not-in-doc +plugins/modules/cv_server_provision.py validate-modules:doc-missing-type +plugins/modules/cv_server_provision.py validate-modules:doc-required-mismatch +plugins/modules/cv_server_provision.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/cnos_backup.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_backup.py validate-modules:doc-missing-type +plugins/modules/cnos_backup.py validate-modules:doc-required-mismatch +plugins/modules/cnos_backup.py validate-modules:nonexistent-parameter-documented +plugins/modules/cnos_backup.py validate-modules:undocumented-parameter +plugins/modules/cnos_backup.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_banner.py validate-modules:doc-missing-type +plugins/modules/cnos_bgp.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_bgp.py validate-modules:doc-missing-type +plugins/modules/cnos_bgp.py validate-modules:doc-required-mismatch +plugins/modules/cnos_bgp.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_command.py validate-modules:doc-missing-type +plugins/modules/cnos_command.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_conditional_command.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_conditional_command.py validate-modules:doc-missing-type +plugins/modules/cnos_conditional_command.py validate-modules:doc-required-mismatch +plugins/modules/cnos_conditional_command.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_conditional_template.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_conditional_template.py validate-modules:doc-missing-type +plugins/modules/cnos_conditional_template.py validate-modules:doc-required-mismatch +plugins/modules/cnos_conditional_template.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_config.py validate-modules:doc-missing-type +plugins/modules/cnos_config.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_config.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_factory.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_factory.py validate-modules:doc-required-mismatch +plugins/modules/cnos_factory.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_facts.py validate-modules:nonexistent-parameter-documented +plugins/modules/cnos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_facts.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_image.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_image.py validate-modules:doc-missing-type +plugins/modules/cnos_image.py validate-modules:doc-required-mismatch +plugins/modules/cnos_image.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_interface.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_interface.py validate-modules:doc-missing-type +plugins/modules/cnos_interface.py validate-modules:doc-required-mismatch +plugins/modules/cnos_interface.py validate-modules:missing-suboption-docs +plugins/modules/cnos_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_interface.py validate-modules:undocumented-parameter +plugins/modules/cnos_l2_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_l2_interface.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_l2_interface.py validate-modules:doc-missing-type +plugins/modules/cnos_l2_interface.py validate-modules:doc-required-mismatch +plugins/modules/cnos_l2_interface.py validate-modules:missing-suboption-docs +plugins/modules/cnos_l2_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_l2_interface.py validate-modules:undocumented-parameter +plugins/modules/cnos_l3_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_l3_interface.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_l3_interface.py validate-modules:doc-missing-type +plugins/modules/cnos_l3_interface.py validate-modules:doc-required-mismatch +plugins/modules/cnos_l3_interface.py validate-modules:missing-suboption-docs +plugins/modules/cnos_l3_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_l3_interface.py validate-modules:undocumented-parameter +plugins/modules/cnos_linkagg.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_linkagg.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_linkagg.py validate-modules:doc-missing-type +plugins/modules/cnos_linkagg.py validate-modules:doc-required-mismatch +plugins/modules/cnos_linkagg.py validate-modules:missing-suboption-docs +plugins/modules/cnos_linkagg.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_linkagg.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_linkagg.py validate-modules:undocumented-parameter +plugins/modules/cnos_lldp.py validate-modules:doc-missing-type +plugins/modules/cnos_logging.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_logging.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_logging.py validate-modules:doc-missing-type +plugins/modules/cnos_logging.py validate-modules:missing-suboption-docs +plugins/modules/cnos_logging.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_logging.py validate-modules:undocumented-parameter +plugins/modules/cnos_reload.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_reload.py validate-modules:doc-required-mismatch +plugins/modules/cnos_reload.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_rollback.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_rollback.py validate-modules:doc-missing-type +plugins/modules/cnos_rollback.py validate-modules:doc-required-mismatch +plugins/modules/cnos_rollback.py validate-modules:nonexistent-parameter-documented +plugins/modules/cnos_rollback.py validate-modules:undocumented-parameter +plugins/modules/cnos_rollback.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_save.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_save.py validate-modules:doc-required-mismatch +plugins/modules/cnos_save.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_showrun.py validate-modules:doc-required-mismatch +plugins/modules/cnos_showrun.py validate-modules:nonexistent-parameter-documented +plugins/modules/cnos_showrun.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_static_route.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_static_route.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_static_route.py validate-modules:doc-missing-type +plugins/modules/cnos_static_route.py validate-modules:doc-required-mismatch +plugins/modules/cnos_static_route.py validate-modules:missing-suboption-docs +plugins/modules/cnos_static_route.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_static_route.py validate-modules:undocumented-parameter +plugins/modules/cnos_system.py validate-modules:doc-missing-type +plugins/modules/cnos_system.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_system.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_template.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_template.py validate-modules:doc-missing-type +plugins/modules/cnos_template.py validate-modules:doc-required-mismatch +plugins/modules/cnos_template.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_user.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_user.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_user.py validate-modules:doc-missing-type +plugins/modules/cnos_user.py validate-modules:missing-suboption-docs +plugins/modules/cnos_user.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_user.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_user.py validate-modules:undocumented-parameter +plugins/modules/cnos_vlag.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_vlag.py validate-modules:doc-missing-type +plugins/modules/cnos_vlag.py validate-modules:doc-required-mismatch +plugins/modules/cnos_vlag.py yamllint:unparsable-with-libyaml +plugins/modules/cnos_vlan.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_vlan.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_vlan.py validate-modules:doc-missing-type +plugins/modules/cnos_vlan.py validate-modules:doc-required-mismatch +plugins/modules/cnos_vlan.py validate-modules:missing-suboption-docs +plugins/modules/cnos_vlan.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_vlan.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_vlan.py validate-modules:undocumented-parameter +plugins/modules/cnos_vrf.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/cnos_vrf.py validate-modules:doc-elements-mismatch +plugins/modules/cnos_vrf.py validate-modules:doc-missing-type +plugins/modules/cnos_vrf.py validate-modules:doc-required-mismatch +plugins/modules/cnos_vrf.py validate-modules:missing-suboption-docs +plugins/modules/cnos_vrf.py validate-modules:parameter-list-no-elements +plugins/modules/cnos_vrf.py validate-modules:parameter-type-not-in-doc +plugins/modules/cnos_vrf.py validate-modules:undocumented-parameter +plugins/modules/nclu.py validate-modules:parameter-list-no-elements +plugins/modules/nclu.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeos_command.py validate-modules:doc-missing-type +plugins/modules/edgeos_command.py validate-modules:parameter-list-no-elements +plugins/modules/edgeos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeos_config.py validate-modules:doc-missing-type +plugins/modules/edgeos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/edgeos_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeswitch_facts.py validate-modules:parameter-list-no-elements +plugins/modules/edgeswitch_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeswitch_vlan.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/edgeswitch_vlan.py validate-modules:doc-elements-mismatch +plugins/modules/edgeswitch_vlan.py validate-modules:doc-missing-type +plugins/modules/edgeswitch_vlan.py validate-modules:doc-required-mismatch +plugins/modules/edgeswitch_vlan.py validate-modules:missing-suboption-docs +plugins/modules/edgeswitch_vlan.py validate-modules:parameter-list-no-elements +plugins/modules/edgeswitch_vlan.py validate-modules:parameter-type-not-in-doc +plugins/modules/edgeswitch_vlan.py validate-modules:undocumented-parameter +plugins/modules/enos_command.py validate-modules:doc-missing-type +plugins/modules/enos_command.py validate-modules:nonexistent-parameter-documented +plugins/modules/enos_command.py validate-modules:parameter-list-no-elements +plugins/modules/enos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/enos_config.py validate-modules:doc-missing-type +plugins/modules/enos_config.py validate-modules:nonexistent-parameter-documented +plugins/modules/enos_config.py validate-modules:parameter-list-no-elements +plugins/modules/enos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/enos_facts.py validate-modules:nonexistent-parameter-documented +plugins/modules/enos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/enos_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/enos_facts.py yamllint:unparsable-with-libyaml +plugins/modules/eric_eccli_command.py validate-modules:parameter-list-no-elements +plugins/modules/exos_command.py validate-modules:doc-missing-type +plugins/modules/exos_command.py validate-modules:parameter-list-no-elements +plugins/modules/exos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/exos_config.py validate-modules:doc-missing-type +plugins/modules/exos_config.py validate-modules:parameter-list-no-elements +plugins/modules/exos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/exos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/exos_l2_interfaces.py validate-modules:parameter-list-no-elements +plugins/modules/icx_command.py validate-modules:parameter-list-no-elements +plugins/modules/icx_config.py validate-modules:parameter-list-no-elements +plugins/modules/icx_facts.py validate-modules:parameter-list-no-elements +plugins/modules/icx_interface.py validate-modules:doc-required-mismatch +plugins/modules/icx_l3_interface.py validate-modules:doc-required-mismatch +plugins/modules/icx_linkagg.py validate-modules:doc-elements-mismatch +plugins/modules/icx_linkagg.py validate-modules:doc-required-mismatch +plugins/modules/icx_linkagg.py validate-modules:parameter-list-no-elements +plugins/modules/icx_lldp.py validate-modules:doc-elements-mismatch +plugins/modules/icx_lldp.py validate-modules:parameter-list-no-elements +plugins/modules/icx_logging.py validate-modules:doc-elements-mismatch +plugins/modules/icx_logging.py validate-modules:parameter-list-no-elements +plugins/modules/icx_static_route.py validate-modules:doc-required-mismatch +plugins/modules/icx_system.py validate-modules:doc-elements-mismatch +plugins/modules/icx_system.py validate-modules:parameter-list-no-elements +plugins/modules/icx_user.py validate-modules:doc-required-mismatch +plugins/modules/icx_vlan.py validate-modules:doc-elements-mismatch +plugins/modules/icx_vlan.py validate-modules:doc-required-mismatch +plugins/modules/icx_vlan.py validate-modules:parameter-list-no-elements +plugins/modules/dladm_etherstub.py validate-modules:doc-missing-type +plugins/modules/dladm_iptun.py validate-modules:doc-missing-type +plugins/modules/dladm_iptun.py validate-modules:parameter-type-not-in-doc +plugins/modules/dladm_linkprop.py validate-modules:doc-missing-type +plugins/modules/dladm_linkprop.py validate-modules:no-default-for-required-parameter +plugins/modules/dladm_linkprop.py validate-modules:parameter-type-not-in-doc +plugins/modules/dladm_vlan.py validate-modules:doc-default-does-not-match-spec +plugins/modules/dladm_vlan.py validate-modules:doc-missing-type +plugins/modules/dladm_vlan.py validate-modules:doc-required-mismatch +plugins/modules/dladm_vlan.py validate-modules:parameter-type-not-in-doc +plugins/modules/dladm_vnic.py validate-modules:doc-default-does-not-match-spec +plugins/modules/flowadm.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/flowadm.py validate-modules:doc-missing-type +plugins/modules/ipadm_addr.py validate-modules:doc-missing-type +plugins/modules/ipadm_addr.py validate-modules:parameter-type-not-in-doc +plugins/modules/ipadm_addrprop.py validate-modules:doc-missing-type +plugins/modules/ipadm_addrprop.py validate-modules:no-default-for-required-parameter +plugins/modules/ipadm_if.py validate-modules:doc-missing-type +plugins/modules/ipadm_ifprop.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ipadm_ifprop.py validate-modules:doc-missing-type +plugins/modules/ipadm_ifprop.py validate-modules:no-default-for-required-parameter +plugins/modules/ipadm_prop.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/ipadm_prop.py validate-modules:doc-missing-type +plugins/modules/ig_config.py validate-modules:doc-missing-type +plugins/modules/ig_config.py validate-modules:doc-required-mismatch +plugins/modules/ig_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/ig_config.py validate-modules:return-syntax-error +plugins/modules/ig_unit_information.py validate-modules:doc-required-mismatch +plugins/modules/ig_unit_information.py validate-modules:parameter-type-not-in-doc +plugins/modules/ironware_command.py validate-modules:doc-missing-type +plugins/modules/ironware_command.py validate-modules:nonexistent-parameter-documented +plugins/modules/ironware_command.py validate-modules:parameter-list-no-elements +plugins/modules/ironware_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/ironware_config.py validate-modules:doc-missing-type +plugins/modules/ironware_config.py validate-modules:nonexistent-parameter-documented +plugins/modules/ironware_config.py validate-modules:parameter-list-no-elements +plugins/modules/ironware_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/ironware_facts.py validate-modules:nonexistent-parameter-documented +plugins/modules/ironware_facts.py validate-modules:parameter-list-no-elements +plugins/modules/ironware_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/iap_start_workflow.py validate-modules:doc-required-mismatch +plugins/modules/iap_token.py validate-modules:parameter-type-not-in-doc +plugins/modules/netact_cm_command.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/netact_cm_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_cs_action.py pylint:condition-evals-to-constant # Should be fixed +plugins/modules/netscaler_cs_action.py validate-modules:nonexistent-parameter-documented +plugins/modules/netscaler_cs_action.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_cs_policy.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_cs_vserver.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/netscaler_cs_vserver.py validate-modules:nonexistent-parameter-documented +plugins/modules/netscaler_cs_vserver.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_cs_vserver.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_cs_vserver.py validate-modules:undocumented-parameter +plugins/modules/netscaler_gslb_service.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_gslb_service.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_gslb_site.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_gslb_vserver.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_gslb_vserver.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_gslb_vserver.py validate-modules:undocumented-parameter +plugins/modules/netscaler_lb_monitor.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/netscaler_lb_monitor.py validate-modules:nonexistent-parameter-documented +plugins/modules/netscaler_lb_monitor.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_lb_monitor.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_lb_vserver.py validate-modules:nonexistent-parameter-documented +plugins/modules/netscaler_lb_vserver.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_lb_vserver.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_nitro_request.py pylint:ansible-bad-function +plugins/modules/netscaler_nitro_request.py validate-modules:doc-missing-type +plugins/modules/netscaler_nitro_request.py validate-modules:doc-required-mismatch +plugins/modules/netscaler_nitro_request.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_nitro_request.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_save_config.py validate-modules:doc-missing-type +plugins/modules/netscaler_save_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_server.py validate-modules:doc-default-does-not-match-spec +plugins/modules/netscaler_server.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_service.py validate-modules:nonexistent-parameter-documented +plugins/modules/netscaler_service.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_service.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_servicegroup.py validate-modules:parameter-list-no-elements +plugins/modules/netscaler_servicegroup.py validate-modules:parameter-type-not-in-doc +plugins/modules/netscaler_ssl_certkey.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_access_list.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_access_list.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_access_list_ip.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_access_list_ip.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_admin_service.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_admin_session_timeout.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_admin_syslog.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_connection_stats_settings.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_cpu_class.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_cpu_class.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_cpu_mgmt_class.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_dhcp_filter.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_dscp_map.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_dscp_map.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_dscp_map_pri_map.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_fabric_local.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_fabric_local.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_igmp_snooping.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_igmp_snooping.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_ipv6security_raguard.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_ipv6security_raguard_port.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_ipv6security_raguard_vlan.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_log_audit_exception.py validate-modules:doc-required-mismatch +plugins/modules/pn_log_audit_exception.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_port_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_port_config.py validate-modules:required_one_of-unknown +plugins/modules/pn_port_cos_bw.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_port_cos_rate_setting.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_prefix_list.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_prefix_list_network.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_role.py validate-modules:doc-required-mismatch +plugins/modules/pn_role.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_snmp_community.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_snmp_community.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_snmp_trap_sink.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_snmp_vacm.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_stp.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_stp_port.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_switch_setup.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_user.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vflow_table_profile.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_bgp.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_bgp.py validate-modules:parameter-type-not-in-doc +plugins/modules/pn_vrouter_bgp_network.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_interface_ip.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_loopback_interface.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_ospf.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_ospf6.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_packet_relay.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vrouter_pim_config.py validate-modules:doc-required-mismatch +plugins/modules/pn_vrouter_pim_config.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/pn_vtep.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/nos_command.py validate-modules:doc-missing-type +plugins/modules/nos_command.py validate-modules:parameter-list-no-elements +plugins/modules/nos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/nos_config.py validate-modules:doc-missing-type +plugins/modules/nos_config.py validate-modules:parameter-list-no-elements +plugins/modules/nos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/nos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/nos_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/nuage_vspk.py validate-modules:doc-required-mismatch +plugins/modules/nuage_vspk.py validate-modules:missing-suboption-docs +plugins/modules/nuage_vspk.py validate-modules:parameter-list-no-elements +plugins/modules/nuage_vspk.py validate-modules:parameter-type-not-in-doc +plugins/modules/nuage_vspk.py validate-modules:undocumented-parameter +plugins/modules/opx_cps.py validate-modules:doc-required-mismatch +plugins/modules/opx_cps.py validate-modules:parameter-type-not-in-doc +plugins/modules/ordnance_config.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ordnance_config.py validate-modules:doc-missing-type +plugins/modules/ordnance_config.py validate-modules:doc-required-mismatch +plugins/modules/ordnance_config.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/ordnance_config.py validate-modules:parameter-list-no-elements +plugins/modules/ordnance_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/ordnance_config.py validate-modules:undocumented-parameter +plugins/modules/ordnance_config.py yamllint:unparsable-with-libyaml +plugins/modules/ordnance_facts.py validate-modules:doc-default-does-not-match-spec +plugins/modules/ordnance_facts.py validate-modules:doc-missing-type +plugins/modules/ordnance_facts.py validate-modules:doc-required-mismatch +plugins/modules/ordnance_facts.py validate-modules:invalid-ansiblemodule-schema +plugins/modules/ordnance_facts.py validate-modules:parameter-list-no-elements +plugins/modules/ordnance_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/ordnance_facts.py validate-modules:undocumented-parameter +plugins/modules/ordnance_facts.py yamllint:unparsable-with-libyaml +plugins/modules/vdirect_commit.py validate-modules:doc-missing-type +plugins/modules/vdirect_commit.py validate-modules:parameter-list-no-elements +plugins/modules/vdirect_commit.py validate-modules:parameter-type-not-in-doc +plugins/modules/vdirect_file.py validate-modules:doc-missing-type +plugins/modules/vdirect_file.py validate-modules:parameter-type-not-in-doc +plugins/modules/vdirect_runnable.py validate-modules:doc-missing-type +plugins/modules/vdirect_runnable.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_command.py validate-modules:doc-missing-type +plugins/modules/slxos_command.py validate-modules:parameter-list-no-elements +plugins/modules/slxos_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_config.py validate-modules:doc-missing-type +plugins/modules/slxos_config.py validate-modules:parameter-list-no-elements +plugins/modules/slxos_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_facts.py validate-modules:parameter-list-no-elements +plugins/modules/slxos_facts.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/slxos_interface.py validate-modules:doc-elements-mismatch +plugins/modules/slxos_interface.py validate-modules:doc-missing-type +plugins/modules/slxos_interface.py validate-modules:doc-required-mismatch +plugins/modules/slxos_interface.py validate-modules:missing-suboption-docs +plugins/modules/slxos_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_interface.py validate-modules:undocumented-parameter +plugins/modules/slxos_l2_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/slxos_l2_interface.py validate-modules:doc-elements-mismatch +plugins/modules/slxos_l2_interface.py validate-modules:doc-missing-type +plugins/modules/slxos_l2_interface.py validate-modules:doc-required-mismatch +plugins/modules/slxos_l2_interface.py validate-modules:missing-suboption-docs +plugins/modules/slxos_l2_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_l2_interface.py validate-modules:undocumented-parameter +plugins/modules/slxos_l3_interface.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/slxos_l3_interface.py validate-modules:doc-elements-mismatch +plugins/modules/slxos_l3_interface.py validate-modules:doc-missing-type +plugins/modules/slxos_l3_interface.py validate-modules:doc-required-mismatch +plugins/modules/slxos_l3_interface.py validate-modules:missing-suboption-docs +plugins/modules/slxos_l3_interface.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_l3_interface.py validate-modules:undocumented-parameter +plugins/modules/slxos_linkagg.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/slxos_linkagg.py validate-modules:doc-elements-mismatch +plugins/modules/slxos_linkagg.py validate-modules:doc-missing-type +plugins/modules/slxos_linkagg.py validate-modules:doc-required-mismatch +plugins/modules/slxos_linkagg.py validate-modules:missing-suboption-docs +plugins/modules/slxos_linkagg.py validate-modules:parameter-list-no-elements +plugins/modules/slxos_linkagg.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_linkagg.py validate-modules:undocumented-parameter +plugins/modules/slxos_lldp.py validate-modules:doc-missing-type +plugins/modules/slxos_vlan.py validate-modules:doc-choices-do-not-match-spec +plugins/modules/slxos_vlan.py validate-modules:doc-elements-mismatch +plugins/modules/slxos_vlan.py validate-modules:doc-missing-type +plugins/modules/slxos_vlan.py validate-modules:doc-required-mismatch +plugins/modules/slxos_vlan.py validate-modules:missing-suboption-docs +plugins/modules/slxos_vlan.py validate-modules:parameter-list-no-elements +plugins/modules/slxos_vlan.py validate-modules:parameter-type-not-in-doc +plugins/modules/slxos_vlan.py validate-modules:undocumented-parameter +plugins/modules/sros_command.py validate-modules:collection-deprecated-version +plugins/modules/sros_command.py validate-modules:doc-missing-type +plugins/modules/sros_command.py validate-modules:parameter-list-no-elements +plugins/modules/sros_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/sros_config.py validate-modules:collection-deprecated-version +plugins/modules/sros_config.py validate-modules:doc-missing-type +plugins/modules/sros_config.py validate-modules:nonexistent-parameter-documented +plugins/modules/sros_config.py validate-modules:parameter-list-no-elements +plugins/modules/sros_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/sros_rollback.py validate-modules:collection-deprecated-version +plugins/modules/sros_rollback.py validate-modules:doc-missing-type +plugins/modules/sros_rollback.py validate-modules:parameter-type-not-in-doc +plugins/modules/voss_command.py validate-modules:doc-missing-type +plugins/modules/voss_command.py validate-modules:parameter-list-no-elements +plugins/modules/voss_command.py validate-modules:parameter-type-not-in-doc +plugins/modules/voss_config.py validate-modules:doc-missing-type +plugins/modules/voss_config.py validate-modules:parameter-list-no-elements +plugins/modules/voss_config.py validate-modules:parameter-type-not-in-doc +plugins/modules/voss_facts.py validate-modules:parameter-list-no-elements +plugins/modules/voss_facts.py validate-modules:parameter-type-not-in-doc +tests/unit/plugins/modules/test_edgeswitch_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_edgeswitch_vlan.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_icx_ping.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_ironware_config.py pylint:arguments-renamed +tests/unit/plugins/modules/test_ironware_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_netscaler_cs_action.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_cs_vserver.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_lb_vserver.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_server.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_service.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_servicegroup.py pylint:invalid-class-object +tests/unit/plugins/modules/test_netscaler_ssl_certkey.py pylint:invalid-class-object +tests/unit/plugins/modules/test_nos_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_slxos_facts.py pylint:use-maxsplit-arg +tests/unit/plugins/modules/test_voss_facts.py pylint:use-maxsplit-arg +plugins/action/aireos.py pylint:unused-import +plugins/action/aruba.py pylint:unused-import +plugins/action/ce.py pylint:unused-import +plugins/action/cnos.py pylint:unused-import +plugins/action/enos.py pylint:unused-import +plugins/action/ironware.py pylint:unused-import +plugins/action/sros.py pylint:unused-import +plugins/cliconf/aireos.py pylint:unused-import +plugins/cliconf/apconos.py pylint:unused-import +plugins/cliconf/aruba.py pylint:unused-import +plugins/cliconf/cnos.py pylint:unused-import +plugins/cliconf/edgeswitch.py pylint:unused-import +plugins/cliconf/eric_eccli.py pylint:unused-import +plugins/cliconf/exos.py pylint:unused-import +plugins/cliconf/icx.py pylint:unused-import +plugins/cliconf/ironware.py pylint:unused-import +plugins/cliconf/slxos.py pylint:unused-import +plugins/cliconf/voss.py pylint:unused-import +plugins/cliconf/weos4.py pylint:unused-import +plugins/lookup/avi.py pylint:unused-import +plugins/module_utils/network/aos/aos.py pylint:unused-import +plugins/module_utils/network/avi/ansible_utils.py pylint:unused-import +plugins/module_utils/network/avi/avi.py pylint:unused-import +plugins/module_utils/network/cloudengine/ce.py pylint:unused-import +plugins/module_utils/network/cnos/cnos.py pylint:unused-import +plugins/module_utils/network/eric_eccli/eric_eccli.py pylint:unused-import +plugins/module_utils/network/exos/config/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/exos.py pylint:unused-import +plugins/module_utils/network/exos/facts/facts.py pylint:unused-import +plugins/module_utils/network/exos/facts/l2_interfaces/l2_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/legacy/base.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_global/lldp_global.py pylint:unused-import +plugins/module_utils/network/exos/facts/lldp_interfaces/lldp_interfaces.py pylint:unused-import +plugins/module_utils/network/exos/facts/vlans/vlans.py pylint:unused-import +plugins/module_utils/network/icx/icx.py pylint:unused-import +plugins/module_utils/network/ironware/ironware.py pylint:unused-import +plugins/module_utils/network/netscaler/netscaler.py pylint:unused-import +plugins/module_utils/network/slxos/slxos.py pylint:unused-import +plugins/module_utils/network/sros/sros.py pylint:unused-import +plugins/module_utils/version.py pylint:unused-import +plugins/modules/avi_api_version.py pylint:unused-import +plugins/modules/avi_gslbservice_patch_member.py pylint:unused-import +plugins/modules/avi_user.py pylint:unused-import +plugins/modules/avi_useraccount.py pylint:unused-import +plugins/modules/ce_acl_interface.py pylint:unused-import +plugins/modules/ce_bfd_global.py pylint:unused-import +plugins/modules/ce_bfd_session.py pylint:unused-import +plugins/modules/ce_bfd_view.py pylint:unused-import +plugins/modules/ce_config.py pylint:unused-import +plugins/modules/ce_file_copy.py pylint:unused-import +plugins/modules/ce_interface.py pylint:unused-import +plugins/modules/ce_lldp.py pylint:unused-import +plugins/modules/ce_lldp_interface.py pylint:unused-import +plugins/modules/ce_mdn_interface.py pylint:unused-import +plugins/modules/ce_rollback.py pylint:unused-import +plugins/modules/ce_sflow.py pylint:unused-import +plugins/modules/ce_switchport.py pylint:unused-import +plugins/modules/cnos_backup.py pylint:unused-import +plugins/modules/cnos_banner.py pylint:unused-import +plugins/modules/cnos_bgp.py pylint:unused-import +plugins/modules/cnos_command.py pylint:unused-import +plugins/modules/cnos_conditional_command.py pylint:unused-import +plugins/modules/cnos_conditional_template.py pylint:unused-import +plugins/modules/cnos_factory.py pylint:unused-import +plugins/modules/cnos_image.py pylint:unused-import +plugins/modules/cnos_interface.py pylint:unused-import +plugins/modules/cnos_l2_interface.py pylint:unused-import +plugins/modules/cnos_lldp.py pylint:unused-import +plugins/modules/cnos_logging.py pylint:unused-import +plugins/modules/cnos_reload.py pylint:unused-import +plugins/modules/cnos_rollback.py pylint:unused-import +plugins/modules/cnos_save.py pylint:unused-import +plugins/modules/cnos_showrun.py pylint:unused-import +plugins/modules/cnos_static_route.py pylint:unused-import +plugins/modules/cnos_system.py pylint:unused-import +plugins/modules/cnos_template.py pylint:unused-import +plugins/modules/cnos_user.py pylint:unused-import +plugins/modules/cnos_vlag.py pylint:unused-import +plugins/modules/cnos_vlan.py pylint:unused-import +plugins/modules/cnos_vrf.py pylint:unused-import +plugins/modules/enos_command.py pylint:unused-import +plugins/modules/eric_eccli_command.py pylint:unused-import +plugins/modules/icx_banner.py pylint:unused-import +plugins/modules/icx_command.py pylint:unused-import +plugins/modules/icx_config.py pylint:unused-import +plugins/modules/icx_facts.py pylint:unused-import +plugins/modules/icx_interface.py pylint:unused-import +plugins/modules/icx_linkagg.py pylint:unused-import +plugins/modules/icx_logging.py pylint:unused-import +plugins/modules/icx_ping.py pylint:unused-import +plugins/modules/icx_static_route.py pylint:unused-import +plugins/modules/icx_system.py pylint:unused-import +plugins/modules/icx_user.py pylint:unused-import +plugins/modules/icx_vlan.py pylint:unused-import +plugins/modules/ordnance_config.py pylint:unused-import +plugins/modules/slxos_l3_interface.py pylint:unused-import +plugins/modules/sros_rollback.py pylint:unused-import +plugins/netconf/ce.py pylint:unused-import +plugins/terminal/aireos.py pylint:unused-import +plugins/terminal/apconos.py pylint:unused-import +plugins/terminal/aruba.py pylint:unused-import +plugins/terminal/eric_eccli.py pylint:unused-import +plugins/terminal/netvisor.py pylint:unused-import +plugins/terminal/weos4.py pylint:unused-import +tests/sanity/extra/botmeta.py pylint:unused-import +tests/unit/compat/builtins.py pylint:unused-import +tests/unit/plugins/modules/test_apconos_command.py pylint:unused-import +tests/unit/plugins/modules/test_icx_logging.py pylint:unused-import +tests/unit/plugins/modules/test_icx_system.py pylint:unused-import +tests/unit/plugins/modules/test_pn_log_audit_exception.py pylint:unused-import +tests/unit/plugins/modules/test_pn_vtep.py pylint:unused-import diff --git a/ansible_collections/community/network/tests/unit/mock/loader.py b/ansible_collections/community/network/tests/unit/mock/loader.py index 00a584127..e5eb8b411 100644 --- a/ansible_collections/community/network/tests/unit/mock/loader.py +++ b/ansible_collections/community/network/tests/unit/mock/loader.py @@ -30,7 +30,7 @@ class DictDataLoader(DataLoader): def __init__(self, file_mapping=None): file_mapping = {} if file_mapping is None else file_mapping - assert type(file_mapping) == dict + assert type(file_mapping) is dict super(DictDataLoader, self).__init__() diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_ip_interface_brief_vrf_all b/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_ip_interface_brief_vrf_all deleted file mode 100644 index 4f3a22a12..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_ip_interface_brief_vrf_all +++ /dev/null @@ -1,10 +0,0 @@ -Interface IP-Address Admin-Status Link-Status VRF -Ethernet1/5 20.131.1.1 up down default -Ethernet1/6 20.131.2.1 up down default -Ethernet1/7 20.141.1.1 up down default -Ethernet1/8 20.141.2.1 up down default -Ethernet1/11 1.1.1.2 up down default -Ethernet1/12 100.10.10.10 up down default -Ethernet1/13 10.241.107.54 up down default -mgmt0 10.241.107.39 up up management - diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_run b/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_run deleted file mode 100644 index 4367c90fe..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_run +++ /dev/null @@ -1,331 +0,0 @@ -! -version "10.8.0.42" -! -hostname ip10-241-107-39 -! -banner motd NMS India CNOS -banner motd NMS India CNOS G8272 -! -clock timezone EDT 0 0 -! -logging console 7 -vrf context management - ip route 0.0.0.0/0 10.241.107.1 -! -! -port-channel load-balance ethernet destination-mac -port-channel load-balance ethernet source-interface -feature telnet -ip domain-name labs.lenovo.com vrf management -ip domain-list labs.lenovo.com vrf management -ip name-server 10.241.104.120 vrf management -ip name-server 10.240.0.10 vrf management -ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf management -ip host ip10-241-107-39 10.241.107.39 vrf management -ip domain-name labs.lenovo.com vrf default -ip domain-list labs.lenovo.com vrf default -ip name-server 10.240.0.10 vrf default -ip name-server 10.241.104.120 vrf default -ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf default -ip host ip10-241-107-39 10.241.107.39 vrf default -ntp server 173.230.154.254 prefer -ntp server 97.127.86.33 prefer -ntp server 129.250.35.250 prefer -ntp server 174.136.103.130 prefer -ntp server 69.10.161.7 prefer -ntp server 96.226.123.196 prefer -ntp server 104.238.179.130 prefer -ntp server 108.61.73.244 prefer -ntp server 208.75.89.4 prefer -snmp-server community public group network-operator -snmp-server community private group network-admin -snmp-server contact Ralph -username admin role network-admin password encrypted $6$bJoWyEu/$9pzSgFPAKGRm1stpTCEl3I39htbjxiFCfhqiHag1NQiKHv/IiLQ2lYW0V3p7p72SgSmVHp38em9P9R/EdePpk/ -logging server 10.241.107.231 -logging server 10.241.107.222 -feature restApi -ovsdb pki ovsdb_mgmt vrf management -ovsdb pki ovsdb_default vrf default -lacp system-priority 32769 -vlag tier-id 313 -vlag priority 1313 -vlag isl port-channel 100 -vlag hlthchk keepalive-attempts 5 -vlag hlthchk peer-ip 1.2.3.4 -vlag auto-recovery 266 -vlag startup-delay 323 -vlag enable -vlag instance 1 port-channel 1003 -vlag instance 1 enable -vlag instance 2 port-channel 20 -vlag instance 2 enable -vlag instance 12 port-channel 23 -vlag instance 33 port-channel 333 -vlag instance 33 enable -spanning-tree mode mst -telemetry heartbeat enabled interval 15 -! -policy-map type control-plane copp-system-policy - class type control-plane copp-s-pvst-bpdu - police pps 500 - class type control-plane copp-s-ecp - police pps 3000 - class type control-plane copp-s-igmp - police pps 3000 -! -vlan 1-2 - no flood ipv4 -! -vlan 3 -! -vlan 5 -! -vlan 12 -! -vlan 13 - name dave -! -vlan dot1q tag native egress-only -! -interface Ethernet1/1 - description Link 1 to LP21 - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - channel-group 33 mode on -! -interface Ethernet1/2 - description Link 2 to LP21 - channel-group 1001 mode active -! -interface Ethernet1/3 - description Link 1 to LP22 - switchport mode trunk - channel-group 1003 mode active -! -interface Ethernet1/4 - description Link 2 to LP22 - switchport mode trunk - channel-group 1004 mode active -! -interface Ethernet1/5 - description Link 1 to LP23 - no switchport - ip address 20.131.1.1/30 -! -interface Ethernet1/6 - description Link 2 to LP23 - no switchport - ip address 20.131.2.1/30 -! -interface Ethernet1/7 - description Link 1 to LP24 - no switchport - ip address 20.141.1.1/30 -! -interface Ethernet1/8 - description Link 2 to LP24 - no switchport - ip address 20.141.2.1/30 -! -interface Ethernet1/9 -! -interface Ethernet1/10 -! -interface Ethernet1/11 - no switchport - mtu 1402 - ip address 1.1.1.2/8 -! -interface Ethernet1/12 - no switchport - ip address 100.10.10.10/24 -! -interface Ethernet1/13 - no switchport - ip address 10.241.107.54/24 - vrrp 254 - address 10.241.107.55 - priority 254 - no shutdown - ip arp timeout 1500 -! -interface Ethernet1/14 -! -interface Ethernet1/15 -! -interface Ethernet1/16 -! -interface Ethernet1/17 -! -interface Ethernet1/18 -! -interface Ethernet1/19 -! -interface Ethernet1/20 -! -interface Ethernet1/21 -! -interface Ethernet1/22 -! -interface Ethernet1/23 - channel-group 11 mode active - lacp port-priority 32769 -! -interface Ethernet1/24 -! -interface Ethernet1/25 -! -interface Ethernet1/26 -! -interface Ethernet1/27 -! -interface Ethernet1/28 -! -interface Ethernet1/29 -! -interface Ethernet1/30 -! -interface Ethernet1/31 -! -interface Ethernet1/32 -! -interface Ethernet1/33 - description Hentammoo - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - microburst-detection enable threshold 25 - lldp tlv-select max-frame-size - lacp port-priority 33 - spanning-tree mst 33-35 cost 33 - spanning-tree bpduguard enable -! -interface Ethernet1/34 -! -interface Ethernet1/35 -! -interface Ethernet1/36 -! -interface Ethernet1/37 -! -interface Ethernet1/38 -! -interface Ethernet1/39 -! -interface Ethernet1/40 -! -interface Ethernet1/41 -! -interface Ethernet1/42 -! -interface Ethernet1/43 -! -interface Ethernet1/44 -! -interface Ethernet1/45 -! -interface Ethernet1/46 -! -interface Ethernet1/47 -! -interface Ethernet1/48 -! -interface Ethernet1/49 -! -interface Ethernet1/50 -! -interface Ethernet1/51 -! -interface Ethernet1/52 -! -interface Ethernet1/53 -! -interface Ethernet1/54 -! -interface loopback0 - no switchport -! -interface mgmt0 - no switchport - vrf member management - no ip address dhcp - ip address 10.241.107.39/24 - no ipv6 address dhcp -! -interface Vlan1 - no switchport -! -interface port-channel1 -! -interface port-channel2 -! -interface port-channel11 - lacp min-links 2 -! -interface port-channel13 - switchport mode trunk -! -interface port-channel17 - switchport mode trunk -! -interface port-channel20 -! -interface port-channel33 - description Hentammoo - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - spanning-tree mst 33-35 cost 33 - spanning-tree bpduguard enable -! -interface port-channel100 - switchport mode trunk -! -interface port-channel1001 -! -interface port-channel1002 -! -interface port-channel1003 - switchport mode trunk -! -interface port-channel1004 - switchport mode trunk -! -router bgp 33 - router-id 1.2.3.4 - bestpath always-compare-med - cluster-id 1.2.3.4 - confederation identifier 333 - enforce-first-as - bgp as-local-count 33 - bestpath compare-confed-aspath - maxas-limit 333 - graceful-restart-helper - graceful-restart stalepath-time 333 - timers bgp 333 3333 - address-family ipv4 unicast - synchronization - network 0.0.0.0 backdoor - dampening 13 233 333 15 33 - neighbor 10.241.107.40 remote-as 13 - bfd - address-family ipv4 unicast - next-hop-self -! -route-map anil permit 10 -! -ip arp timeout 1000 -! -line con 0 -line vty 0 - exec-timeout 90 0 -line vty 1 39 -! -! -! -end - diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_running-config b/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_running-config deleted file mode 100644 index 4367c90fe..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/cnos_fixtures/show_running-config +++ /dev/null @@ -1,331 +0,0 @@ -! -version "10.8.0.42" -! -hostname ip10-241-107-39 -! -banner motd NMS India CNOS -banner motd NMS India CNOS G8272 -! -clock timezone EDT 0 0 -! -logging console 7 -vrf context management - ip route 0.0.0.0/0 10.241.107.1 -! -! -port-channel load-balance ethernet destination-mac -port-channel load-balance ethernet source-interface -feature telnet -ip domain-name labs.lenovo.com vrf management -ip domain-list labs.lenovo.com vrf management -ip name-server 10.241.104.120 vrf management -ip name-server 10.240.0.10 vrf management -ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf management -ip host ip10-241-107-39 10.241.107.39 vrf management -ip domain-name labs.lenovo.com vrf default -ip domain-list labs.lenovo.com vrf default -ip name-server 10.240.0.10 vrf default -ip name-server 10.241.104.120 vrf default -ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf default -ip host ip10-241-107-39 10.241.107.39 vrf default -ntp server 173.230.154.254 prefer -ntp server 97.127.86.33 prefer -ntp server 129.250.35.250 prefer -ntp server 174.136.103.130 prefer -ntp server 69.10.161.7 prefer -ntp server 96.226.123.196 prefer -ntp server 104.238.179.130 prefer -ntp server 108.61.73.244 prefer -ntp server 208.75.89.4 prefer -snmp-server community public group network-operator -snmp-server community private group network-admin -snmp-server contact Ralph -username admin role network-admin password encrypted $6$bJoWyEu/$9pzSgFPAKGRm1stpTCEl3I39htbjxiFCfhqiHag1NQiKHv/IiLQ2lYW0V3p7p72SgSmVHp38em9P9R/EdePpk/ -logging server 10.241.107.231 -logging server 10.241.107.222 -feature restApi -ovsdb pki ovsdb_mgmt vrf management -ovsdb pki ovsdb_default vrf default -lacp system-priority 32769 -vlag tier-id 313 -vlag priority 1313 -vlag isl port-channel 100 -vlag hlthchk keepalive-attempts 5 -vlag hlthchk peer-ip 1.2.3.4 -vlag auto-recovery 266 -vlag startup-delay 323 -vlag enable -vlag instance 1 port-channel 1003 -vlag instance 1 enable -vlag instance 2 port-channel 20 -vlag instance 2 enable -vlag instance 12 port-channel 23 -vlag instance 33 port-channel 333 -vlag instance 33 enable -spanning-tree mode mst -telemetry heartbeat enabled interval 15 -! -policy-map type control-plane copp-system-policy - class type control-plane copp-s-pvst-bpdu - police pps 500 - class type control-plane copp-s-ecp - police pps 3000 - class type control-plane copp-s-igmp - police pps 3000 -! -vlan 1-2 - no flood ipv4 -! -vlan 3 -! -vlan 5 -! -vlan 12 -! -vlan 13 - name dave -! -vlan dot1q tag native egress-only -! -interface Ethernet1/1 - description Link 1 to LP21 - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - channel-group 33 mode on -! -interface Ethernet1/2 - description Link 2 to LP21 - channel-group 1001 mode active -! -interface Ethernet1/3 - description Link 1 to LP22 - switchport mode trunk - channel-group 1003 mode active -! -interface Ethernet1/4 - description Link 2 to LP22 - switchport mode trunk - channel-group 1004 mode active -! -interface Ethernet1/5 - description Link 1 to LP23 - no switchport - ip address 20.131.1.1/30 -! -interface Ethernet1/6 - description Link 2 to LP23 - no switchport - ip address 20.131.2.1/30 -! -interface Ethernet1/7 - description Link 1 to LP24 - no switchport - ip address 20.141.1.1/30 -! -interface Ethernet1/8 - description Link 2 to LP24 - no switchport - ip address 20.141.2.1/30 -! -interface Ethernet1/9 -! -interface Ethernet1/10 -! -interface Ethernet1/11 - no switchport - mtu 1402 - ip address 1.1.1.2/8 -! -interface Ethernet1/12 - no switchport - ip address 100.10.10.10/24 -! -interface Ethernet1/13 - no switchport - ip address 10.241.107.54/24 - vrrp 254 - address 10.241.107.55 - priority 254 - no shutdown - ip arp timeout 1500 -! -interface Ethernet1/14 -! -interface Ethernet1/15 -! -interface Ethernet1/16 -! -interface Ethernet1/17 -! -interface Ethernet1/18 -! -interface Ethernet1/19 -! -interface Ethernet1/20 -! -interface Ethernet1/21 -! -interface Ethernet1/22 -! -interface Ethernet1/23 - channel-group 11 mode active - lacp port-priority 32769 -! -interface Ethernet1/24 -! -interface Ethernet1/25 -! -interface Ethernet1/26 -! -interface Ethernet1/27 -! -interface Ethernet1/28 -! -interface Ethernet1/29 -! -interface Ethernet1/30 -! -interface Ethernet1/31 -! -interface Ethernet1/32 -! -interface Ethernet1/33 - description Hentammoo - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - microburst-detection enable threshold 25 - lldp tlv-select max-frame-size - lacp port-priority 33 - spanning-tree mst 33-35 cost 33 - spanning-tree bpduguard enable -! -interface Ethernet1/34 -! -interface Ethernet1/35 -! -interface Ethernet1/36 -! -interface Ethernet1/37 -! -interface Ethernet1/38 -! -interface Ethernet1/39 -! -interface Ethernet1/40 -! -interface Ethernet1/41 -! -interface Ethernet1/42 -! -interface Ethernet1/43 -! -interface Ethernet1/44 -! -interface Ethernet1/45 -! -interface Ethernet1/46 -! -interface Ethernet1/47 -! -interface Ethernet1/48 -! -interface Ethernet1/49 -! -interface Ethernet1/50 -! -interface Ethernet1/51 -! -interface Ethernet1/52 -! -interface Ethernet1/53 -! -interface Ethernet1/54 -! -interface loopback0 - no switchport -! -interface mgmt0 - no switchport - vrf member management - no ip address dhcp - ip address 10.241.107.39/24 - no ipv6 address dhcp -! -interface Vlan1 - no switchport -! -interface port-channel1 -! -interface port-channel2 -! -interface port-channel11 - lacp min-links 2 -! -interface port-channel13 - switchport mode trunk -! -interface port-channel17 - switchport mode trunk -! -interface port-channel20 -! -interface port-channel33 - description Hentammoo - load-interval counter 2 33 - switchport access vlan 33 - storm-control broadcast level 12.50 - mtu 66 - spanning-tree mst 33-35 cost 33 - spanning-tree bpduguard enable -! -interface port-channel100 - switchport mode trunk -! -interface port-channel1001 -! -interface port-channel1002 -! -interface port-channel1003 - switchport mode trunk -! -interface port-channel1004 - switchport mode trunk -! -router bgp 33 - router-id 1.2.3.4 - bestpath always-compare-med - cluster-id 1.2.3.4 - confederation identifier 333 - enforce-first-as - bgp as-local-count 33 - bestpath compare-confed-aspath - maxas-limit 333 - graceful-restart-helper - graceful-restart stalepath-time 333 - timers bgp 333 3333 - address-family ipv4 unicast - synchronization - network 0.0.0.0 backdoor - dampening 13 233 333 15 33 - neighbor 10.241.107.40 remote-as 13 - bfd - address-family ipv4 unicast - next-hop-self -! -route-map anil permit 10 -! -ip arp timeout 1000 -! -line con 0 -line vty 0 - exec-timeout 90 0 -line vty 1 39 -! -! -! -end - diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/exos_fixtures/show_port_config b/ansible_collections/community/network/tests/unit/plugins/modules/exos_fixtures/show_port_config_no-refresh index 271924f09..271924f09 100644 --- a/ansible_collections/community/network/tests/unit/plugins/modules/exos_fixtures/show_port_config +++ b/ansible_collections/community/network/tests/unit/plugins/modules/exos_fixtures/show_port_config_no-refresh diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_avi_user.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_avi_user.py deleted file mode 100644 index d9463a346..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_avi_user.py +++ /dev/null @@ -1,104 +0,0 @@ -from __future__ import absolute_import, division, print_function -__metaclass__ = type - -import os -import json -from ansible_collections.community.network.tests.unit.compat import unittest -from ansible_collections.community.network.tests.unit.compat.mock import Mock -from ansible_collections.community.network.tests.unit.plugins.modules.utils import set_module_args -from ansible_collections.community.network.plugins.modules import avi_user - -fixture_path = os.path.join(os.path.dirname(__file__), 'avi_fixtures') -with open(fixture_path + '/avi_user.json') as json_file: - data = json.load(json_file) - - -class TestAviUser(unittest.TestCase): - - def test_create_user(self): - set_module_args({ - "avi_credentials": { - "controller": "192.0.2.13", - "username": "username", - "password": "fakepassword", - "api_version": "18.2.5" - }, - "state": "present", - "name": "testuser", - "obj_username": "testuser", - "obj_password": "test123", - "email": "test@abc.com", - "access": [ - { - "role_ref": "/api/role?name=Tenant-Admin", - "tenant_ref": "/api/tenant?name=Test-Admin", - "all_tenants": False - } - ], - "user_profile_ref": "/api/useraccountprofile?name=Default-User-Account-Profile", - "is_active": True, - "is_superuser": True, - "default_tenant_ref": "/api/tenant?name=admin" - }) - avi_user.avi_ansible_api = Mock(return_value=data['mock_create_res']) - response = avi_user.main() - assert response['changed'] - - def test_put_on_user(self): - set_module_args({ - "avi_credentials": { - "controller": "192.0.2.13", - "username": "username", - "password": "fakepassword", - "api_version": "18.2.5" - }, - "state": "present", - "avi_api_update_method": "put", - "name": "testuser", - "obj_username": "testuser", - "obj_password": "test123", - "email": "newemail@abc.com", - "access": [{ - "role_ref": "/api/role?name=Tenant-Admin", - "tenant_ref": "/api/tenant?name=Test-Admin", - "all_tenants": False - }], - "user_profile_ref": "/api/useraccountprofile?name=Default-User-Account-Profile", - "is_active": True, - "is_superuser": True, - "default_tenant_ref": "/api/tenant?name=admin" - }) - avi_user.avi_ansible_api = Mock(return_value=data['mock_put_res']) - response = avi_user.main() - assert response['changed'] - assert response['obj'] - assert response['old_obj'] - - def test_delete_user(self): - set_module_args({ - "avi_credentials": { - "controller": "192.0.2.13", - "username": "username", - "password": "fakepassword", - "api_version": "18.2.5" - - }, - "name": "testuser", - "obj_username": "testuser", - "obj_password": "test123", - "email": "test@abc.com", - "access": [{ - "role_ref": "/api/role?name=Tenant-Admin", - "tenant_ref": "/api/tenant?name=Test-Admin", - "all_tenants": False - }], - "user_profile_ref": "/api/useraccountprofile?name=Default-User-Account-Profile", - "is_active": True, - "is_superuser": True, - "default_tenant_ref": "/api/tenant?name=admin" - }) - avi_user.avi_ansible_api = Mock(return_value=data['mock_del_res']) - response = avi_user.main() - assert response['changed'] - assert not response['obj'] - assert response['old_obj'] diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_command.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_command.py deleted file mode 100644 index 6b7563efc..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_command.py +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright (C) 2017 Lenovo, 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 ansible_collections.community.network.tests.unit.compat.mock import patch -from ansible_collections.community.network.plugins.modules import cnos_command -from ansible_collections.community.network.tests.unit.plugins.modules.utils import set_module_args -from .cnos_module import TestCnosModule, load_fixture - - -class TestCnosCommandModule(TestCnosModule): - - module = cnos_command - - def setUp(self): - super(TestCnosCommandModule, self).setUp() - self.mock_run_commands = patch('ansible_collections.community.network.plugins.modules.cnos_command.run_commands') - self.run_commands = self.mock_run_commands.start() - - def tearDown(self): - super(TestCnosCommandModule, 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: - command = item - except ValueError: - command = 'show version' - filename = str(command).replace(' ', '_') - output.append(load_fixture(filename)) - return output - - self.run_commands.side_effect = load_from_file - - def test_cnos_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('Lenovo Networking Operating System (NOS) Software')) - - def test_cnos_command_multiple(self): - set_module_args(dict(commands=['show version', 'show running-config'])) - result = self.execute_module() - self.assertEqual(len(result['stdout']), 2) - self.assertTrue(result['stdout'][0].startswith('Lenovo Networking Operating System (NOS) Software')) - - def test_cnos_command_wait_for(self): - wait_for = 'result[0] contains "Lenovo Networking Operating System (NOS) Software"' - set_module_args(dict(commands=['show version'], wait_for=wait_for)) - self.execute_module() - - def test_cnos_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_cnos_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_cnos_command_match_any(self): - wait_for = ['result[0] contains "Lenovo Networking Operating System (NOS) Software"', - 'result[0] contains "test string"'] - set_module_args(dict(commands=['show version'], wait_for=wait_for, match='any')) - self.execute_module() - - def test_cnos_command_match_all(self): - wait_for = ['result[0] contains "Lenovo Networking Operating System (NOS) Software"', - 'result[0] contains "Lenovo"'] - set_module_args(dict(commands=['show version'], wait_for=wait_for, match='all')) - self.execute_module() - - def test_cnos_command_match_all_failure(self): - wait_for = ['result[0] contains "Lenovo ENOS"', - 'result[0] contains "test string"'] - commands = ['show version', 'show run'] - set_module_args(dict(commands=commands, wait_for=wait_for, match='all')) - self.execute_module(failed=True) diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_facts.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_facts.py deleted file mode 100644 index c55281896..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_facts.py +++ /dev/null @@ -1,82 +0,0 @@ -# (c) 2016 Red Hat 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 ansible_collections.community.network.tests.unit.compat.mock import patch -from .cnos_module import TestCnosModule, load_fixture -from ansible_collections.community.network.plugins.modules import cnos_facts -from ansible_collections.community.network.tests.unit.plugins.modules.utils import set_module_args - - -class TestCnosFacts(TestCnosModule): - - module = cnos_facts - - def setUp(self): - super(TestCnosFacts, self).setUp() - self.mock_run_commands = patch( - 'ansible_collections.community.network.plugins.modules.cnos_facts.run_commands') - self.run_commands = self.mock_run_commands.start() - - def tearDown(self): - super(TestCnosFacts, 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 = obj['command'] - except ValueError: - command = item - filename = str(command).replace(' ', '_') - filename = filename.replace('/', '7') - output.append(load_fixture(filename)) - return output - - self.run_commands.side_effect = load_from_file - - def test_cnos_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.assertEqual('ip10-241-107-39', ansible_facts['ansible_net_hostname']) - self.assertIn('Ethernet1/1', ansible_facts['ansible_net_interfaces'].keys()) - self.assertEqual(3985.8046875, ansible_facts['ansible_net_memtotal_mb']) - self.assertEqual(3070.40234375, ansible_facts['ansible_net_memfree_mb']) - - def test_cnos_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.assertEqual('ip10-241-107-39', ansible_facts['ansible_net_hostname']) - self.assertIn('ansible_net_config', ansible_facts) diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_static_route.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_static_route.py deleted file mode 100644 index e0efd2bd7..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_cnos_static_route.py +++ /dev/null @@ -1,74 +0,0 @@ -# (c) 2016 Red Hat Inc. -# Copyright (C) 2017 Lenovo. -# -# 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 ansible_collections.community.network.tests.unit.compat.mock import patch -from ansible_collections.community.network.plugins.modules import cnos_static_route -from .cnos_module import TestCnosModule, load_fixture -from ansible_collections.community.network.tests.unit.plugins.modules.utils import set_module_args - - -class TestCnosStaticRouteModule(TestCnosModule): - - module = cnos_static_route - - def setUp(self): - super(TestCnosStaticRouteModule, self).setUp() - - self.mock_exec_command = patch('ansible_collections.community.network.plugins.modules.cnos_banner.exec_command') - self.exec_command = self.mock_exec_command.start() - - self.mock_load_config = patch('ansible_collections.community.network.plugins.modules.cnos_static_route.load_config') - self.load_config = self.mock_load_config.start() - - self.mock_get_config = patch('ansible_collections.community.network.plugins.modules.cnos_static_route.get_config') - self.get_config = self.mock_get_config.start() - - def tearDown(self): - super(TestCnosStaticRouteModule, self).tearDown() - self.mock_exec_command.stop() - self.mock_load_config.stop() - self.mock_get_config.stop() - - def load_fixtures(self, commands=None): - self.exec_command.return_value = (0, load_fixture('cnos_static_route.cfg').strip(), None) - self.load_config.return_value = dict(diff=None, session='session') - - def test_cnos_static_route_present(self): - set_module_args(dict(prefix='10.241.107.20', mask='255.255.255.0', next_hop='10.241.106.1')) - self.execute_module(changed=True, commands=['ip route 10.241.107.20 255.255.255.0 10.241.106.1 1']) - - def test_cnos_static_route_present_no_defaults(self): - set_module_args(dict(prefix='10.241.106.4', mask='255.255.255.0', next_hop='1.2.3.5', - description='testing', admin_distance=100)) - self.execute_module(changed=True, - commands=['ip route 10.241.106.4 255.255.255.0 1.2.3.5 100 description testing']) - - def test_cnos_static_route_change(self): - set_module_args(dict(prefix='10.10.30.64', mask='255.255.255.0', next_hop='1.2.4.8')) - self.execute_module(changed=True, - commands=['ip route 10.10.30.64 255.255.255.0 1.2.4.8 1']) - - def test_cnos_static_route_absent(self): - set_module_args(dict(prefix='10.10.30.12', - mask='255.255.255.0', next_hop='1.2.4.8', state='absent')) - self.execute_module(changed=True, - commands=['no ip route 10.10.30.12 255.255.255.0 1.2.4.8 1']) diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_cv_server_provision.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_cv_server_provision.py deleted file mode 100644 index 8a92b0dec..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_cv_server_provision.py +++ /dev/null @@ -1,889 +0,0 @@ -# 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 - -from ansible_collections.community.network.tests.unit.compat import unittest -from ansible_collections.community.network.tests.unit.compat.mock import patch, Mock -import sys -sys.modules['cvprac'] = Mock() -sys.modules['cvprac.cvp_client'] = Mock() -sys.modules['cvprac.cvp_client_errors'] = Mock() -from ansible_collections.community.network.plugins.modules import cv_server_provision - - -class MockException(Exception): - pass - - -class TestCvServerProvision(unittest.TestCase): - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpApiError', - new_callable=lambda: MockException) - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_module_args(self, mock_module, mock_connect, mock_info, - mock_comp, mock_server_conf, mock_exception): - ''' Test main module args. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='show', switch_name='eos') - mock_module_object.fail_json.side_effect = SystemExit('Exiting') - mock_module.return_value = mock_module_object - mock_connect.return_value = 'Client' - mock_info.side_effect = mock_exception('Error Getting Info') - argument_spec = dict( - host=dict(required=True), - port=dict(required=False, default=None), - protocol=dict(default='https', choices=['http', 'https']), - username=dict(required=True), - password=dict(required=True, no_log=True), - server_name=dict(required=True), - switch_name=dict(required=True), - switch_port=dict(required=True), - port_vlan=dict(required=False, default=None), - template=dict(require=True), - action=dict(default='show', choices=['show', 'add', 'remove']), - auto_run=dict(type='bool', default=False), - ) - self.assertRaises(SystemExit, cv_server_provision.main) - mock_module.assert_called_with(argument_spec=argument_spec, - supports_check_mode=False) - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - mock_comp.assert_not_called() - mock_server_conf.assert_not_called() - mock_module_object.fail_json.assert_called_with(msg='Error Getting Info') - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpApiError', - new_callable=lambda: MockException) - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_no_switch_configlet(self, mock_module, mock_connect, - mock_info, mock_comp, mock_server_conf, - mock_exception): - ''' Test main fails if switch has no configlet for Ansible to edit. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='add', switch_name='eos') - mock_module_object.fail_json.side_effect = SystemExit('Exiting') - mock_module.return_value = mock_module_object - mock_connect.return_value = 'Client' - mock_info.return_value = 'Info' - mock_server_conf.return_value = None - self.assertRaises(SystemExit, cv_server_provision.main) - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - self.assertEqual(mock_comp.call_count, 1) - self.assertEqual(mock_server_conf.call_count, 1) - mock_module_object.fail_json.assert_called_with( - msg='Switch eos has no configurable server ports.') - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpApiError', - new_callable=lambda: MockException) - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.port_configurable') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_port_not_in_config(self, mock_module, mock_connect, mock_info, - mock_comp, mock_server_conf, - mock_port_conf, mock_exception): - ''' Test main fails if user specified port not in configlet. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='add', switch_name='eos', - switch_port='3') - mock_module_object.fail_json.side_effect = SystemExit('Exiting') - mock_module.return_value = mock_module_object - mock_connect.return_value = 'Client' - mock_info.return_value = 'Info' - mock_server_conf.return_value = 'Configlet' - mock_port_conf.return_value = None - self.assertRaises(SystemExit, cv_server_provision.main) - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - self.assertEqual(mock_comp.call_count, 1) - self.assertEqual(mock_server_conf.call_count, 1) - self.assertEqual(mock_port_conf.call_count, 1) - mock_module_object.fail_json.assert_called_with( - msg='Port 3 is not configurable as a server port on switch eos.') - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_action') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.port_configurable') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_show(self, mock_module, mock_connect, mock_info, mock_comp, - mock_server_conf, mock_port_conf, mock_conf_action): - ''' Test main good with show action. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='show', switch_name='eos', - switch_port='3', auto_run=False) - mock_module.return_value = mock_module_object - mock_connect.return_value = 'Client' - mock_info.return_value = 'Info' - mock_server_conf.return_value = 'Configlet' - mock_port_conf.return_value = 'Port' - mock_conf_action.return_value = dict() - cv_server_provision.main() - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - mock_comp.assert_not_called() - self.assertEqual(mock_server_conf.call_count, 1) - self.assertEqual(mock_port_conf.call_count, 1) - self.assertEqual(mock_conf_action.call_count, 1) - mock_module_object.fail_json.assert_not_called() - return_dict = dict(changed=False, switchInfo='Info', - switchConfigurable=True, portConfigurable=True, - taskCreated=False, taskExecuted=False, - taskCompleted=False) - mock_module_object.exit_json.assert_called_with(**return_dict) - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_action') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.port_configurable') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_add_no_auto_run(self, mock_module, mock_connect, mock_info, - mock_comp, mock_server_conf, mock_port_conf, - mock_conf_action): - ''' Test main good with add action and no auto_run. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='add', switch_name='eos', - switch_port='3', auto_run=False) - mock_module.return_value = mock_module_object - mock_connect.return_value = 'Client' - mock_info.return_value = 'Info' - mock_server_conf.return_value = 'Configlet' - mock_port_conf.return_value = 'Port' - mock_conf_action.return_value = dict(taskCreated=True) - cv_server_provision.main() - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - self.assertEqual(mock_comp.call_count, 1) - self.assertEqual(mock_server_conf.call_count, 1) - self.assertEqual(mock_port_conf.call_count, 1) - self.assertEqual(mock_conf_action.call_count, 1) - mock_module_object.fail_json.assert_not_called() - return_dict = dict(changed=False, switchInfo='Info', - switchConfigurable=True, portConfigurable=True, - taskCreated=True, taskExecuted=False, - taskCompleted=False) - mock_module_object.exit_json.assert_called_with(**return_dict) - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.wait_for_task_completion') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_update_task') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_action') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.port_configurable') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_add_auto_run(self, mock_module, mock_connect, mock_info, - mock_comp, mock_server_conf, mock_port_conf, - mock_conf_action, mock_conf_task, mock_wait): - ''' Test main good with add and auto_run. Config updated, task created. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='add', switch_name='eos', - switch_port='3', auto_run=True) - mock_module.return_value = mock_module_object - mock_client_object = Mock() - mock_connect.return_value = mock_client_object - mock_info.return_value = 'Info' - mock_server_conf.return_value = 'Configlet' - mock_port_conf.return_value = 'Port' - mock_conf_action.return_value = dict(taskCreated=True, changed=True) - mock_conf_task.return_value = '7' - mock_wait.return_value = True - cv_server_provision.main() - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - self.assertEqual(mock_comp.call_count, 1) - self.assertEqual(mock_server_conf.call_count, 1) - self.assertEqual(mock_port_conf.call_count, 1) - self.assertEqual(mock_conf_action.call_count, 1) - self.assertEqual(mock_conf_task.call_count, 1) - self.assertEqual(mock_wait.call_count, 1) - mock_module_object.fail_json.assert_not_called() - return_dict = dict(changed=True, switchInfo='Info', taskId='7', - switchConfigurable=True, portConfigurable=True, - taskCreated=True, taskExecuted=True, - taskCompleted=True) - mock_module_object.exit_json.assert_called_with(**return_dict) - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.wait_for_task_completion') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_update_task') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.configlet_action') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.port_configurable') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.server_configurable_configlet') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_in_compliance') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.connect') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.AnsibleModule') - def test_main_add_auto_run_no_task(self, mock_module, mock_connect, - mock_info, mock_comp, mock_server_conf, - mock_port_conf, mock_conf_action, mock_conf_task, - mock_wait): - ''' Test main good with add and auto_run. Config not updated, no task. - ''' - mock_module_object = Mock() - mock_module_object.params = dict(action='add', switch_name='eos', - switch_port='3', auto_run=True) - mock_module.return_value = mock_module_object - mock_client_object = Mock() - mock_connect.return_value = mock_client_object - mock_info.return_value = 'Info' - mock_server_conf.return_value = 'Configlet' - mock_port_conf.return_value = 'Port' - mock_conf_action.return_value = dict(taskCreated=True, changed=False) - mock_conf_task.return_value = None - cv_server_provision.main() - self.assertEqual(mock_connect.call_count, 1) - self.assertEqual(mock_info.call_count, 1) - self.assertEqual(mock_comp.call_count, 1) - self.assertEqual(mock_server_conf.call_count, 1) - self.assertEqual(mock_port_conf.call_count, 1) - self.assertEqual(mock_conf_action.call_count, 1) - self.assertEqual(mock_conf_task.call_count, 1) - mock_wait.assert_not_called() - mock_module_object.fail_json.assert_not_called() - return_dict = dict(changed=False, switchInfo='Info', - switchConfigurable=True, portConfigurable=True, - taskCreated=False, taskExecuted=False, - taskCompleted=False) - mock_module_object.exit_json.assert_called_with(**return_dict) - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpClient') - def test_connect_good(self, mock_client): - ''' Test connect success. - ''' - module = Mock() - module.params = dict(host='host', username='username', - password='password', protocol='https', port='10') - connect_mock = Mock() - mock_client.return_value = connect_mock - client = cv_server_provision.connect(module) - self.assertIsInstance(client, Mock) - self.assertEqual(mock_client.call_count, 1) - connect_mock.connect.assert_called_once_with(['host'], 'username', - 'password', port='10', - protocol='https') - module.fail_json.assert_not_called() - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpLoginError', - new_callable=lambda: MockException) - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.CvpClient') - def test_connect_fail(self, mock_client, mock_exception): - ''' Test connect failure with login error. - ''' - module = Mock() - module.params = dict(host='host', username='username', - password='password', protocol='https', port='10') - module.fail_json.side_effect = SystemExit - connect_mock = Mock() - connect_mock.connect.side_effect = mock_exception('Login Error') - mock_client.return_value = connect_mock - self.assertRaises(SystemExit, cv_server_provision.connect, module) - self.assertEqual(connect_mock.connect.call_count, 1) - module.fail_json.assert_called_once_with(msg='Login Error') - - def test_switch_info_good(self): - ''' Test switch_info success. - ''' - module = Mock() - module.params = dict(switch_name='eos') - module.client.api.get_device_by_name.return_value = dict(fqdn='eos') - info = cv_server_provision.switch_info(module) - self.assertEqual(module.client.api.get_device_by_name.call_count, 1) - self.assertEqual(info['fqdn'], 'eos') - module.fail_json.assert_not_called() - - def test_switch_info_no_switch(self): - ''' Test switch_info fails. - ''' - module = Mock() - module.params = dict(switch_name='eos') - module.client.api.get_device_by_name.return_value = None - info = cv_server_provision.switch_info(module) - self.assertEqual(module.client.api.get_device_by_name.call_count, 1) - self.assertEqual(info, None) - module.fail_json.assert_called_once_with( - msg="Device with name 'eos' does not exist.") - - def test_switch_in_compliance_good(self): - ''' Test switch_in_compliance good. - ''' - module = Mock() - module.client.api.check_compliance.return_value = dict( - complianceCode='0000') - sw_info = dict(key='key', type='type', fqdn='eos') - cv_server_provision.switch_in_compliance(module, sw_info) - self.assertEqual(module.client.api.check_compliance.call_count, 1) - module.fail_json.assert_not_called() - - def test_switch_in_compliance_fail(self): - ''' Test switch_in_compliance fail. - ''' - module = Mock() - module.client.api.check_compliance.return_value = dict( - complianceCode='0001') - sw_info = dict(key='key', type='type', fqdn='eos') - cv_server_provision.switch_in_compliance(module, sw_info) - self.assertEqual(module.client.api.check_compliance.call_count, 1) - module.fail_json.assert_called_with( - msg='Switch eos is not in compliance.' - ' Returned compliance code 0001.') - - def test_server_configurable_configlet_good(self): - ''' Test server_configurable_configlet good. - ''' - module = Mock() - module.params = dict(switch_name='eos') - configlets = [dict(name='configlet1', info='line'), - dict(name='eos-server', info='info')] - module.client.api.get_configlets_by_device_id.return_value = configlets - sw_info = dict(key='key', type='type', fqdn='eos') - result = cv_server_provision.server_configurable_configlet(module, - sw_info) - self.assertEqual(module.client.api.get_configlets_by_device_id.call_count, 1) - self.assertIsNotNone(result) - self.assertEqual(result['name'], 'eos-server') - self.assertEqual(result['info'], 'info') - - def test_server_configurable_configlet_not_configurable(self): - ''' Test server_configurable_configlet fail. No server configlet. - ''' - module = Mock() - module.params = dict(switch_name='eos') - configlets = [dict(name='configlet1', info='line'), - dict(name='configlet2', info='info')] - module.client.api.get_configlets_by_device_id.return_value = configlets - sw_info = dict(key='key', type='type', fqdn='eos') - result = cv_server_provision.server_configurable_configlet(module, sw_info) - self.assertEqual(module.client.api.get_configlets_by_device_id.call_count, 1) - self.assertIsNone(result) - - def test_server_configurable_configlet_no_configlets(self): - ''' Test server_configurable_configlet fail. No switch configlets. - ''' - module = Mock() - module.params = dict(switch_name='eos') - module.client.api.get_configlets_by_device_id.return_value = [] - sw_info = dict(key='key', type='type', fqdn='eos') - result = cv_server_provision.server_configurable_configlet(module, - sw_info) - self.assertEqual(module.client.api.get_configlets_by_device_id.call_count, 1) - self.assertIsNone(result) - - def test_port_configurable_good(self): - ''' Test port_configurable user provided switch port in configlet. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - configlet = dict(name='eos-server', config=config) - result = cv_server_provision.port_configurable(module, configlet) - self.assertTrue(result) - - def test_port_configurable_fail(self): - ''' Test port_configurable user provided switch port not in configlet. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='2') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - configlet = dict(name='eos-server', config=config) - result = cv_server_provision.port_configurable(module, configlet) - self.assertFalse(result) - - def test_port_configurable_fail_no_config(self): - ''' Test port_configurable configlet empty. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='2') - config = '' - configlet = dict(name='eos-server', config=config) - result = cv_server_provision.port_configurable(module, configlet) - self.assertFalse(result) - - def test_configlet_action_show_blank_config(self): - ''' Test configlet_action show returns current port configuration. - ''' - module = Mock() - module.params = dict(action='show', switch_name='eos', switch_port='3') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - configlet = dict(name='eos-server', key='key', config=config) - result = cv_server_provision.configlet_action(module, configlet) - self.assertIsNotNone(result) - self.assertEqual(result['currentConfigBlock'], 'interface Ethernet3\n!') - module.client.api.update_configlet.assert_not_called() - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.config_from_template') - def test_configlet_action_add_with_task(self, mock_template): - ''' Test configlet_action add with change updates configlet and adds - proper info to return data. Including task spawned info. - ''' - module = Mock() - module.params = dict(action='add', switch_name='eos', switch_port='3') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - configlet = dict(name='eos-server', key='key', config=config) - template_config = ('interface Ethernet3\n description Host eos' - ' managed by Ansible and Jinja template\n' - ' load-interval 30\n' - ' switchport\n' - ' switchport mode trunk\n' - ' no shutdown\n!') - mock_template.return_value = template_config - update_return = dict(data='Configlet eos-server successfully updated' - ' and task initiated.') - module.client.api.update_configlet.return_value = update_return - result = cv_server_provision.configlet_action(module, configlet) - self.assertIsNotNone(result) - self.assertEqual(result['oldConfigBlock'], 'interface Ethernet3\n!') - full_config = '!\n' + template_config + '\ninterface Ethernet4\n!' - self.assertEqual(result['fullConfig'], full_config) - self.assertEqual(result['updateConfigletResponse'], - update_return['data']) - self.assertTrue(result['changed']) - self.assertTrue(result['taskCreated']) - self.assertEqual(module.client.api.update_configlet.call_count, 1) - - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.config_from_template') - def test_configlet_action_add_no_task(self, mock_template): - ''' Test configlet_action add that doesn't change configlet adds proper - info to return data. Does not including any task info. - ''' - module = Mock() - module.params = dict(action='add', switch_name='eos', switch_port='3') - config = ('!\ninterface Ethernet3\n description test\n' - '!\ninterface Ethernet4\n!') - configlet = dict(name='eos-server', key='key', config=config) - template_config = 'interface Ethernet3\n description test\n!' - mock_template.return_value = template_config - update_return = dict(data='Configlet eos-server successfully updated.') - module.client.api.update_configlet.return_value = update_return - result = cv_server_provision.configlet_action(module, configlet) - self.assertIsNotNone(result) - self.assertEqual(result['oldConfigBlock'], - 'interface Ethernet3\n description test\n!') - self.assertEqual(result['fullConfig'], config) - self.assertEqual(result['updateConfigletResponse'], - update_return['data']) - self.assertNotIn('changed', result) - self.assertNotIn('taskCreated', result) - self.assertEqual(module.client.api.update_configlet.call_count, 1) - - def test_configlet_action_remove_with_task(self): - ''' Test configlet_action remove with change updates configlet and adds - proper info to return data. Including task spawned info. - ''' - module = Mock() - module.params = dict(action='remove', switch_name='eos', - switch_port='3') - config = ('!\ninterface Ethernet3\n description test\n' - '!\ninterface Ethernet4\n!') - configlet = dict(name='eos-server', key='key', config=config) - update_return = dict(data='Configlet eos-server successfully updated' - ' and task initiated.') - module.client.api.update_configlet.return_value = update_return - result = cv_server_provision.configlet_action(module, configlet) - self.assertIsNotNone(result) - self.assertEqual(result['oldConfigBlock'], - 'interface Ethernet3\n description test\n!') - full_config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - self.assertEqual(result['fullConfig'], full_config) - self.assertEqual(result['updateConfigletResponse'], - update_return['data']) - self.assertTrue(result['changed']) - self.assertTrue(result['taskCreated']) - self.assertEqual(module.client.api.update_configlet.call_count, 1) - - def test_configlet_action_remove_no_task(self): - ''' Test configlet_action with remove that doesn't change configlet and - adds proper info to return data. Does not including any task info. - ''' - module = Mock() - module.params = dict(action='remove', switch_name='eos', - switch_port='3') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - configlet = dict(name='eos-server', key='key', config=config) - update_return = dict(data='Configlet eos-server successfully updated.') - module.client.api.update_configlet.return_value = update_return - result = cv_server_provision.configlet_action(module, configlet) - self.assertIsNotNone(result) - self.assertEqual(result['oldConfigBlock'], 'interface Ethernet3\n!') - self.assertEqual(result['fullConfig'], config) - self.assertEqual(result['updateConfigletResponse'], - update_return['data']) - self.assertNotIn('changed', result) - self.assertNotIn('taskCreated', result) - self.assertEqual(module.client.api.update_configlet.call_count, 1) - - def test_current_config_empty_config(self): - ''' Test current_config with empty config for port - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='4') - config = '!\ninterface Ethernet3\n!\ninterface Ethernet4' - result = cv_server_provision.current_config(module, config) - self.assertIsNotNone(result) - self.assertEqual(result, 'interface Ethernet4') - - def test_current_config_with_config(self): - ''' Test current_config with config for port - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3') - config = ('!\ninterface Ethernet3\n description test\n' - '!\ninterface Ethernet4\n!') - result = cv_server_provision.current_config(module, config) - self.assertIsNotNone(result) - self.assertEqual(result, 'interface Ethernet3\n description test\n!') - - def test_current_config_no_match(self): - ''' Test current_config with no entry for port - ''' - module = Mock() - module.fail_json.side_effect = SystemExit - module.params = dict(switch_name='eos', switch_port='2') - config = '!\ninterface Ethernet3\n description test\n!' - self.assertRaises(SystemExit, cv_server_provision.current_config, - module, config) - - def test_valid_template_true(self): - ''' Test valid_template true - ''' - template = 'interface Ethernet3\n description test\n!' - result = cv_server_provision.valid_template('3', template) - self.assertTrue(result) - - def test_valid_template_false(self): - ''' Test valid_template false - ''' - template = 'interface Ethernet3\n description test\n!' - result = cv_server_provision.valid_template('4', template) - self.assertFalse(result) - - @patch('jinja2.DebugUndefined') - @patch('jinja2.Environment') - @patch('jinja2.FileSystemLoader') - def test_config_from_template_no_template(self, mock_file_sys, mock_env, - mock_debug): - ''' Test config_from_template good. No template. - ''' - module = Mock() - module.fail_json.side_effect = SystemExit - module.params = dict(switch_name='eos', switch_port='3', - server_name='new', template='jinja.j2') - mock_file_sys.return_value = 'file' - mock_debug.return_value = 'debug' - env_mock = Mock() - env_mock.get_template.return_value = None - mock_env.return_value = env_mock - self.assertRaises(SystemExit, cv_server_provision.config_from_template, - module) - self.assertEqual(mock_file_sys.call_count, 1) - self.assertEqual(mock_env.call_count, 1) - self.assertEqual(module.fail_json.call_count, 1) - - @patch('jinja2.meta.find_undeclared_variables') - @patch('jinja2.DebugUndefined') - @patch('jinja2.Environment') - @patch('jinja2.FileSystemLoader') - def test_config_from_template_good_no_vlan(self, mock_file_sys, mock_env, mock_debug, - mock_find): - ''' Test config_from_template good. No port_vlan. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3', - server_name='new', template='jinja.j2') - mock_file_sys.return_value = 'file' - mock_debug.return_value = 'debug' - template_mock = Mock() - template_mock.render.return_value = ('interface Ethernet3\n' - ' description test\n' - ' switchport\n' - ' switchport mode trunk\n' - ' no shutdown\n!') - env_mock = Mock() - env_mock.loader.get_source.return_value = ['one', 'two'] - env_mock.parse.return_value = 'parsed' - env_mock.get_template.return_value = template_mock - mock_env.return_value = env_mock - mock_find.return_value = dict(server_name=None, switch_port=None) - result = cv_server_provision.config_from_template(module) - self.assertIsNotNone(result) - expected = ('interface Ethernet3\n' - ' description test\n' - ' switchport\n' - ' switchport mode trunk\n' - ' no shutdown\n!') - self.assertEqual(result, expected) - self.assertEqual(mock_file_sys.call_count, 1) - self.assertEqual(mock_env.call_count, 1) - module.fail_json.assert_not_called() - - @patch('jinja2.meta.find_undeclared_variables') - @patch('jinja2.DebugUndefined') - @patch('jinja2.Environment') - @patch('jinja2.FileSystemLoader') - def test_config_from_template_good_vlan(self, mock_file_sys, mock_env, mock_debug, - mock_find): - ''' Test config_from_template good. With port_vlan. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3', - server_name='new', template='jinja.j2', port_vlan='7') - mock_file_sys.return_value = 'file' - mock_debug.return_value = 'debug' - template_mock = Mock() - template_mock.render.return_value = ('interface Ethernet3\n' - ' description test\n' - ' switchport\n' - ' switchport access vlan 7\n' - ' no shutdown\n!') - env_mock = Mock() - env_mock.loader.get_source.return_value = ['one', 'two'] - env_mock.parse.return_value = 'parsed' - env_mock.get_template.return_value = template_mock - mock_env.return_value = env_mock - mock_find.return_value = dict(server_name=None, switch_port=None, - port_vlan=None) - result = cv_server_provision.config_from_template(module) - self.assertIsNotNone(result) - expected = ('interface Ethernet3\n' - ' description test\n' - ' switchport\n' - ' switchport access vlan 7\n' - ' no shutdown\n!') - self.assertEqual(result, expected) - self.assertEqual(mock_file_sys.call_count, 1) - self.assertEqual(mock_env.call_count, 1) - module.fail_json.assert_not_called() - - @patch('jinja2.meta.find_undeclared_variables') - @patch('jinja2.DebugUndefined') - @patch('jinja2.Environment') - @patch('jinja2.FileSystemLoader') - def test_config_from_template_fail_wrong_port(self, mock_file_sys, mock_env, - mock_debug, mock_find): - ''' Test config_from_template fail. Wrong port number in template. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='4', - server_name='new', template='jinja.j2') - mock_file_sys.return_value = 'file' - mock_debug.return_value = 'debug' - template_mock = Mock() - template_mock.render.return_value = ('interface Ethernet3\n' - ' description test\n!') - env_mock = Mock() - env_mock.loader.get_source.return_value = ['one', 'two'] - env_mock.parse.return_value = 'parsed' - env_mock.get_template.return_value = template_mock - mock_env.return_value = env_mock - mock_find.return_value = dict(server_name=None, switch_port=None) - result = cv_server_provision.config_from_template(module) - self.assertIsNotNone(result) - expected = 'interface Ethernet3\n description test\n!' - self.assertEqual(result, expected) - self.assertEqual(mock_file_sys.call_count, 1) - self.assertEqual(mock_env.call_count, 1) - module.fail_json.assert_called_with(msg='Template content does not' - ' configure proper interface' - ' - %s' % expected) - - @patch('jinja2.meta.find_undeclared_variables') - @patch('jinja2.DebugUndefined') - @patch('jinja2.Environment') - @patch('jinja2.FileSystemLoader') - def test_config_from_template_fail_no_vlan(self, mock_file_sys, mock_env, - mock_debug, mock_find): - ''' Test config_from_template fail. Template needs vlan but none provided. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3', - server_name='new', template='jinja.j2', - port_vlan=None) - mock_file_sys.return_value = 'file' - mock_debug.return_value = 'debug' - template_mock = Mock() - template_mock.render.return_value = ('interface Ethernet3\n' - ' description test\n!') - env_mock = Mock() - env_mock.loader.get_source.return_value = ['one', 'two'] - env_mock.parse.return_value = 'parsed' - env_mock.get_template.return_value = template_mock - mock_env.return_value = env_mock - mock_find.return_value = dict(server_name=None, switch_port=None, - port_vlan=None) - result = cv_server_provision.config_from_template(module) - self.assertIsNotNone(result) - expected = 'interface Ethernet3\n description test\n!' - self.assertEqual(result, expected) - self.assertEqual(mock_file_sys.call_count, 1) - self.assertEqual(mock_env.call_count, 1) - module.fail_json.assert_called_with(msg='Template jinja.j2 requires a' - ' vlan. Please re-run with vlan' - ' number provided.') - - def test_updated_configlet_content_add(self): - ''' Test updated_configlet_content. Add config. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3') - existing_config = '!\ninterface Ethernet3\n!\ninterface Ethernet4\n!' - new_config_block = 'interface Ethernet3\n description test\n!' - result = cv_server_provision.updated_configlet_content(module, - existing_config, - new_config_block) - expected = ('!\ninterface Ethernet3\n description test\n' - '!\ninterface Ethernet4\n!') - self.assertEqual(result, expected) - module.fail_json.assert_not_called() - - def test_updated_configlet_content_remove(self): - ''' Test updated_configlet_content. Remove config. - ''' - module = Mock() - module.params = dict(switch_name='eos', switch_port='3') - existing_config = ('!\ninterface Ethernet3\n description test\n' - '!\ninterface Ethernet4') - new_config_block = 'interface Ethernet3\n!' - result = cv_server_provision.updated_configlet_content(module, - existing_config, - new_config_block) - expected = '!\ninterface Ethernet3\n!\ninterface Ethernet4' - self.assertEqual(result, expected) - module.fail_json.assert_not_called() - - def test_updated_configlet_content_no_match(self): - ''' Test updated_configlet_content. Interface not in config. - ''' - module = Mock() - module.fail_json.side_effect = SystemExit - module.params = dict(switch_name='eos', switch_port='2') - existing_config = '!\ninterface Ethernet3\n description test\n!' - new_config_block = 'interface Ethernet3\n!' - self.assertRaises(SystemExit, - cv_server_provision.updated_configlet_content, - module, existing_config, new_config_block) - - @patch('time.sleep') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - def test_configlet_update_task_good_one_try(self, mock_info, mock_sleep): - ''' Test configlet_update_task gets task after one try. - ''' - module = Mock() - task = dict(data=dict(WORKFLOW_ACTION='Configlet Push'), - description='Configlet Assign', - workOrderId='7') - device_info = dict(taskIdList=[task]) - mock_info.return_value = device_info - result = cv_server_provision.configlet_update_task(module) - self.assertEqual(result, '7') - mock_sleep.assert_not_called() - self.assertEqual(mock_info.call_count, 1) - - @patch('time.sleep') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - def test_configlet_update_task_good_three_tries(self, mock_info, mock_sleep): - ''' Test configlet_update_task gets task on third try. - ''' - module = Mock() - task1 = dict(data=dict(WORKFLOW_ACTION='Configlet Push'), - description='Configlet Assign', - workOrderId='7') - task2 = dict(data=dict(WORKFLOW_ACTION='Nonsense'), - description='Configlet Assign', - workOrderId='700') - device_info = dict(taskIdList=[task1, task2]) - mock_info.side_effect = [dict(), dict(), device_info] - result = cv_server_provision.configlet_update_task(module) - self.assertEqual(result, '7') - self.assertEqual(mock_sleep.call_count, 2) - self.assertEqual(mock_info.call_count, 3) - - @patch('time.sleep') - @patch('ansible_collections.community.network.plugins.modules.cv_server_provision.switch_info') - def test_configlet_update_task_no_task(self, mock_info, mock_sleep): - ''' Test configlet_update_task does not get task after three tries. - ''' - module = Mock() - mock_info.side_effect = [dict(), dict(), dict()] - result = cv_server_provision.configlet_update_task(module) - self.assertIsNone(result) - self.assertEqual(mock_sleep.call_count, 3) - self.assertEqual(mock_info.call_count, 3) - - @patch('time.sleep') - def test_wait_for_task_completion_good_one_try(self, mock_time): - ''' Test wait_for_task_completion completed. One Try. - ''' - module = Mock() - module.client.api.get_task_by_id.return_value = dict( - workOrderUserDefinedStatus='Completed') - result = cv_server_provision.wait_for_task_completion(module, '7') - self.assertTrue(result) - self.assertEqual(module.client.api.get_task_by_id.call_count, 1) - module.fail_json.assert_not_called() - mock_time.assert_not_called() - - @patch('time.sleep') - def test_wait_for_task_completion_good_three_tries(self, mock_time): - ''' Test wait_for_task_completion completed. Three tries. - ''' - module = Mock() - try_one_two = dict(workOrderUserDefinedStatus='Pending') - try_three = dict(workOrderUserDefinedStatus='Completed') - module.client.api.get_task_by_id.side_effect = [try_one_two, - try_one_two, try_three] - result = cv_server_provision.wait_for_task_completion(module, '7') - self.assertTrue(result) - self.assertEqual(module.client.api.get_task_by_id.call_count, 3) - module.fail_json.assert_not_called() - self.assertEqual(mock_time.call_count, 2) - - @patch('time.sleep') - def test_wait_for_task_completion_fail(self, mock_time): - ''' Test wait_for_task_completion failed. - ''' - module = Mock() - try_one = dict(workOrderUserDefinedStatus='Failed') - try_two = dict(workOrderUserDefinedStatus='Completed') - module.client.api.get_task_by_id.side_effect = [try_one, try_two] - result = cv_server_provision.wait_for_task_completion(module, '7') - self.assertTrue(result) - self.assertEqual(module.client.api.get_task_by_id.call_count, 2) - text = ('Task 7 has reported status Failed. Please consult the CVP' - ' admins for more information.') - module.fail_json.assert_called_with(msg=text) - self.assertEqual(mock_time.call_count, 1) diff --git a/ansible_collections/community/network/tests/unit/plugins/modules/test_icx_static_route.py b/ansible_collections/community/network/tests/unit/plugins/modules/test_icx_static_route.py deleted file mode 100644 index 3dda2d956..000000000 --- a/ansible_collections/community/network/tests/unit/plugins/modules/test_icx_static_route.py +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright: (c) 2019, Ansible Project -# 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 -from ansible_collections.community.network.tests.unit.compat.mock import patch -from ansible_collections.community.network.plugins.modules import icx_static_route -from ansible_collections.community.network.tests.unit.plugins.modules.utils import set_module_args -from .icx_module import TestICXModule, load_fixture - - -class TestICXStaticRouteModule(TestICXModule): - - module = icx_static_route - - def setUp(self): - super(TestICXStaticRouteModule, self).setUp() - self.mock_get_config = patch('ansible_collections.community.network.plugins.modules.icx_static_route.get_config') - self.get_config = self.mock_get_config.start() - - self.mock_load_config = patch('ansible_collections.community.network.plugins.modules.icx_static_route.load_config') - self.load_config = self.mock_load_config.start() - self.set_running_config() - - def tearDown(self): - super(TestICXStaticRouteModule, self).tearDown() - self.mock_get_config.stop() - self.mock_load_config.stop() - - def load_fixtures(self, commands=None): - compares = None - - def load_file(*args, **kwargs): - module = args - for arg in args: - if arg.params['check_running_config'] is True: - return load_fixture('icx_static_route_config.txt').strip() - else: - return '' - - self.get_config.side_effect = load_file - self.load_config.return_value = None - - def test_icx_static_route_config(self): - set_module_args(dict(prefix='192.126.23.0/24', next_hop='10.10.14.3')) - if not self.ENV_ICX_USE_DIFF: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.23.0 255.255.255.0 10.10.14.3' - ] - self.assertEqual(result['commands'], expected_commands) - else: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.23.0 255.255.255.0 10.10.14.3' - ] - self.assertEqual(result['commands'], expected_commands) - - def test_icx_static_route_config_compare(self): - set_module_args(dict(prefix='172.16.10.0/24', next_hop='10.0.0.8', check_running_config=True)) - if self.get_running_config(compare=True): - if not self.ENV_ICX_USE_DIFF: - result = self.execute_module(changed=False) - expected_commands = [ - ] - self.assertEqual(result['commands'], expected_commands) - else: - result = self.execute_module(changed=False) - expected_commands = [ - ] - self.assertEqual(result['commands'], expected_commands) - - def test_icx_static_route_distance_config(self): - set_module_args(dict(prefix='192.126.0.0', mask='255.255.0.0', next_hop='10.10.14.3', admin_distance='40')) - if not self.ENV_ICX_USE_DIFF: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.0.0 255.255.0.0 10.10.14.3 distance 40' - ] - self.assertEqual(result['commands'], expected_commands) - else: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.0.0 255.255.0.0 10.10.14.3 distance 40' - ] - self.assertEqual(result['commands'], expected_commands) - - def test_icx_static_route_aggregate(self): - aggregate = [ - dict(prefix='192.126.23.0/24', next_hop='10.10.14.3'), - dict(prefix='192.126.0.0', mask='255.255.0.0', next_hop='10.10.14.3', admin_distance='40') - ] - set_module_args(dict(aggregate=aggregate)) - if not self.ENV_ICX_USE_DIFF: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.23.0 255.255.255.0 10.10.14.3', - 'ip route 192.126.0.0 255.255.0.0 10.10.14.3 distance 40' - ] - self.assertEqual(result['commands'], expected_commands) - else: - result = self.execute_module(changed=True) - expected_commands = [ - 'ip route 192.126.23.0 255.255.255.0 10.10.14.3', - 'ip route 192.126.0.0 255.255.0.0 10.10.14.3 distance 40' - ] - self.assertEqual(result['commands'], expected_commands) - - def test_icx_static_route_remove(self): - set_module_args(dict(prefix='172.16.10.0/24', next_hop='10.0.0.8', state='absent')) - if not self.ENV_ICX_USE_DIFF: - result = self.execute_module(changed=True) - expected_commands = [ - 'no ip route 172.16.10.0 255.255.255.0 10.0.0.8', - ] - self.assertEqual(result['commands'], expected_commands) - - else: - result = self.execute_module(changed=True) - expected_commands = [ - 'no ip route 172.16.10.0 255.255.255.0 10.0.0.8', - ] - self.assertEqual(result['commands'], expected_commands) diff --git a/ansible_collections/community/network/tests/unit/requirements.txt b/ansible_collections/community/network/tests/unit/requirements.txt index 51c436d08..c54d5f493 100644 --- a/ansible_collections/community/network/tests/unit/requirements.txt +++ b/ansible_collections/community/network/tests/unit/requirements.txt @@ -1,4 +1,6 @@ unittest2 ; python_version <= '2.6' +jinja2 ; python_version >= '2.7' +requests ; python_version >= '2.7' # requirements for ftd module_utils firepower-kickstart ; python_version >= '3.6' and python_version < '3.9' # Python 3.6+ only; dependency does not work with 3.9 yet diff --git a/ansible_collections/community/network/tests/unit/requirements.yml b/ansible_collections/community/network/tests/unit/requirements.yml new file mode 100644 index 000000000..d4b8365f9 --- /dev/null +++ b/ansible_collections/community/network/tests/unit/requirements.yml @@ -0,0 +1,3 @@ +--- +collections: + - ansible.netcommon |