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
David Newswanger
b818e986b6
Change network *_user modules to use configured_password to set a users password ( #28187 )
...
* WIP, update eos_user args
* refactor password for ios_user
* add eos tests, fix ios tests
* fixed password check
* refactor iosxr_user password
* fixed password arg for nxos
* [WIP] fix vyos_user password
* fix vyos tests
* update docs for net_user
* fix typo
* fix eos tests
* add warning when attempting to use password arg
* fix sanity/unit tests
* fix eos unit tests
* fix vyos_user aggregate
* fix typo in eos documentation string
* re add configured_password to vyos tests after rebase
2017-08-17 19:06:44 +05:30
Trishna Guha
93bbcd8a32
vyos_user fix idempotent ( #26289 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
2017-06-30 19:44:08 +05:30
Trishna Guha
34eca3816d
fix vyos_user configuration ( #26166 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
2017-06-28 12:13:27 +05:30
Trishna Guha
b3c22a96bd
Add vyos_user implementation module ( #25677 )
...
* Add vyos_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Integration test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Make state absent work
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Unit test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Standardize user names
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
* Add role as alias to level
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com >
2017-06-15 22:06:18 +05:30