Paul Belanger
d39870a693
Remove unused code in nxos_user ( #65529 )
...
There is no longer the need to warn on password, it is not supported any
more.
Update nxos_user tests not to purge current SSH user for nxos, otherwise
we loose access for testing.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-12-10 19:01:59 +05:30
Chris Van Heuveln
591e0ffb69
nxos_user: auth.yaml test: stronger test password needed ( #53533 )
...
Basic passwords are rejected by the nxos device unless `no password strength-check`
is configured. This change just makes the password meet the minimum strength checks.
2019-03-11 18:06:25 +05:30
Nathaniel Case
a197125954
Nxos restore provider to nxapi tests ( #41818 )
...
* Quick and dirty sed to add provider
* Manually verify the rest of the cases
* Add missing provider
2018-07-02 09:43:51 -04:00
Nathaniel Case
02135d5278
Nxos test reorganize ( #41089 )
...
* Remove local from most cli tests
* Readd local tests to nxapi until httpapi passes
2018-06-05 07:37:24 -04:00
Nathaniel Case
483df13626
Fixing issues with httpapi ( #40388 )
...
* I seem to have forgotten the back half of tests
* Set http timeout from persistent_command_timeout
* Tweak URL generation and provide URL on error
* Push var_options to connection process
* Don't wait forever if coming from persistent
* Don't send the entire contents of variables to ansible-connection
2018-05-21 15:58:35 +01:00
Nathaniel Case
e9d7fa0418
HTTP(S) API connection plugin ( #39224 )
...
* HTTPAPI connection
* Punt run_commands to cliconf or httpapi
* Fake enable_mode on eapi
* Pull changes to nxos
* Move load_config to edit_config for future-preparedness
* Don't fail on lldp disabled
* Re-enable check_rc on nxos' run_commands
* Reorganize nxos httpapi plugin for compatibility
* draft docs for connection: httpapi
* restores docs for connection:local for eapi
* Add _remote_is_local to httpapi
2018-05-17 18:47:15 -04:00
saichint
63da50e1d8
Integration Tests only: nxos_user ( #37852 )
...
* add new integration file to nxos_user
* fix shippable error
* change nxapi to connection
* review comments
2018-03-27 01:41:39 -04:00
Trishna Guha
48ecbb8fb9
fix connection gets overridden by network_cli for transport nxapi,eapi net_* modules ( #34778 )
...
* fix connection gets overridden by network_cli for transport nxapi,eapi net_* modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Define functions in individual action plugins to avoid code duplication
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add net_* eos tests for eapi
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update plugin code
2018-01-15 13:16:41 +05:30
Ganesh Nalawade
c53dcd1982
Cleanup net integration test case for network modules ( #34684 )
...
* Remove platform agnostic net_* test cases.
* Add minimal platform agnostic test cases to individual
platform-specific test cases
2018-01-10 21:28:49 +05:30
Nathaniel Case
c371ed8d30
nxos tests to use network_cli ( #34474 )
...
* Fix over-byte
* Fix nxos_l2_interface docs
* Update connections for tasks
* Add default ssh port
* Only report provider when using connection=local
* Send empty provider when connection=network_cli
* Fix find tasks
2018-01-05 12:39:04 -05:00
Trishna Guha
c2b4fd7f1e
Convert non-DI module to DI nxos_user ( #33770 )
2017-12-11 20:55:05 +05:30
Nathaniel Case
d07d9390d7
Stop toggling nxapi ( #28532 )
...
* Stop toggling nxapi all the time
* Update failed_modules
* Restore nxapi state at each toggle
2017-09-28 15:09:30 -04:00
Ricardo Carrillo Cruz
b30cd60829
Fix nxos_user tests ( #30048 )
...
On our CI we use SSH port 8022, so parameterized the test passing
-p {{ ansible_ssh_port }}.
Also, force user/pass auth.
2017-09-12 17:01:50 +02:00
David Newswanger
5dfd82e59a
re-add auth tests with ansible_ssh_host ( #28400 )
2017-08-25 11:25:15 -04:00
Ricardo Carrillo Cruz
d3ecf3efb7
Remove user auth tests ( #28364 )
...
They are breaking CI, as they are SSHing with a non IP address.
Removing for now, we can think of other strategies for this later.
2017-08-17 22:10:05 +02: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
David Newswanger
f2c34d51f2
nxos: merge nxapi/cli tests - system, user, vlan, vrf ( #28241 )
...
* refactor nxos_system
* refactor nxos_user
* refactor nxos_vlan
* refactor nxos_vrf
2017-08-17 13:48:00 +05:30
Trishna Guha
9304d6cb01
fix nxos_user integration test ( #27619 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-02 10:28:12 +05:30
Nathaniel Case
13948b6d72
More nxos integration fixes ( #27507 )
...
* nxos does not have `authorize`
* Enable nxos_banner nxapi tests
2017-07-31 14:13:32 -04:00
David Newswanger
8643e9cb34
changed collection arg to argregate on 2.4 network modules ( #26649 )
...
* changed collection arg to argregate on 2.4 network modules
* replace users with aggregate in eos_user, junos_user, nxos_user
* added version_added to places where we replaced users with aggregate in the docs
* fix ios_static_route test
* update tests to reference aggregate instead of collection/users
2017-07-26 10:09:17 -04:00
Trishna Guha
36082e32b4
Add integration test for nxos_user ( #25464 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-08 13:32:49 +05:30