neutron_router: Prohibit updating project_id/name
We already prohibit updating tenant_id and tenant_name. Because the provider does not have logic to handle the update, we should also prohibit updating these properties. Change-Id: Iabab109d21cd0a09a75e1fd06740f7360723af48
This commit is contained in:
parent
6798f5a0f8
commit
dae8ec409c
@ -215,6 +215,8 @@ Puppet::Type.type(:neutron_router).provide(
|
||||
:availability_zone_hint,
|
||||
:tenant_id,
|
||||
:tenant_name,
|
||||
:project_id,
|
||||
:project_name
|
||||
].each do |attr|
|
||||
define_method(attr.to_s + "=") do |value|
|
||||
fail("Property #{attr.to_s} does not support being updated")
|
||||
|
Loading…
Reference in New Issue
Block a user