]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
net: Return both IPv4 and IPv6 addresses 463/head
authorWido den Hollander <wido@42on.com>
Mon, 29 Jan 2018 14:30:20 +0000 (15:30 +0100)
committerWido den Hollander <wido@42on.com>
Mon, 29 Jan 2018 14:30:20 +0000 (15:30 +0100)
commit330ba94e4ddc884383d33efac240ba7bf4f18440
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