Nathaniel Case
82dfa542c2
Replace bogus (but routeable) ip addresses with RFC 5737 example addresses ( #40554 )
...
* Remove 1.1.1.1 from *_config tests
* remove from *_smoke and *_system
* Miscellaneous other tests
* Remove from module documentation as well
* Remove from unit tests as well
* Remove accidental duplication from rebase
2018-05-30 13:03:20 -04:00
Trishna Guha
3fd9c46828
fix nxos_system test ( #40643 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-05-24 12:00:04 +05:30
Trishna Guha
8b317e77c2
fix nxos_system test ( #40599 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-05-23 17:19:50 +05:30
saichint
97070c9688
fix nxos_system issues ( #40347 )
2018-05-22 14:19:34 +05:30
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
Trishna Guha
eb7f4460c8
Set hostname to 'switch' on nxos_system ( #36373 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-02-19 10:57:16 +05:30
Trishna Guha
a5654bd63c
nxos_system test fix inventory_hostname_short ( #36359 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-02-18 10:32:44 +05:30
Mike Wiebe
5b5d24631a
Fix nxos_system tests ( #36201 )
...
* Fix nxos_system tests
* Add debug connection plugin info
* Move sanity test under common
2018-02-17 10:14:50 +05:30
Trishna Guha
a727930f07
Remove deprecated params from module argspec nxos modules ( #34911 )
...
* Remove deprecated param from module argspec nxos modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_vrrp syntaxerror
* Add choices for version _nxos_ip_interface
* remove check_args function
* remove include_defaults
2018-01-16 18:23:58 +05:30
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
c5d0b15160
Fixes nxos_l2_interface tests ( #34514 )
...
* Update nxos tests that got missed in the first pass
* Add setup for setting interfaces to layer2
2018-01-05 17:01:45 -05:00
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
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
Trishna Guha
5b1c91bf19
nxos_system parse name_servers fix ( #29944 )
...
* nxos_system parse name_servers fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_system tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-12 13:25:01 +05:30
Ricardo Carrillo Cruz
2304706bd3
Set hostname to 'switch' on nxos_system teardown ( #29126 )
...
On setup we set it to 'switch', so teardown should be 'switch'.
Also, using inventory_hostname breaks the test, since in our CI
it's a long UUID string, which exceeds the 32 chars maximum for setting
a hostname on NXOS.
2017-09-08 12:09:44 +02:00
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
Nathaniel Case
56a0b988a9
nxos integration fix part 1 ( #27069 )
...
* Assorted Python 3 fixes
* Fix `testcase` definition in integration tests
* Fix nxos_acl_interface
* clean up nxapi after nxos_nxapi
2017-07-19 14:00:05 -04:00
John R Barker
e9e2d67035
Run vyos_command Network tests in Shippable ( #24514 )
...
* Run VyOS Network tests in Shippable
* net_command no longer exists
* network/ci
* Disable other network tests
* pep8 fix
* Fix PEP 8 issue.
2017-05-12 12:49:12 +01:00
Ricardo Carrillo Cruz
1fd58c295c
Add missing aliases files on nxos integration targets ( #23070 )
2017-03-29 13:28:43 +02:00
John R Barker
41f5648c44
Test system ( #22420 )
...
* ios_system
* tests for ios_system
* tests for *_system
* working ios_system on cli
* Typo
* Loopback10 (single word, upeprcase)
* Revert docs changes
* Working iosxr_system tests
* eos, not nxos
* nxos_system
2017-03-08 12:21:45 -07:00