Re: [Openstack] provision of dynamic flavor

2013-05-14 Thread Michael J Fork
Openstack openstack-bounces+mjfork=us.ibm@lists.launchpad.net wrote
on 05/08/2013 06:29:02 AM:

 From: Pratik Gadiya pratik_gad...@persistent.co.in
 To: openstack@lists.launchpad.net openstack@lists.launchpad.net,
 Date: 05/08/2013 06:30 AM
 Subject: [Openstack] provision of dynamic flavor
 Sent by: Openstack openstack-bounces
+mjfork=us.ibm@lists.launchpad.net

 Hi All,

 I want to provide dynamic flavors to user according to his/her
 specification by modifying the API’s.
 Let me know in detail where I need to make code changes in order to
 achieve this.

Not sure exactly what function you are looking for, but this here is a
blueprint under consideration for Havana that may fit your needs:
https://blueprints.launchpad.net/nova/+spec/no-flavors

Michael

-
Michael Fork
Architect, OpenStack Development
IBM Systems  Technology Group___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] provision of dynamic flavor

2013-05-08 Thread Pratik Gadiya
Hi All,



I want to provide dynamic flavors to user according to his/her specification by 
modifying the API's.

Let me know in detail where I need to make code changes in order to achieve 
this.



Regards,

Pratik G




DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] provision of dynamic flavor

2013-05-08 Thread Eric_E_Smith
I don't think any code changes are necessary - I believe the configurations you 
need are in /etc/nova/policy.json which controls the roles that can access 
certain functionality.  compute_extension:flavormanage controls who can 
manage flavors.  I believe there are further flavor controls within the 
policy.json, however I'm not extremely familiar with them and what they allow / 
disallow.

The nova client has the ability to apply all the CRUD functions to flavors.

Eric
http://four-eyes.net

From: Openstack 
[mailto:openstack-bounces+eric_e_smith=dell@lists.launchpad.net] On Behalf 
Of Pratik Gadiya
Sent: Wednesday, May 08, 2013 5:29 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] provision of dynamic flavor


Hi All,



I want to provide dynamic flavors to user according to his/her specification by 
modifying the API's.

Let me know in detail where I need to make code changes in order to achieve 
this.



Regards,

Pratik G




DISCLAIMER == This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp