]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Make list_networks ipv6 enabled 35890/head
authorMatthew Oliver <moliver@suse.com>
Thu, 2 Jul 2020 08:21:53 +0000 (18:21 +1000)
committerMatthew Oliver <moliver@suse.com>
Fri, 3 Jul 2020 00:13:59 +0000 (10:13 +1000)
commitc64d273084bcd3d43c6b63dc070de3f244f86ca8
treeea0b1fb3f77a6ae5add0e575f9b0896007d704a6
parentfaf701d78700f4737187779fc6bbf5dd3e7567ca
cephadm: Make list_networks ipv6 enabled

Currently the list_network command and methods in cephadm only run and
parse ipv4 output from `ip route`.

This patch extends the list_network command and internal methods to be
ipv6 enabled. It now also checks `ip -6 route` and `ip -6 addr` to
gather gather all networks from both protocol families.

Signed-off-by: Matthew Oliver <moliver@suse.com>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py