We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the variable type accepted by the cisco.ios.ios_acls module: All port protocols type are str, except for range, which is int.
"port_protocol": { "options": { "eq": {"type": "str"}, "gt": {"type": "str"}, "lt": {"type": "str"}, "neq": {"type": "str"}, "range": { "options": { "end": {"type": "int"}, "start": {"type": "int"}, }, "type": "dict", }, }, "type": "dict", }
cisco.ios.ios_acls https://github.com/ansible-collections/cisco.ios/blob/main/plugins/module_utils/network/ios/argspec/acls/acls.py
This change would solve a problem when gathering the ACLs from devices. as ranges with string are accepted on cisco ios:
Switch(config)#ip access-list extended fmc-test Switch(config-ext-nacl)#permit udp any range ? <0-65535> Port number biff Biff (mail notification, comsat, 512) bootpc Bootstrap Protocol (BOOTP) client (68) bootps Bootstrap Protocol (BOOTP) server (67) discard Discard (9) dnsix DNSIX security protocol auditing (195) domain Domain Name Service (DNS, 53) echo Echo (7) . . .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SUMMARY
Change the variable type accepted by the cisco.ios.ios_acls module:
All port protocols type are str, except for range, which is int.
ISSUE TYPE
COMPONENT NAME
cisco.ios.ios_acls
https://github.com/ansible-collections/cisco.ios/blob/main/plugins/module_utils/network/ios/argspec/acls/acls.py
ADDITIONAL INFORMATION
This change would solve a problem when gathering the ACLs from devices. as ranges with string are accepted on cisco ios:
The text was updated successfully, but these errors were encountered: