Hugh Saunders 41778e3bf3 Fix NoneType with no subnet allocation ranges
When creating a subnet, we retrieve the allocation_ranges from the
variables dict with a default value of "". This should then be fine for
various string operations. The problems is that ansible defaults
varialbes that aren't supplied to None. This means they are present in
the variables dict so don't get the default value of "".

To fix this the code that parses allocation_ranges is wrapped in an
additional conditional.

Change-Id: Ie0310c3da050336ed9b5f5d8fc02e3a4d704491d
2016-04-08 10:58:07 +01:00
..
2016-01-25 18:07:53 -06:00
2016-01-25 18:07:53 -06:00
2016-01-25 18:07:53 -06:00
2016-01-25 18:07:53 -06:00
2016-01-25 18:07:53 -06:00
2016-01-25 18:07:53 -06:00