summaryrefslogtreecommitdiff
path: root/tests/integration
AgeCommit message (Collapse)Author
2024-06-25`vyos.vyos` is no longer deprecated! 🎉 (#348)Nilashish Chakraborty
* Remove deprecation notice for vyos.vyos Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> * Add changelog Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> * fix review comments Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> * chore: auto fixes from pre-commit.com hooks --------- Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-05Avoid unsafe conditions for integration tests (#340)Rahmanim Benny
* Avoid unsafe conditions for integration tests * Remove .idea/ folder * remove another jinja templating expression from asserts condition * remove shortname jinja templating expression from asserts condition * Update changelog * changelog updates
2023-12-06Fix prefix-lists Integration tests (#338)Vinay M
* Fix prefix-lists Integration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove autoversion * fix galaxy.yml * sanity fix * sanity ignore * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix ignore file --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-09Fix integration test connection var (#325)Kate Case
* Fix integration test connection var * Fix straggler
2023-05-03Add ansible-lint (#322)Kate Case
* Add ansible-lint * Fix some tasks * Ignore ignore_errors * Stop prettier and yamllint from fighting
2023-03-28Delete bond2 interface when clearing config (#307)Kate Case
2023-03-28Always clear config before setting base config in tests. (#306)Kate Case
* Always clear config before setting base config in tests. * Clear bond before removing
2023-01-25Add prettier and isort to pre-commit. (#270)Kate Case
* Add prettier and isort to pre-commit. * Bump line-length to 100 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-13Remove deprecated modules and provider (#277)Kate Case
* Remove deprecated modules and provider * Remove tests for removed modules * Remove references to vyos_argument_spec
2022-10-12Remove tests for net_* modules (#278)Kate Case
2022-09-02Fix `pre-commit` Issues (#223)Shawn Wilsher
* Fix `pre-commit` Issues This change fixes `.pre-commit-config.yaml` so that `main` no longer has errors on it. To accomplish that, two things had to be done: * Update the version of `black` that `pre-commit` uses to match what `tox` uses. * Run `pre-commit run --all-files` and commit the results Co-authored-by: Kate Case <this.is@katherineca.se>
2022-04-25Add fqcn to ansible_connection to support stable-2.9 (#254)GomathiselviS
Add fqcn to ansible_connection to support stable-2.9 Signed-off-by: GomathiselviS gomathiselvi@gmail.com SUMMARY strip_prompt argument is supported only in netcommon network_cli . Vyos jobs on stable-2.9 is failing with the following error, as this argument is not supported ansibe/ansible. This PR sets ansible_connection to ansible.netcommon.network_cli, so that the correct module is used. 2022-04-21 21:14:54.059623 | controller | capabilities = Connection(module._socket_path).get_capabilities() 2022-04-21 21:14:54.059626 | controller | File "/tmp/ansible_vyos.vyos.vyos_config_payload_hjioy2__/ansible_vyos.vyos.vyos_config_payload.zip/ansible/module_utils/connection.py", line 190, in __rpc__ 2022-04-21 21:14:54.059629 | controller | raise ConnectionError(to_text(msg, errors='surrogate_then_replace'), code=code) 2022-04-21 21:14:54.059632 | controller | fatal: [vyos]: FAILED! => { 2022-04-21 21:14:54.059635 | controller | "changed": false, 2022-04-21 21:14:54.059638 | controller | "invocation": { 2022-04-21 21:14:54.059641 | controller | "module_args": { 2022-04-21 21:14:54.059644 | controller | "backup": false, 2022-04-21 21:14:54.059647 | controller | "backup_options": null, 2022-04-21 21:14:54.059650 | controller | "comment": "configured by vyos_config", 2022-04-21 21:14:54.059653 | controller | "config": null, 2022-04-21 21:14:54.059656 | controller | "lines": [ 2022-04-21 21:14:54.059658 | controller | "delete interfaces ethernet eth1", 2022-04-21 21:14:54.059661 | controller | "delete interfaces ethernet eth2" 2022-04-21 21:14:54.059664 | controller | ], 2022-04-21 21:14:54.059667 | controller | "match": "none", 2022-04-21 21:14:54.059670 | controller | "provider": null, 2022-04-21 21:14:54.059673 | controller | "save": false, 2022-04-21 21:14:54.059676 | controller | "src": null 2022-04-21 21:14:54.059678 | controller | } 2022-04-21 21:14:54.059682 | controller | }, 2022-04-21 21:14:54.059685 | controller | "msg": "send() got an unexpected keyword argument 'strip_prompt'" ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
2022-04-21change default subset to min (#252)GomathiselviS
vyos_facts: change default subset to min Signed-off-by: GomathiselviS gomathiselvi@gmail.com SUMMARY Fixes #231 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
2022-03-10Change preconfig hostname in integration test (#243)GomathiselviS
Change preconfig hostname in integration test SUMMARY ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: None <None>
2022-03-01Change parameter 'disabled' to 'disable' in test_vyos_firewall_rules.py (#240)GomathiselviS
Change parameter 'disabled' to 'disable' in test_vyos_firewall_rules.py SUMMARY Fixes #239 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com> Reviewed-by: Sagar Paul <sagpaul@redhat.com> Reviewed-by: GomathiselviS <None> Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com> Reviewed-by: None <None>
2022-02-17Add Vyos hostname resource module (#237)GomathiselviS
Add Vyos hostname resource module SUMMARY ISSUE TYPE New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com> Reviewed-by: None <None>
2022-02-01Vyos snmp_server Resource Module (#227)GomathiselviS
Vyos snmp_server Resource Module SUMMARY Added vyos_snmp_server resource module ISSUE TYPE New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com> Reviewed-by: Ashwini Mhatre <mashu97@gmail.com> Reviewed-by: None <None>
2021-10-02Add vyos_ntp resource module (#175)YVarshitha
Add vyos_ntp resource module SUMMARY Resource module vyos_ntp ISSUE TYPE New Module Pull Request COMPONENT NAME vyos_ntp ADDITIONAL INFORMATION Reviewed-by: GomathiselviS <None> Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com> Reviewed-by: None <None>
2021-09-20Add support for IPv6 `address_group` and `network_group` (#202)Shawn Wilsher
Add support for IPv6 `address_group` and `network_group` SUMMARY This adds support for ipv6 in network and address groups by adding an afi parameter, but defaulting it to ipv4 for backwards compatibility. Fixes #137. ISSUE TYPE Feature Pull Request COMPONENT NAME vyos_firewall_global Reviewed-by: GomathiselviS <None> Reviewed-by: Shawn Wilsher <None> Reviewed-by: None <None>
2021-09-09Allow_duplicates for prepare_vyos_tests (#212)Paul Belanger
Allow_duplicates for prepare_vyos_tests Signed-off-by: Paul Belanger pabelanger@redhat.com Reviewed-by: None <None>
2021-08-11Drop ansible_become for testing (#199)Paul Belanger
Drop ansible_become for testing We don't actually need escalated permissions to run these things. Signed-off-by: Paul Belanger pabelanger@redhat.com Reviewed-by: GomathiselviS <None> Reviewed-by: Nathaniel Case <this.is@nathanielca.se> Reviewed-by: None <None>
2021-07-24vyos logging_global resource module (#177)Sagar Paul
vyos logging_global resource module SUMMARY Logging resource module vyos_logging_global ISSUE TYPE New Module Pull Request COMPONENT NAME vyos_logging_global Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
2021-07-07fix issue in route-maps facts code when route-maps facts are empty. (#182)Ashwini Mhatre
fix issue in route-maps facts code when route-maps facts are empty. SUMMARY fixes: #181 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com>
2021-07-05VyOS Prefix Lists Resource Module Added (#178)Priyam Sahoo
VyOS Prefix Lists Resource Module Added SUMMARY PR for vyos_prefix_lists rm resolves: #99 ISSUE TYPE New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com> Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com> Reviewed-by: Priyam Sahoo <None>
2021-06-22Spelling glitch fix on doc (#168)Sagar Paul
Spelling glitch fix on doc Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-17fix route-map delete integrataion test (#162)Ashwini Mhatre
fix route-map delete integrataion test Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-11Vyos route maps (#156)Ashwini Mhatre
Vyos route maps Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-28VyOS: available_network_resources implemented in vyos_facts (#148)Rohit Thakur
VyOS: available_network_resources implemented in vyos_facts Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-22VYOS: Mask sensitive key values from module result (#151)GomathiselviS
VYOS: Mask sensitive key values from module result Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-27Add vyos_bgp_address_family resource module. (#132)GomathiselviS
Add vyos_bgp_address_family resource module. Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-26Add regex to match the 'delete' failures (#134)GomathiselviS
Add regex to match the 'delete' failures Reviewed-by: https://github.com/apps/ansible-zuul
2021-02-24Add vyos_bgp_global resource module (#125)GomathiselviS
Add vyos_bgp_global resource module Reviewed-by: https://github.com/apps/ansible-zuul
2021-02-19Add support for single_user_mode (#123)Nilashish Chakraborty
Add support for single_user_mode Reviewed-by: https://github.com/apps/ansible-zuul
2020-11-23Enable configuring new interface which is not present in the config (#102)GomathiselviS
Enable configuring new interface which is not present in the config Reviewed-by: https://github.com/apps/ansible-zuul
2020-10-31Add ospf_interfaces resource module (#96)GomathiselviS
Add ospf_interfaces resource module Reviewed-by: https://github.com/apps/ansible-zuul
2020-08-10vyos_interface : refactor testcases (#71)GomathiselviS
vyos_interface : refactor testcases Reviewed-by: https://github.com/apps/ansible-zuul
2020-07-28Make config modules work properly when module alias is used in task (#67)Nilashish Chakraborty
Make config modules work properly when module alias is used in task Reviewed-by: https://github.com/apps/ansible-zuul
2020-07-21Update tags for testing (#46)Paul Belanger
Update tags for testing Reviewed-by: https://github.com/apps/ansible-zuul
2020-07-21Avoid set_fact dynamically assigning value to a variable (#70)GomathiselviS
Avoid set_fact dynamically assigning value to a variable Reviewed-by: https://github.com/apps/ansible-zuul
2020-06-19Add basic testcase for shortname testing (#35)Ganesh Nalawade
Add basic testcase for shortname testing Reviewed-by: https://github.com/apps/ansible-zuul
2020-05-11comments ncorporatedRohit Thakur
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
2020-05-11test cases addedRohit Thakur
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
2020-05-11Merge pull request #17 from rohitthakur2590/vyos_ospfv3ansible-zuul[bot]
VyOS: OSPFv3 Resource Module Reviewed-by: https://github.com/apps/ansible-zuul
2020-05-11Merge pull request #23 from rohitthakur2590/firewall_rules_del_changesansible-zuul[bot]
[VyOS]: Firewall rules Deleted state operation updated Reviewed-by: https://github.com/apps/ansible-zuul
2020-05-11comments incorporatedRohit Thakur
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
2020-05-09Merge pull request #29 from rohitthakur2590/lldp_global_states_addedansible-zuul[bot]
[VyOS] LLDP global resource module updated with new states Reviewed-by: https://github.com/apps/ansible-zuul
2020-05-08Merge pull request #26 from rohitthakur2590/l3_interfaces_states_addedansible-zuul[bot]
[VyOS] L3 interfaces resource module updated with new states Reviewed-by: https://github.com/apps/ansible-zuul
2020-05-08Merge pull request #28 from rohitthakur2590/lldp_interfaces_states_addedansible-zuul[bot]
[VyOS] LLDP interfaces resource module updated with new states Reviewed-by: Sumit Jaiswal <sjaiswal@redhat.com> https://github.com/justjais
2020-05-08ospfv3 test cases updatedRohit Thakur
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
2020-05-08test cases updatedRohit Thakur
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>