Re: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Abhinandan Prateek
---Original Message- >From: Abhinandan Prateek [mailto:cloudst...@aprateek.com] >Sent: Tuesday, April 16, 2013 3:17 PM >To: dev@cloudstack.apache.org >Subject: Re: [DISCUSS] Granular Global Parameters > >On 16/04/13 12:14 PM, "Nitin Mehta" wrote: > >>Also as Mice asked

RE: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Mice Xia
ssage- From: Abhinandan Prateek [mailto:cloudst...@aprateek.com] Sent: Tuesday, April 16, 2013 3:17 PM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 16/04/13 12:14 PM, "Nitin Mehta" wrote: >Also as Mice asked do we plan to restart MS to update sa

Re: [DISCUSS] Granular Global Parameters

2013-04-16 Thread Abhinandan Prateek
On 16/04/13 12:14 PM, "Nitin Mehta" wrote: >Also as Mice asked do we plan to restart MS to update say config changes >we make at zone/cluster level ? That is how things are currently handled in MS. You need to restart MS after any config change. >For now I would suggest to stop using the class

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Nitin Mehta
Also as Mice asked do we plan to restart MS to update say config changes we make at zone/cluster level ? For now I would suggest to stop using the class variables (which get loaded during the class initiation time) and introduce a generic interface with methods (input as name and scope id) to retri

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Chip Childers
On Thu, Apr 11, 2013 at 03:36:59AM +, Abhinandan Prateek wrote: > > > On 10/04/13 6:30 PM, "David Nalley" wrote: > > >On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala > > wrote: > >> Hi all, > >> > >> There are many global parameters which are used to set > >>values/limits/boolean for v

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Harikrishna Patnala
Yes Abhi I agree with you, this approach will eliminate the usage of multiple APIs. We can specify scope for each configuration parameter both in config.java file and configuration table. We will not set the default values during the creation of resource (Zone/cluster/pool/account). Whenever w

Re: [DISCUSS] Granular Global Parameters

2013-04-15 Thread Abhinandan Prateek
For Granular params, I am proposing that we use updateConfiguration command with two additional parameters i.e. scope_type and scope_id. Where scope_type can be zone, account, cluster or pool and scope_id will be the corresponding id of that scope. We also similarly overload listConfiguration API

Re: [DISCUSS] Granular Global Parameters

2013-04-13 Thread Abhinandan Prateek
ime ( no need to restart mgmt server)? >>> >>> Regards >>> Mice >>> >>> -Original Message- >>> From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] >>> Sent: Thursday, April 11, 2013 11:37 AM >>> To: dev@c

Re: [DISCUSS] Granular Global Parameters

2013-04-13 Thread Harikrishna Patnala
hinandan.prat...@citrix.com] >> Sent: Thursday, April 11, 2013 11:37 AM >> To: dev@cloudstack.apache.org >> Subject: Re: [DISCUSS] Granular Global Parameters >> >> >> >> On 10/04/13 6:30 PM, "David Nalley" wrote: >> >>> On Wed,

Re: [DISCUSS] Granular Global Parameters

2013-04-10 Thread Nitin Mehta
bal >config at runtime ( no need to restart mgmt server)? > >Regards >Mice > >-Original Message- >From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] >Sent: Thursday, April 11, 2013 11:37 AM >To: dev@cloudstack.apache.org >Subject: Re: [DISCUSS] G

RE: [DISCUSS] Granular Global Parameters

2013-04-10 Thread Mice Xia
to restart mgmt server)? Regards Mice -Original Message- From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] Sent: Thursday, April 11, 2013 11:37 AM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Granular Global Parameters On 10/04/13 6:30 PM, "David Nalley&qu

Re: [DISCUSS] Granular Global Parameters

2013-04-10 Thread Abhinandan Prateek
On 10/04/13 6:30 PM, "David Nalley" wrote: >On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala > wrote: >> Hi all, >> >> There are many global parameters which are used to set >>values/limits/boolean for various operations, but these parameters >>effects all zones/clusters/accounts/storage ba

Re: [DISCUSS] Granular Global Parameters

2013-04-10 Thread David Nalley
On Wed, Apr 10, 2013 at 7:08 AM, Harikrishna Patnala wrote: > Hi all, > > There are many global parameters which are used to set values/limits/boolean > for various operations, but these parameters effects all > zones/clusters/accounts/storage based on the parameter. > Here I would like to discu