Paul Belanger
fc69f63cec
Remove unused imports in eos_modules unittest ( #67709 )
...
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-02-24 16:37:19 -05:00
GomathiselviS
d283126c31
eos_acls : Add eos acls resource module ( #66308 )
...
* Adding files for RM static_routes
* Added Integration tests
* Added Unit testcases
* Addressed review comments
* corrected lint errors
* corrected documentation errors
* Lint errors
* corrected test/sanity
* corrected documentation for deprecation
* corrected case sensitivity
* Again Documentation eroor
* Lint errors again
* corrected deprecated module in ignoretxt
* added new gethered,rendered,parsed state checks to unit test
* New code broke the old flow-fixed
* Lint errs
* Added check for running_config
* eos_acls resource module added
* Corrected errors
* corrected documentation errors
* corrected typo
* Testcases in progress
* Integration tests in progress
* Integration tests
* Added Intergration tcs
* Corrected pylint errors
* Resolving issues due to rebase
* Corrected Typo
* more pylint errors
* more pylint errors
* more pylint errors
* Documentation
* Documentation
* More lint errors
* Fixed Indentation
* Indentation issues - not getting fixed
* Indentation issues - not getting fixed
* Added rtt testcase
* Corrected whitespaces
* addressed review comments
* moved integration tests to common - to support eapi tests
* modification for merge update
* indentation errors
* added line key
* Fixing shippable errors
* fixing doc errors
* fixing doc errors
* fixing doc errors
* fixing doc errors
* fixing indentation
* modified replaced operation
* rebase issue fixed
* Corrected typo
* review comments and flake8 error fixed
2020-02-24 12:27:11 -05:00
GomathiselviS
600d6278f9
eos : Add resource module eos_acl_interfaces ( #67137 )
...
* Added fix for bug # 54400
* Adding files for RM static_routes
* Added Integration tests
* Revert "Added fix for bug # 54400"
This reverts commit bf42db4269
.
* Revert "Adding files for RM static_routes"
This reverts commit dafdd92d43
.
* Revert "Added Integration tests"
This reverts commit 129dc87682
.
* Adding files for RM static_routes
* Added Integration tests
* Corrected lint errors
* Added fix for bug # 54400
* Revert "Added fix for bug # 54400"
This reverts commit bf42db4269
.
* Revert "Adding files for RM static_routes"
This reverts commit dafdd92d43
.
* Revert "Added Integration tests"
This reverts commit 129dc87682
.
* acl_interfaces
* acl_interfaces in progress
* Adding unit testcases
* Addresses Paul's review comments
* worked on shippable errors
* indentation errors
* Modified unit tests
* indent issues
* indent issues
* eos specfic changes
* making the integration tcs skip the zuul run
* addressed review comments
* added required:True documentaiton
2020-02-21 10:05:16 -05:00
Toshio Kuratomi
3fba006207
Update bare exceptions to specify Exception.
...
This will keep us from accidentally catching program-exiting exceptions
like KeyboardInterupt and SystemExit.
2018-12-16 15:03:19 -08:00
Pilou
a5c9726502
Unit tests: share common code ( #31456 )
...
* move set_module_args to units.modules.utils
* unit tests: reuse set_module_args
* unit tests: mock exit/fail_json in module.utils.ModuleTestCase
* unit tests: use module.utils.ModuleTestCase
* unit tests: fix 'import shadowed by loop variable'
2017-11-17 09:17:07 -08:00
Ganesh Nalawade
3ff527b1d2
Fixes #30281 eos_banner integration test failure ( #30283 )
...
* Fixes #30281 Configure login prompt for eos_banner
* Fix unit test
* Fix pep8 issue
2017-09-14 13:56:32 +05:30
Nathaniel Case
f52dcef7ba
Actually check for equality on empty commands array ( #25308 )
2017-06-06 09:56:44 -04:00
Dag Wieers
4efec414e7
test/: PEP8 compliancy ( #24803 )
...
* test/: PEP8 compliancy
- Make PEP8 compliant
* Python3 chokes on casting int to bytes (#24952 )
But if we tell the formatter that the var is a number, it works
2017-05-30 18:05:19 +01:00
Ricardo Carrillo Cruz
604a38cac1
Implement eos_banner for EAPI ( #22609 )
...
On EAPI, the multi-line commands are expected to be a dict,
with key/value pairs 'cmd'/'input' .
This change implements that behaviour and fixes the idempotency
on EAPI as well.
Fixes #22494
2017-03-14 21:00:17 +01:00
Peter Sprygada
14b942f3fb
updates eos modules to use socket ( #21197 )
...
* updates eos modules to use persistent connection socket
* removes split eos shared module and combines into one
* adds singular eos doc frag (eos_local to be removed after module updates)
* updates unit test cases
2017-02-13 20:22:10 -05:00