]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Fix ipv6 network regex to support routes with expiry
authorMatthew Oliver <moliver@suse.com>
Thu, 16 Jul 2020 06:38:29 +0000 (06:38 +0000)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 23 Jul 2020 13:20:10 +0000 (15:20 +0200)
commit150bb2ea2694cc6b16395ea9e522dfefd93e548c
tree477c950ea50ed56f5a09aa7412ae4244c17a0c54
parenta1707b7f8e72e45bb5fafa3239081a209664b17b
cephadm: Fix ipv6 network regex to support routes with expiry

The regex I previously added didn't take into account ipv6 networks that
had an expiry, this patch updates the regex and includes an ipv6 route
version in the test.

Signed-off-by: Matthew Oliver <moliver@suse.com>
(cherry picked from commit f4a986cbffccbf00b499d2d0546ac4623c12ddad)
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py