commit | 84af48c0f095b515a1f7bceb68a2991deff7c85d | [log] [tgz] |
---|---|---|
author | Carlos Goncalves <cgoncalves@redhat.com> | Thu Jul 25 15:51:30 2019 +0200 |
committer | Carlos Goncalves <cgoncalves@redhat.com> | Thu Jul 25 19:18:49 2019 +0200 |
tree | 0b9987ce0f641845c5697d4b4ac22a6819a1929d | |
parent | b6fb3d1993033aba38bb090cf82445d561b1d1cc [diff] |
Fix VIP IPv6 subnet discovery order Code was assuming the subnet existed already and only after creating one if not. On environments where the subnet does not exist, it raises an IndexError exception as there are no elements in priv_ipv6_subnet. This patch fixes the order of the code to first create the subnet if ones does not exist yet. Story: 2006280 Task: 35982 Change-Id: I9fa9d7e16f32f516592bf155045d4f4e6a15ed6c