]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
net: Return both IPv4 and IPv6 addresses wip-cd-ipv6
authorWido den Hollander <wido@42on.com>
Mon, 29 Jan 2018 14:30:20 +0000 (15:30 +0100)
committerVasu Kulkarni <vasu@redhat.com>
Tue, 30 Jan 2018 20:28:58 +0000 (12:28 -0800)
commitcf23b868988ff634a5de2471886781494e8582ef
tree3a408a23e06e5e7f9828c6676fcd2272f27ff2d0
parentfcffbc41f75e0cdcea07788de00761d0ea28250c
net: Return both IPv4 and IPv6 addresses

When using ceph-deploy it will now also show the IPv6 addresses
it found for a node:

  IP addresses found: [u'192.168.153.10', u'2001:db8::100', u'10.0.2.15']

The resulting ceph.conf will use IPv6 addresses for the Monitors:

  ms_bind_ipv6 = true
  mon_host = [2001:db8::100],[2001:db8::101],[2001:db8::102]

Signed-off-by: Wido den Hollander <wido@42on.com>
ceph_deploy/util/net.py