Commit Graph

28 Commits (eeec23e50669a9f4c714cf492e5d558017d90d7d)

Author SHA1 Message Date
Vinay M ed6555526d
Fixed the netaddr error msg for clarity (#244)
* Fixed the netaddr error msg for clarity

* added changelog

* Used missing_required_lib

---------

Co-authored-by: Kate Case <kcase@redhat.com>
2023-04-05 18:54:10 +05:30
Kate Case 9668f26a26
Update pre-commit config (#245)
* Update pre-commit config
2023-03-29 18:18:57 -04:00
Ashwini Mhatre fca1229097
Added support to disable xml declartion with full_document flag (#237) 2022-12-28 19:47:34 +05:30
Federico Chiacchiaretta 0aee02eb97
Welcome to support for indentation with spaces in to_xml plugin (#192)
* Welcome to support for indentation with spaces in to_xml plugin

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Changelog fragment

* Unit tests for:

* Indent with spaces and explicit indent_width (4)
* Invalid indent

I also slightly modified VALID_DATA to produce output with indentation,
so existing test_valid_data and OUTPUT has been updated accordingly.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix changelog section name to minor_changes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-04 14:13:13 -04:00
Kate Case 6f0c83be4d
Add PersistentConnectionBase (#213) 2022-11-03 16:00:17 +00:00
Kate Case 462e4e7f71
Clean up test failures (#216)
* Fix arguments-renamed

* Handle changed behavior in 2.15
2022-10-13 11:01:42 -04:00
Bradley A. Thornton a0622d06ce
Add trailing comma support to pre-commit (#190) 2022-06-01 18:05:10 +05:30
Bradley A. Thornton 2541cb3f6a
Add isort, increase black line length (#189) 2022-05-26 13:18:57 -04:00
KB-perByte ca31a4e474
update docs 2022-04-11 16:13:46 +05:30
KB-perByte 7801c67a5c
update err code 2022-04-11 14:57:00 +05:30
KB-perByte 1ce17fab54
update tests 2022-04-09 11:28:35 +05:30
KB-perByte 595c9ee38f
review pt 1 2022-04-08 23:31:45 +05:30
KB-perByte ae4bfa421c
remove strings 2022-04-06 11:20:16 +05:30
KB-perByte 1b34ebd896
tox fixed and docstrings 2022-04-04 21:06:58 +05:30
KB-perByte 0cbb257293
update 1 2022-04-04 20:56:07 +05:30
KB-perByte 141c175cff
sanity fixex updated 2022-04-04 17:58:09 +05:30
KB-perByte 66bd592df4
init code 2022-04-04 17:55:01 +05:30
Ashwini Mhatre 0716010fe3
Fix bugs in Ipaddr filters (#149)
Fix bugs in Ipaddr filters

SUMMARY

ipaddr - Fix input validation issues in ipaddr,ipv4,ipv6,ipwrap filters.
ipaddr - Add valid network for link-local
fixes: #148
fixes: ansible-collections/ansible.netcommon#375
fixes: ansible-collections/ansible.netcommon#350

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: Sagar Paul <sagpaul@redhat.com>
2022-03-04 11:43:59 +00:00
Ashwini Mhatre 9f510450f8
Improve ut coverage (#145)
Improve ut coverage

SUMMARY

Add more testcases for ipaddr filter

ISSUE TYPE

COMPONENT NAME

ipaddr.py
ADDITIONAL INFORMATION

Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Reviewed-by: Sagar Paul <sagpaul@redhat.com>
2022-03-01 05:06:47 +00:00
Sagar Paul 624bc76e26
Recursive filter plugins remove_keys | replace_keys | keep_keys (#110)
Recursive filter plugins remove_keys | replace_keys | keep_keys

SUMMARY

New plugins

remove_keys
replace_keys
keep_keys


ISSUE TYPE


New Module Pull Request

COMPONENT NAME


remove_keys
replace_keys
keep_keys

ADDITIONAL INFORMATION

Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: None <None>
2022-01-27 06:52:38 +00:00
Ashwini Mhatre ea54e97359
Add hwaddr, macaddr, slaac filter plugin (#129)
Add hwaddr, macaddr, slaac filter plugin

SUMMARY

Added hwaddr, macaddr, slaac filter plugin

ISSUE TYPE

New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Reviewed-by: Sagar Paul <sagpaul@redhat.com>
Reviewed-by: None <None>
2022-01-24 21:43:18 +00:00
Ashwini Mhatre 22234f2963
Add cidr_merge filter plugin (#113)
Add cidr_merge filter plugin

SUMMARY

Move ipaddr plugins from netcommon to utils:
cidr_merge filter plugin

ISSUE TYPE


New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: None <None>
2022-01-20 08:02:49 +00:00
Ashwini Mhatre 7a7ad7e811
Add Nthhost filter plugin (#128)
Add Nthhost filter plugin

SUMMARY


ISSUE TYPE


New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: None <None>
2022-01-19 19:10:50 +00:00
Ashwini Mhatre 02f2c62386
Add ipv4 plugin (#120)
Add IPV4 filter plugin

SUMMARY


ISSUE TYPE


New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: Priyam Sahoo <None>
Reviewed-by: None <None>
2022-01-17 11:41:11 +00:00
Ashwini Mhatre 7ebc8f6bd2
Bugfix: Make validate_args as generic utility function (#101)
Bugfix: Make validate_args as generic utility function

SUMMARY

fixes: #100

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: None <None>
2021-09-24 07:29:52 +00:00
Priyam Sahoo c09bbacdbc
Added 'in_any_network', 'in_network', 'in_one_network' test plugins (#66)
Added 'in_any_network', 'in_network', 'in_one_network' test plugins

Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-03 14:22:35 +00:00
Ashwini Mhatre 43e77543d9
Add to_xml and from_xml filter plugin (#56)
Add to_xml and from_xml filter plugin

Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-09 13:20:17 +00:00
Ganesh Nalawade 8aa8916e01
Move sub plugins under plugins/sub_plugins directory and common code in plugin_utils (#33)
Move sub plugins under plugins/sub_plugins directory and common code in plugin_utils

Reviewed-by: https://github.com/apps/ansible-zuul
2021-01-29 06:05:24 +00:00