mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8449: Include zoneid parameter in base library for updateConfiuration method
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com> This closes #234
This commit is contained in:
parent
5af7c352aa
commit
f33f044d19
|
|
@ -3659,12 +3659,15 @@ class Configurations:
|
|||
"""Manage Configuration"""
|
||||
|
||||
@classmethod
|
||||
def update(cls, apiclient, name, value=None):
|
||||
def update(cls, apiclient, name, value=None, zoneid=None):
|
||||
"""Updates the specified configuration"""
|
||||
|
||||
cmd = updateConfiguration.updateConfigurationCmd()
|
||||
cmd.name = name
|
||||
cmd.value = value
|
||||
|
||||
if zoneid:
|
||||
cmd.zoneid = zoneid
|
||||
apiclient.updateConfiguration(cmd)
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in New Issue