• Y
    storage: escape ipv6 for ceph mon hosts to librados · cdd362e0
    Yi Li 提交于
    Hosts for rbd are ceph monitor daemons. These have fixed IP addresses,
    so they are often referenced by IP rather than hostname for
    convenience, or to avoid relying on DNS. Using IPv4 addresses as the
    host name works already, but IPv6 addresses require rbd-specific
    escaping because the colon is used as an option separator in the
    string passed to librados.
    
    Escape these colons, and enclose the IPv6 address in square brackets
    so it is distinguished from the port, which is currently mandatory.
    Signed-off-by: NYi Li <yili@winhong.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    Signed-off-by: NJán Tomko <jtomko@redhat.com>
    cdd362e0
pool-rbd-ipv6.xml 389 字节