Nathaniel Case
02135d5278
Nxos test reorganize ( #41089 )
...
* Remove local from most cli tests
* Readd local tests to nxapi until httpapi passes
6 years ago
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
6 years ago
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
6 years ago
saichint
63da50e1d8
Integration Tests only: nxos_user ( #37852 )
...
* add new integration file to nxos_user
* fix shippable error
* change nxapi to connection
* review comments
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Trishna Guha
c2b4fd7f1e
Convert non-DI module to DI nxos_user ( #33770 )
7 years ago
Nathaniel Case
d07d9390d7
Stop toggling nxapi ( #28532 )
...
* Stop toggling nxapi all the time
* Update failed_modules
* Restore nxapi state at each toggle
7 years ago
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.
7 years ago
David Newswanger
5dfd82e59a
re-add auth tests with ansible_ssh_host ( #28400 )
7 years ago
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.
7 years ago
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
7 years ago
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
7 years ago
Trishna Guha
9304d6cb01
fix nxos_user integration test ( #27619 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
7 years ago
Nathaniel Case
13948b6d72
More nxos integration fixes ( #27507 )
...
* nxos does not have `authorize`
* Enable nxos_banner nxapi tests
7 years ago
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
7 years ago
Trishna Guha
36082e32b4
Add integration test for nxos_user ( #25464 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
7 years ago