Nathaniel Case
9702893729
Remove deprecated options from modules ( #50246 )
...
* Remove deprecated options from modules
* Update tests
* Add porting guide notes
2019-01-22 09:18:26 -05:00
Deepak Agrawal
81214409cf
asa_config/ios_config: diff strict does not work with multiple parents ( #45150 )
...
* multiple parents issues in diff
* Integration tests for missing functionality
* add testcase for other platforms. vnxos does not support qos so need to find a command chain on v-nxos for multiple parets. junos uses on-device diff so should not need this.
* Fix for issue when any candidate parent did not meet the exact line in running-config
* DCI runs eos_config without become flag
2018-09-12 07:50:24 +05:30
Ganesh Nalawade
a3c137c1ab
Fix diff_ignore_lines option issue for candidate configuration ( #45201 )
...
* Fix diff_ignore_lines option issue for candidate configuration
* diff_ignore_lines option is to handle the running config fetch from
remote host and ignore the lines that are auto updated eg: commit time and date
* This option should not be used while processing candidate (input) configuration
* Fix review comment
2018-09-06 23:54:56 +05:30
Trishna Guha
a8c24a5d5e
Add cli_config module ( #42413 )
...
* cli_config module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* rename diff and replace
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add nxos changes
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove severity
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add module diff
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add iosxr test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address diff review
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add junos tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* vyos cliconf diff fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-14 13:52:15 +05:30
Nathaniel Case
381263ad99
ios test cleanup pt 2 ( #42570 )
...
* Remove local from ios_config to avoid needing to add provider
* ios_smoke should test all with local to pick up the slack
2018-07-10 09:03:04 -04:00
Nathaniel Case
399d13d593
Update ios tests ( #42509 )
...
* 192.168.0.1/24 conflicts with management IP
* Images don't have the hostnames we expect
2018-07-09 10:12:48 -04:00
Trishna Guha
8ab0d654f3
don't retrieve config in running_config when config is provided for diff ( #41400 )
...
* don't retrieve config in running_config when config is provided for diff
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix for eos, nxos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-06-14 18:02:19 +05:30
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
David Newswanger
a7c2f6d092
re enabled tests that were fixed in ansible/ansible-modules-core#5008 ( #36257 )
2018-02-16 08:10:14 -05:00
Nathaniel Case
f3337e1fba
ios test changes ( #35510 )
...
* Fix over-byte
* Update ios tests to call `provider`
To continue to support testing `connection: local`
* Fix command dict handling in ios_user
* Clean up unit tests, too
2018-02-02 09:50:15 -05:00
Nathaniel Case
db44602629
Remove vars from include for ios netowrk_cli tests ( #34703 )
...
These should be specified in inventory for 2.5+
2018-01-10 12:59:53 -05:00
Nathaniel Case
5f215337c9
Swap how become is specified for ios integration tests ( #34107 )
2017-12-20 14:05:16 -05:00
Nathaniel Case
cb1b705218
ios integration tests to network_cli ( #33920 )
...
* Preliminary steps
* Fix Python3 network_cli ios
* Add connection to debug strings
* Fix ios confirm prompt by way of optional newline
Also update ios_user delete tests
2017-12-20 09:03:29 -05:00
Ganesh Nalawade
ba0aade8f4
Fix ios_config integration test failures ( #32959 )
2017-11-16 12:37:47 +05:30
Ganesh Nalawade
37b0537279
Fix ios_config file prompt issue ( #32744 )
...
Fixes #23263
Add a carriage return (\r) at end on copy config
command which results in prompt on cli terminal
2017-11-09 22:43:49 +05:30
Ganesh Nalawade
26583adb58
Fix wrong prompt issue for network modules ( #32426 )
...
* Fix wrong prompt issue for network moodules
Fixes #31161
Fixes #32416
* Store the device prompt in case of error
from remote device
* Check for prompt value in ios action plugin
* Add integration test
2017-11-01 19:38:19 +05:30
Ganesh Nalawade
65ab37cbd3
Remove provider from ios integration test ( #31037 )
...
* Remove provider from each task as it is not required.
* Add `authorize: yes` whereever required
2017-09-28 15:23:52 +05:30
Ricardo Carrillo Cruz
dbe9df1289
Add CLI provider with authorize yes to ios tests ( #30312 )
...
We are getting failures to do lack of elevated privileges.
2017-09-14 00:00:58 +02: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
Matt Clay
d87ee022bb
Enable more ios
tests on Shippable.
2017-01-20 13:26:59 -08:00
John R Barker
a12033a6e0
integration/targets/ios_* work to support IOS ( #20414 )
...
* WIP
* Don't set connection: network_cli in the playbook
* ios_config tests now passing
* Create test loopback device
* delete
* ios_* pass (apart from ios_facts)
* Remove provider lines
2017-01-20 20:18:12 +00:00
John R Barker
fb3bef7f46
Use inventory_hostname_short ( #20054 )
...
When using AWS we have to use the full domain name in the inventory file, which
we rather than the short name. This change avoids that ending up being
set in the tests.
2017-01-09 17:21:04 +00:00
Adrien Vergé
0e834fc9e4
Fix cosmetic problems in YAML source
...
This change corrects problems reported by the `yamllint` linter.
Since key duplication problems were removed in 4d48711
, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
2016-11-11 14:50:57 -08:00
John R Barker
e0cc7b3415
Migrate Network Tests into ansible/ansible ( #18233 )
...
* Docs Networking tests
* Copy networking tests from test-network-modules
* Networking transport settings - group_vars
* Network playbooks
* Debug should be off by default
* Update nxos.yaml
* Remove items from top level
* Use dependencies, not pre-tasks
* Remove trailing blank lines
* Remove backup files
* newlines
2016-10-28 19:50:29 +01:00