A string representation of the interface with the mask in prefix notation.
>>> interface = IPv4Interface('192.0.2.5/24') >>> interface.with_prefixlen '192.0.2.5/24'
ipaddress/IPv4Interface.with_prefixlen
IPv4Interface.with_prefixlen