summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2025-06-09T7320: Fixed compatibility with Paramiko by removing all "null" bytes. (#409)Ruben van Dijk
Fixes issue found in this comment: https://github.com/vyos/vyos.vyos/pull/407#issuecomment-2774775677 Co-authored-by: omnom62 <75066712+omnom62@users.noreply.github.com>
2025-05-23T7391 domain search fix for 1.4+ (#418)omnom62
* t7391 init * sanity * vyos_system unit test * added vyos_system v14 test cases * vyos_system integration tests fix * changelog * domain search integration test * Update plugins/modules/vyos_system.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-23Integration tests FDR (#416)omnom62
* clean-up for strreamlines e2e integration tests * 1.4+ fix for snmp_server * changes to integratio tests * changelog fix * fix ampty json on vyos.py get_config * fix vyos get_config * quick fix for teardwon in vyos_system test * Update plugins/module_utils/network/vyos/vyos.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * copilot recommendations incorporated * remove copilot mess --------- Co-authored-by: John Doe <johndoe@email.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-16T6883 route-map extras support (#402)omnom62
* t6883 as_prepend_path fix * chaneglog * draft for rm community handling * rm updates * unit and integration tests for route maps * rm unit tests fixed * 1.4+ rm integration tests draft * rm set_community parser * large-community 1.4+ * unit tests fix for rm * extcommunity config * pre-commit * cleanup * RM bandwidth clauses * fixing parsers index for 1.3 RM * updated dic * fix unit tests * unit tests for RM * RM unit tests * dict literal for reserved keywords in unit tests * set_src ipv6 replaced unit test * unit test case for RM call * RM action type unit tests * rm match protocol code and unit test * doc update * set_table RM * set_table RM unit test * unit tests refactor * copilot recommendations
2025-05-08T7259 get_config() fix (#404)omnom62
* T7259 get_config() fix * fix get_config calls * vyos_config match=none integration test case * get_config() update
2025-05-08T7162: interface preflight (#397)Gaige B Paulsen
* T7162: interface preflight * fix: update with changes from PR 396 * fix: re-run pre-commit for missed updates * fix: typo
2025-04-24T7260 Remove last firewall group member. (#403)Ruben van Dijk
Co-authored-by: omnom62 <75066712+omnom62@users.noreply.github.com>
2025-04-24T7236 firewall_rules Fix compare amount of firewall rulesets. (#401)Ruben van Dijk
Co-authored-by: omnom62 <75066712+omnom62@users.noreply.github.com>
2025-04-03Firewall_rules diff mode support (#407)omnom62
* fw_rules diff init * comment support * sanity fix * remove redundant * integration tests for fw_rules diff mode * 1.3- integration tests for firewall_rule diff * 1.4+ long string linter fix * 1.3- long string linter fix * long str rework * typo * Remove commented-out diff block in YAML file removed comments --------- Co-authored-by: Daniil Baturin <daniil@baturin.org>
2025-04-02T7284: Allow deletion of firewall description (#406)Ruben van Dijk
* T7284 (Delete firewall description not possible) Added failing tests. * T7284 (Delete firewall description not possible) Functional code. * T7284 (Delete firewall description not possible) Fixed pep8. * T7284 (Delete firewall description not possible) Added changelog. * T7284 (Delete firewall description not possible) Fixed changelog.
2025-04-02T7012 OSPFv2 integration tests fixes (#395)omnom62
* init for ospfv2 * ospfv2 rtt and merge and merge_update tests fixed * ospfv2 integration test partial fix * ospfv2 integration tests new structure and 1.4+ fixes * ospfv2 1.3- unit tests * ospfv2 changelog * Added unit tests suite for 1.4+ and vyos_ospfv2 * fixed some netsted dict, added pasive-interface default, added passive-interface exclude for 1.4+ * passive-interface-exclude support for 1.4+ * fix remove func for passive-interface-exclude in 1.4+ ospfv2 * parsed.yaml update * leftovers removed * prepare_vyous_tests.yaml to use network_cli and fail fast * ospfv2 integration tests pre-requisite scripts * reverted prepare_vyos_tests script * facts regex corrected * reworked facts regex --------- Co-authored-by: Daniil Baturin <daniil@baturin.org>
2025-04-02T6831 OSPF VIF (#400)omnom62
* t6831_ospf_vif init * ospf_vif 1.3 provisioning workflow * changelog * ospf-interface unit tests fix * parser tests * ospf vif parsers updated * added vif unt test cases for ospf_interfaces * ospf vif integration tests * fixing eth names and utils func * ospf vif prep/demolih updates * added new vif test cases
2025-03-03T6829 (area interfaces in OSPFv3 1.3-1.5) re-init (#399)omnom62
* T6829 re-init * re-init T6829 ospfv3 area interface for 1.3- * changelog * changelog fix * Doc is updated * adding 1.4+ support * ospfv3 area interfaces for 1.4+ * fixed ospfv3 facts and added area interface unit test for 1.4 * ospfv3 clean-up * doc updates
2025-03-03T6834 static_route module to support interface_route (#398)omnom62
* t6834 init * facts fixes, WIP * T6834 - facts updates * static_routes 1.3- config, facts, args and sanit and unit tests * changelog * changelog updates * static_routes 1.4+ * static_routes v1.4 unit tests * comment removed
2025-03-02T7012 ospf_interfaces integration tests (#387)omnom62
* T7012 init strucuture for ospf_interfaces integration tests * ospf_interfaces unit and integration tests fixes for 1.3- * fixes to v1.4 ospf_interfaces parsers * T7012 integration tests and 1.4+ support for ospf_interfaces
2025-02-13T7002 fw global integration fix (#379)omnom62
* T7002 fw_global integration tests fix init * adding 1.3 structure * v1.3- integration tests for fw_global * fixed integration tests for 1.3 and fw_global * D.R.Y. for firewall_global integration tests * changelog * config-trap is fixed for 1.4 * fw_global log mod fixed * firewall_gobal 1.4 integration and unit tests fixes * firewall_gobal unit tests fix * T7002 firewall_global integration tests fixed * clean-up work things * some updates from PR review * populate_commands for fw_global * D.R.Y fw_global integration tests * linter fw_global * linter * fragments for T7002 updated * linter
2025-02-12T7153: remove logging module (#393)Gaige B Paulsen
2025-02-07T7010: fix: integration tests add unit tests (#386)Gaige B Paulsen
fix: integration tests add unit tests
2025-02-07T7011: fix: lldp global integration (#385)Gaige B Paulsen
* T7011: fix: lldp global integration * T7011: Fix lldp interfaces integration
2025-01-31T6833 firewall_rules limit processing fixed (#382)omnom62
2025-01-27T7083 p2p removed (#378)omnom62
* T7083 p2p removed
2025-01-27T7006: update to fix interface tests (#374)Gaige B Paulsen
* T7008: update to fix interface tests * T7006: fix: tests for interfaces * T7006: further work on interfaces * test: attempt to fix codecov on branch * test: unwind cli_config loops for 1.4 * fix: vif handling in replace,override,delete * fix: vif handling and docs
2025-01-25T6817 & T6825 & T7004 updates - fw_rules override and replaced fixes (#368)omnom62
* T6817 updates * updates / additions to unit tests and code for fw_rules (t6817) * code and use cases for override fw_rules * ovr idem unit test for fw rules v14 in WIP * Fixed replace add_rule func to remove unmatching confug - t6825 * first cut of unit tests for t6825 and t6817 - dfaft * Fixed replaced unit tests and code for inbound/outbound interface attributes * use network_cli's remove_empties * fixed disabled=True and a few unit tests in v1.3 * add_log func for firewall_rules updated * firewall_rules log attribute processing for v1.4 and idemp * + In overriden : - Added func to compare r_sets - Added code to isolate r_set changes to only targeted - Fixed parsers for packet_length_exclude - started to troubleshoot filter processing * completed fixes and unit tests for firewall_rules as in T6817 and T6825 * T7004 integration tests init fix * 'state' attrib processing fix * deleted and merged integration tests fixed for 1.3- and 1.4+ * fixed deleted, parsed, replaced integration tests for 1.3- and 1.4+ * fixed _remove_config, merged integration tests * added comments to unit tests * more v1.3- unit tests moved to 1.4+ unit test suite * 1.3/1.4 unit test suite synced * overridden integration test fixed * fixed replaced idempotency * moved data to vars (integration tests) * updated parsed (integration tests) * D.R.Y. for integration tests for firewall_rules plugin * vanilla data set for integration tests to support 1.5
2025-01-04T6987: update vyos_logging_global for 1.4+ (#370)Gaige B Paulsen
* T68987: update for 1.4+ * chore: remove redundant vars * tests: fix vyos_facts integration tests * tests: fix integration tests for vyos_config * fix: restore documentation samples * chore: update readme
2025-01-02T6988: fix: remove role/level, fix tests (#371)Gaige B Paulsen
* T6988: fix: remove role/level, fix tests * feature: add support for SSH keys * tests: add integration tests for public_keys * feat: add encrypted password support * tests: add unit for encrypted * tests: fix wrapping in YAML * tests: fix smoke tests
2024-12-30T6982: update SNMP module for 1.3+ (#369)Gaige B Paulsen
* fix: get SNMP integration tests running * fix: remove no_log from docs because it fails sanity * tests: fix unit tests and no_log args * tests: fix error in hostname integration test
2024-12-20VyOS v1.4 support for BGP (T6892 & T6888 & T6822) (#367)omnom62
* VyOS v1.4 support for BGP (T6892) * WIP: chnages to scanners and facts for BGP on v1.4 * scanners and facts modification to support as_numberless commands * remove optional regex groups * VyOS v1.4 BGP system-as functionality * bgp_af linter * bgp_global mods and testing * bgp_global v.1.4 support * linter fixes * bgp_global and bgp_af fixed 1.3 test cases * unit tests for bgp modules for both versions * obsolete stranzas removed from bgp_global for both versions * some typos removed * bgp_global rst updates * t6829 related draft changes * Draft changes to unit tests fot original set and t6888 updates * changelog * D.R.Y for bgp_global and testmodule names * linter fixes * fixtures for bgp_af options testts * stranzas options processing * T6888 bgp option test func and cases * clean-up draft code and update to rm_templates * v14 system-as change supported in conf and tests * T6822 BGP global passive bugfix * clean-up * T6829: update integration tests * T6829: fix integration tests for global * T6829: fix integration tests for bgp_global * T6829: fix for 1.4 AF integration tests * T6829: fix unit tests after removing obsolete items * T6829: fix sanity test failures * T6829: fix documentation * Lint and comments are addressed * rtt.yaml and fix to integration tests * updated fragments for bgp_global * lint fixes --------- Co-authored-by: Gaige B. Paulsen <gaige@cluetrust.com>
2024-12-17T6894: Fix failing NTP network-integration Tests (#366)Gaige B Paulsen
* tests: ntp: parsed * tests: ntp tests working with 1.3 * T6894 : test: update 1.4 tests for compatibility * fix: path replacement, docs, unit tests for 1.3-1.5 * T6894: fix: 1.4+ requires valid hostnames * fix: update tests to handle deletion * T6894: separate changelog * fix: final test fixes
2024-11-25T6910: fix documentation and argspecs are out of alignment (#358)Gaige B Paulsen
chore: update firewall_rules from module fix: update firewall_global from resource model chore: update to sync with resource module chore: update README fix: comment and formatting fix: formatting issues fix: missing imports fix: import and metadata violations fix: interface fixes fix: move the arg spec comment fix: update interface docs fix: remove comments for non-RM versions * T6910: fix documentation and argspecs * T6910: docs: update per review * T6910: docs: fix missing pipe
2024-11-19T6832: VyOS v1.4+ chronyd conf support (#357)omnom62
* VyOS v1.4+ chronyd conf support * template typo fix * Making replace tool more robust by distinctive placeholder * allow-clients workaround * test for ntp_global and v1.4 * sanity and change log * sanity fix * updates to tests (dynamic >.pool) and docs * doc update 'system' > 'service'
2024-11-18Add feature for bonding/vlan interface in the firewall_interfaces (#246)maxime
* - Add feature for bonding interface in the firewall_interfaces - Add feature for vlan interface in the firewall_interfaces * fix a bug when invoking replaced in the module firewall_rules. * - Add feature for bonding interface in the firewall_interfaces - Add feature for vlan interface in the firewall_interfaces * test: add tests * fix: support for interface types * docs: fixed for 1.4 deprecation --------- Co-authored-by: Maxime.L <maxime@nfrance.com> Co-authored-by: Gaige B. Paulsen <gaige@cluetrust.com> Co-authored-by: Gaige B Paulsen <gaige@cluetrust.net>
2024-11-18T6882: fix: firewall global-options (#359)Gaige B Paulsen
* T6882: fix: firewall global-options Updated a couple of RST files due to pre-commit * T6882: chore: update changelog * T6882: chore: update changelog * T6882: test: update tests to cover change
2024-11-17Fix change detection for recent Vyos versions (#355)Jiahao Li
* Fix change detection for recent Vyos versions * Fix PEP8 styling * Add changelogs fragment
2024-11-10T6815:Fix compatibility with 1.3-1.5 of VyOS (Step 1) (#352)Gaige B Paulsen
* omnibus update for 1.3-1.4 (with some support for 1.5) (see contents in release fragments) --------- Co-authored-by: Om Nom <omnom62@outlook.com>
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-06-12Add deprecation notice in README (#347)Nilashish Chakraborty
* Add deprecation notice in README Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> * Remove tox.ini Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-19Facts nw interfaces (#318)Wieger Bontekoe
* Update l3_interfaces.py Fix for issue: https://github.com/ansible-collections/vyos.vyos/issues/295 * Added Changelog Fragment * Add support for Tunnel, Bridge and Dummy * [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> Co-authored-by: Kate Case <kcase@redhat.com>
2023-05-01Update l3_interfaces.py - Fix for issue 295 (#314)Wieger Bontekoe
* Update l3_interfaces.py Fix for issue: https://github.com/ansible-collections/vyos.vyos/issues/295 --------- Co-authored-by: Kate Case <this.is@katherineca.se>
2023-04-06firewall_interfaces docs fix (#311)Kate Case
2023-03-28BGP Password fix (#305)rfranks-securenet
* BGP Password fix Updated command to use neighbor.password rather than neighbor.address * Added changelog fragment
2023-03-28vyos_interfaces docs updated (#303)Sagar Paul
* vyos docs interfaces * [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> Co-authored-by: Kate Case <this.is@katherineca.se>
2023-02-08[pre-commit.ci] pre-commit autoupdate (#291)pre-commit-ci[bot]
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) * [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>
2023-02-07[command] run at least once when retries is 0 (#292)Kate Case
* [command] run at least once when retries is 0 * [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>
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>
2023-01-10Redirect ResourceModule to new location (#286)Kate Case
* Redirect ResourceModule to new location * Add changelog * Move NetworkTemplate too
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-09-07Equuleus facts (#271)bk2zsto
* support 1.3 version output Co-authored-by: Kate Case <this.is@katherineca.se>
2022-08-30Use FQCN for modules in documentation (#267)Kate Case
* Use FQCN for modules in documentation Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
2022-05-23Add support for icmpv6 type-name in firewall_rules (#258)GomathiselviS
Add support for icmpv6 type-name in firewall_rules Signed-off-by: GomathiselviS gomathiselvi@gmail.com SUMMARY Fixes #257 ISSUE TYPE Feature Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Sagar Paul <sagpaul@redhat.com>
2022-04-25updated references of base plugins to netcommon (#232)Sagar Paul
updated references of base plugins to netcommon SUMMARY Minimum required ansible.netcommon version is 2.5.1 Updated base plugin references to ansible.netcommon ISSUE TYPE Feature Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Nathaniel Case <this.is@nathanielca.se>