ansible-collections / community.network

Ansible Community Network Collection
http://galaxy.ansible.com/community/network
Other
121 stars 88 forks source link

Private argument spec validation methods no longer available in Ansible Core 2.11 #229

Open samdoran opened 3 years ago

samdoran commented 3 years ago
SUMMARY

Argument spec validation has changed in Ansible Core 2.11. The following private method calls should be changed to use the public interface:

community.network/plugins/modules/network/icx/icx_static_route.py
227:            module._check_required_together(required_together, route)  # --> ansible.module_utils.common.validation.check_required_together()
234:        module._check_required_together(required_together, module.params)  # --> ansible.module_utils.common.validation.check_required_together()

community.network/plugins/modules/network/icx/icx_user.py
195:        type_checker = module._CHECK_ARGUMENT_TYPES_DISPATCHER[value_type]  # --> ansible.module_utils.common.parameters.DEFAULT_TYPE_VALIDATORS

community.network/plugins/modules/network/cnos/cnos_user.py
258:        type_checker = module._CHECK_ARGUMENT_TYPES_DISPATCHER[value_type]  # --> ansible.module_utils.common.parameters.DEFAULT_TYPE_VALIDATORS

community.network/plugins/modules/network/cnos/cnos_static_route.py
221:            module._check_required_together(required_together, route)  # --> ansible.module_utils.common.validation.check_required_together()
224:        module._check_required_together(required_together, module.params)  # --> ansible.module_utils.common.validation.check_required_together()

community.network/plugins/modules/network/cnos/cnos_logging.py
319:            module._check_required_if(required_if, item)  # --> ansible.module_utils.common.validation.check_required_if()
ISSUE TYPE
COMPONENT NAME

community.network/plugins/modules/network/icx/icx_static_route.py community.network/plugins/modules/network/icx/icx_user.py community.network/plugins/modules/network/cnos/cnos_user.py community.network/plugins/modules/network/cnos/cnos_static_route.py community.network/plugins/modules/network/cnos/cnos_logging.py

ANSIBLE VERSION
2.11
ansibullbot commented 3 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 years ago

cc @Commscope @istaicu @mihaibroc @sushma-alethea click here for bot help

ansibullbot commented 3 years ago

@samdoran, just so you are aware we have a dedicated Working Group for network. You can find other people interested in this in #ansible-network on Freenode IRC For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

ansibullbot commented 2 years ago

cc @RRNegru @mihdm click here for bot help