default_dns from config was never used

NeutronNetwork class was comparing $.dnsNameservers to
null and only then using config parameters. However property
with list contract cannot be null as null (or missing) value will be
converted to empty list

Change-Id: Icc920e8979005446faf5c69eb9f22a1e8b7f054e
Closes-Bug: #1483428
This commit is contained in:
Stan Lagun 2015-08-11 01:49:16 +03:00
parent 3689366f0e
commit 9026a8ff82

View File

@ -48,7 +48,7 @@ Methods:
Body:
- If: not $.getAttr(deployed, false)
Then:
- If: $.dnsNameservers = null
- If: len($.dnsNameservers) = 0
Then:
- $.dnsNameservers: $._netExplorer.getDefaultDns()
- $template: $._createNetwork()