Fix wrong option to define provider segmentation id
Fix the regression introduced by migration from neutron CLI to openstack CLI. Closes-Bug: #2072332 Change-Id: Id719358010f6400c010f5aaca834d0a5ed46b871
This commit is contained in:
parent
ebd50d6444
commit
035ecbaa3e
@ -97,7 +97,7 @@ Puppet::Type.type(:neutron_network).provide(
|
||||
|
||||
if @resource[:provider_segmentation_id]
|
||||
opts << \
|
||||
"--provider-segmentation-id=#{@resource[:provider_segmentation_id]}"
|
||||
"--provider-segment=#{@resource[:provider_segmentation_id]}"
|
||||
end
|
||||
|
||||
if @resource[:router_external] == 'True'
|
||||
|
@ -153,7 +153,7 @@ mtu="1500"')
|
||||
.with('network', 'create', '--format', 'shell',
|
||||
['net1', '--provider-network-type=vlan',
|
||||
'--provider-physical-network=datacentre',
|
||||
'--provider-segmentation-id=10'])
|
||||
'--provider-segment=10'])
|
||||
.and_return('admin_state_up="True"
|
||||
availability_zone_hints="[]"
|
||||
id="076520cc-b783-4cf5-a4a9-4cb5a5e93a9b"
|
||||
|
Loading…
Reference in New Issue
Block a user