Simplify the way drivers report support for ipv6

Driver shouldn't have to report support for ipv6 in two
places. Drivers that assert ipv6_implemented=True just
need to implement get_configured_ip_versions. Likewise
ipv4 support is computed by the same method.

Closes-bug: #1734127

Change-Id: I382767918a65b91e99ac1e604304ad01fac332e6
This commit is contained in:
Ben Swartzlander
2017-11-30 11:01:44 -05:00
parent e741319d57
commit 42db1e34a7
11 changed files with 106 additions and 118 deletions

View File

@@ -0,0 +1,4 @@
---
fixes:
- Fixed logic in driver base class that determines whether
IPv6 is supported at runtime.