You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the subjectAltName extension contains an iPAddress, the address MUST be stored in the octet string in "network byte order", as specified in [RFC791]. The least significant bit (LSB) of each octet is the LSB of the corresponding byte in the network address. For IP version 4, as specified in [RFC791], the octet string MUST contain exactly four octets. For IP version 6, as specified in [RFC2460], the octet string MUST contain exactly sixteen octets.
IPv6 addresses must be in the form x:x:x:x:x:x:x:x, exactly 8 groups of one to four hexadecimal digits separated by colons. The compressed zero form using "::" is not accepted.
In general, for processing ipv6 addresses in different forms with other filters. In particular, x509 notation filter for ipv6 will be used for self-signed certificates. Getting expanded ipv6 using regular expressions is a very complicated and unreliable way.
v8.4.0
Major Changes
-------------
fortinet.fortios
- Improve the document for adding notes and examples in Q&A for modules using Integer number as the mkey.
Minor Changes
-------------
amazon.aws
- cloudformation - Add support for ``disable_rollback`` to update stack operation (ansible-collections/amazon.aws#1681).
- ec2_key - add support for new parameter ``file_name`` to save private key in when new key is created by AWS. When this option is provided the generated private key will be removed from the module return (ansible-collections/amazon.aws#1704).
ansible.netcommon
- Add a new cliconf plugin ``default`` that can be used when no cliconf plugin is found for a given network_os. This plugin only supports ``get()``. (ansible-collections/ansible.netcommon#569)
- httpapi - Add additional option ``ca_path``, ``client_cert``, ``client_key``, and ``http_agent`` that are available in open_url but not to httpapi. (ansible-collections/ansible.netcommon#528)
- telnet - add crlf option to send CRLF instead of just LF (ansible-collections/ansible.netcommon#440).
ansible.utils
- Add ipcut filter plugin.(ansible-collections/ansible.utils#251)
- Add ipv6form filter plugin.(ansible-collections/ansible.utils#230)
arista.eos
- Add support for overridden operation in bgp_global resource module.
SUMMARY
I was surprised that there is no filter for getting expanded ipv6 addresses in
ansible.utils
collection.I would like to get something as:
And for ipv6 addresses compression:
Also I think it would be great to have filter that converts ipv6 address to x509 notation:
RFC5820
X.509 Extensions Parameter
ISSUE TYPE
COMPONENT NAME
I think it would be like
ansible.utils.ip4_hex
filter oransible.utils.ipwrap
wrapper.It can be also implemented as separate module, e.g.
ansible.utils.ip6_form
:ADDITIONAL INFORMATION
In general, for processing ipv6 addresses in different forms with other filters. In particular, x509 notation filter for ipv6 will be used for self-signed certificates. Getting expanded ipv6 using regular expressions is a very complicated and unreliable way.
Example of using:
The text was updated successfully, but these errors were encountered: