--vlan is not the same as --vlan_start
the lib/puppet/provider/nova_network/nova_manage.rb provider was using the --vlan option when it meant --vlan_start. This caused "network create" commands with num_networks > 1 to fail with "duplicate vlan" errors. Change-Id: Ibdca3b8de72b459eacf8b44b6350b9bc71310c1b Closes-bug: #1362772
This commit is contained in:
@@ -30,7 +30,7 @@ Puppet::Type.type(:nova_network).provide(:nova_manage) do
|
||||
:dns2 => '--dns2',
|
||||
:gateway => '--gateway',
|
||||
:bridge => '--bridge',
|
||||
:vlan_start => '--vlan'
|
||||
:vlan_start => '--vlan_start'
|
||||
}.each do |param, opt|
|
||||
if resource[param]
|
||||
optional_opts.push(opt).push(resource[param])
|
||||
|
Reference in New Issue
Block a user