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:
Gaurav Aradhye 2015-05-07 12:26:06 +05:30
parent 5af7c352aa
commit f33f044d19
1 changed files with 4 additions and 1 deletions

View File

@ -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