Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

RFE: IP address #2

Closed
roidelapluie opened this issue Apr 19, 2016 · 7 comments
Closed

RFE: IP address #2

roidelapluie opened this issue Apr 19, 2016 · 7 comments
Labels
enhancement New feature or request

Comments

@roidelapluie
Copy link
Member

type ipv4address
type ipv6address
type ipaddress = Variant[ipv4address,ipv6address]

@igalic
Copy link
Contributor

igalic commented Apr 21, 2016

i imagine we can very easily implement ipv4address with a Pattern.
I have no idea how to implement IPv6 addresses though…

@roidelapluie
Copy link
Member Author

A Freaking Regex :-)

@danzilio
Copy link
Member

We may need to call in an expert...

@roidelapluie
Copy link
Member Author

@danzilio
Copy link
Member

I believe that regex is banned under the Geneva Conventions as cruel and unusual punishment

b4ldr added a commit to icann-dns/puppet-tea that referenced this issue Oct 10, 2016
# This is the 1st commit message:

add more types and corrosponding spec tests

# This is the commit message voxpupuli#2:

correct travis
@ekohl
Copy link
Member

ekohl commented Nov 25, 2020

Stdlib has IP types now.

@ekohl ekohl closed this as completed Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants