You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Charles Allen <ch...@metamarkets.com> on 2015/11/19 21:58:46 UTC

ipv6 resource or attributes

>From just a cursory glance at
http://mesos.apache.org/documentation/attributes-resources/ I'm curious if
ipv6 addresses can be used as a text resource or attribute.

I have not experimented with this at all yet, and was wondering if such use
cases are intended to be supported.

It seems that it might be possible to use an ipv4 address as the text of a
set attribute

some_key:{127.0.0.1}

but not as a distinct text resource or attribute

some_key:127.0.0.1

as that would collide with the float specification in a strict
interpretation

But it seems that an ipv6 address like 2001:db8::ff00:42:8329  wold cause
problems both as a distinct text attirbute/resource

some_key:2001:db8::ff00:42:8329

or as part of a set

some_key:{2001:db8::ff00:42:8329}

because `:' is not listed among the allowed characters for text.

Is this correct reading of the attributes and resources specification?

Thanks,
Charles Allen